Each organization should have one queue configured as ihub inbound queue where in all the alert messages from external alert tools will be pushed. Installation engineer will be responsible for mapping the organization to corresponding queue.
This API will create the queue and its associated exchange in RabbitMQ and will map that queue to the corresponding organization. The API details are given below.
URL: http://<host-name>:<port>/api/smartops/ihub/ihubqueue/create
Request Method: POST
Headers:
Organization-key
Request Body:-
Example:
{
|
The installation engineer can view the queue mapping details using GET API.
URL : http://<host-name>:<port>/api/smartops/ihub/ihubqueue/queue
Request Method:- GET
Headers:
Organization-key
The installation engineer can delete this mapping using delete API
URL: http://<host-name>:<port>/api/smartops/ihub/ihubqueue/delete
Request Method: DELETE
Headers:-
Organization-key
Request
Body:-
Example:
{ |
Related Topics: