Create example middle layer service. The service should serve as a proxy for the OpenSearch API. The service should accept query requests from clients, receive the query responses from OpenSearch, and cache the data, and remove specific data from the query responses prior to returning the response to the client.
When the event is sent to OpenSearch, it should traverse the middle layer service and be enriched with the cached data.
Create example middle layer service. The service should serve as a proxy for the OpenSearch API. The service should accept query requests from clients, receive the query responses from OpenSearch, and cache the data, and remove specific data from the query responses prior to returning the response to the client.
When the event is sent to OpenSearch, it should traverse the middle layer service and be enriched with the cached data.