IHub Inbound Queue

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.

Create iHub Inbound queueCreate iHub Inbound 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:

{
    "queueName": "ihub.inbound.queue",
    "host": "smartops-rabbit",
    "port": "5672",
    "userName": "admin",
    "password": "admin",
    "exchangeName": "ihub.exchange",
    "routingKey": "ihub-inbound"
}

 

View IHub Inbound queueView IHub Inbound queue

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

Delete iHub inbound queueDelete iHub inbound queue

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:

{
    "queueName": "ihub.inbound.queue",
    "host": "smartops-rabbit",
    "port": "5672",
    "userName": "admin",
    "password": "admin",
    "exchangeName": "ihub.exchange",
    "routingKey": "ihub-inbound"
}




Related Topics:

Feedback

Copyright © 2021 UST Global. All Rights Reserved.