Gateway

SOAJS API Gateway is a unique microservice that offers multi tenant authentication and authorization in addition to service discovery and mesh. The gateway handles the external and internal communications as follow:

External request 

All requests goes through the gateway where many things gets checked based on how you configure authentication and authorization as well as many other capabilities. The gateway will augment the request with extremely useful data and proxy the request to your microservice. check out middleware for more information Middleware

Internal request

Internal requests can be configured to go through the gateway and back to the designated microservice where you can whitelist internal communications, check out Configuration. You do not need to worry about awareness among the different microservices. The Gateway takes care of this.  

Internal requests can also be configure to go directly between microservices and take advantage of SOASJ mesh. You do not need to worry about awareness among the different  microservices. The Gateway takes care of this. 

The Gateway versions: