-
Notifications
You must be signed in to change notification settings - Fork 0
Module: api_gateway
API Gateway is a gateway that separates the user interface from other microservices. The purpose of the gate is to validate incoming requests, routing requests to the backend services, and return an appropriate response to the client UI. The service exposes its endpoint to the following services:
- UI component
- DB middleware
- RabbitMQ
The service will be running on port - 5000
Following are the endpoints exposed to
- UI component
Method: GET
Request:
Response: { station_name : [] time:[] property:[] }
Request: { "user_email":"[email protected]" }
Response:
Request:
{ "request_id":"rishabh_request_id", "property":"reflectivity" }
Response:
Request: { "user_email": "Adasdasd", "request_id":"rishabh_request_id_123_12", "property":"reflectivity"
} Response: {
}
Request: {
}
Response: { }
- Queue Worker
Request: { }
Response: {
}