This Axway API-Builder project is exposing the API-Gateway Traffic-Monitor API based on an Elasticsearch cluster to improve query performance on large datasets.
For more information on using API Builder please see the API Builder Getting Started Guide.
The Axway API-Gateway Traffic-Monitor is normally communicating with the REST-API exposed the Admin-Node-Manager, which is using as a ultimate backbone the integrated OPSDB running on each API-Gateway instance. This API-Builder project is exposing a few methods (for instance the search request) of the same API, but implements it using the Elasticsearch cluster. It becomes basically a middleware or mediation layer between the requesting client and Elasticsearch.
To implement the required API an API-First approach has been used:
- Defined the subset of API-methods that are needed
- Imported the API-Definition into the API-Builder project
- Imported the Elasticsearch connector into the API-Builder project
- Created a flow
- that handles all filter parameters
- Query Elasticsearch
- Format and return the response in the way it is expected
Documenting this API-Builder project is still in progress