Following are the IHub Queue channels:
URL : http://<host-name>:<port>/api/smartops/ihub/channel
Request Method: POST
Headers:
Request Body:
{ |
SOURCE PREDICATES
This mapping defines the logic to identify the source of the incoming json. iHub expects that there will be unique field/fields in incoming json which will try to identify the source of the incoming input.
These fields and the expected value for these fields should be configured in source predicate array while defining the channel.
For example, if there is an entry “source”:”prognosis” from the incoming input json of prognosis system source predicate
should be given like the below.
"sourcePredicates": [ |
As an another example if a combination of field values decides the source it can be given as multiple mappings.
"sourcePredicates": [ |
The added channels for an organization can be viewed using Channel GET API. The details are given below.
URL : http://<host-name>:<port>/api/smartops/ihub/channel/all
Request Method: GET
Headers:
Organization-key
The installation engineer can update the channel details using update API. The API details are given below.
URL :- http://<host-name>:<port>/api/smartops/ihub/channel
Request Method: PUT
Headers:-
Organization-key
Request
Body:
{ |
A channel can be deleted using channel delete API. The details are given below.
URL : http://<host-name>:<port> /api/smartops/ihub/channel
Request Method: DELETE
Headers:
Organization-key
Request
Body:
{ |