Skip to content

service-broker/service-broker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What Is This?

This is a NodeJS implementation of a Service Broker.

Starting the Service Broker

To start the broker: npm start. To configure the broker: vi .env.

Environment Var Type Default Value Description
LISTENING_PORT Number HTTP/WebSocket listening port
LISTENING_HOST String (Optional) bind address
SSL_PORT Number SSL listening port
SSL_HOST String (Optional) SSL bind address
SSL_CERT String SSL certificate file
SSL_KEY String SSL private key file
ALLOWED_ORIGINS RegExp /./ Allowed CORS origins
TRUST_PROXY ExpressJS trust proxy configuration parameter
PROVIDER_AUTH_TOKEN String (Optional) provider must include matching authToken in advertise request
PROVIDER_KEEP_ALIVE Number 15 seconds WebSocket ping/pong interval
NON_PROVIDER_KEEP_ALIVE Number 15 minutes WebSocket ping/pong interval
RATE_LIMIT Count/Interval (Optional) message rate limit

About

NodeJS service broker reference implementation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published