Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-19906

[Playbook Dispatcher] Create Connector for Host Inventory API

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • None
    • Platform Pipeline Sprint 43, Platform Pipeline Sprint 47, Platform Pipeline Sprint 48, Platform Pipeline Sprint 49, Platform Pipeline Sprint 50, Platform Pipeline Sprint 51

      In order to implement the High level Playbook Dispatcher API feature, the dispatcher must first have the capability to call the Host Inventory API to gather important recipient information.

      For the purpose of the High Level API we should be able to communicate with these host-inventory endpoints:

      1.  /inventory/v1/hosts
      2. /inventory/v1/hosts/<host_ids>/system_profile

      With these two endpoints we should be able grab all the information needed for the dispatching of playbooks for Direct Connected systems and Satellite RHC systems.

      EXAMPLES:  Should you want to take a look at and example connector for the host-inventory API take a look at Remediations:
      https://github.com/RedHatInsights/insights-remediations/blob/master/src/connectors/inventory/impl.js

              alcohan-fifi Alec Cohan
              alcohan-fifi Alec Cohan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: