Middleware
Introduction
The SOAJS Middleware allows you to modernize existing API and benefit from the features that SOAJS offers without changing your code.
SOAJS provides tons of features and functionality related to registry and provisioned information which helps you get rid of static and hardcoded configuration in your code.
SOAJS also help you avoid redeploying your API whenever there is a change in either the registry of the environment your API is deployed in or the provisioned configuration that gets retrieved when requests are made to your API.
Simply install and instruct your microservice to use the SOAJS Middleware and deploy/start the SOAJS API Gateway before it.
Concept & Architecture
The following diagram provides an architecture overview on how requests made to your API are treated and the flow they undergo before they reach your API business logic:
By the time the requests arrives to your business logic, all information related to the environment where your API is deployed along with information about who is calling your API has been retrieved by the SOAJS API Gateway.
The SOAJS Gateway then forwarded this information to your micro service and because it uses the SOAJS middleware, the middleware extracted this information and handed them over to your code.
This flow demonstrates how SOAJS took care of providing all configuration information to your business logic and helped you get rid of hard coded configuration as well as avoid updating your code whenever there is a change in the configuration.
Benefits & Features
Multi Security
No coding effort needed to secure your api, simply deploy your API behind the SOAJS API Gateway and automatically benefit from the multi security validation system & the Productization that it offers.
Multi Tenancy
Transform your API to become Multi Tenant and benefit from code reusability among multiple clients with no coding effort needed.
Throttling
Deploy your API and configure the SOAJS API Gateway to handle traffic throttling per Tenant !
Traffic Access Control & Priority
Deploy your API and configure the SOAJS API Gateway to handle access and traffic priority per tenant to your API !
No More Downtime
Avoid restarting or redeploying your API whenever you change your configuration, SOAJS API Gateway will forward to you the latest updated Registry Information that your code needs to reach out and communicate with databases and resources.
Search