Control Tower microservice utility for Nodejs applications
Library to register and integrate microservice in the Control Tower API gateway. This library implement the /info
and /ping
endpoints that Control Tower uses to obtain info of the registered microservices and check live.
Supports Koa 2.x and 1.x frameworks.
Install
npm install --save ct-register-microservice-node
Use in microservice
In the listen
callback of your Koa application, add the following code snippet:
const promise = ; p;
TODO
- Properly document config options