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

Provide a common interface to kessel-inventory and kessel-relations data

XMLWordPrintable

    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • None

      First, I'll illustrate this request with a sample workflow.

      For HBI/Kessel Phase 1, HBI hosts will be replicated to Kessel.  So, a common workflow for HBI tests might be:

      1. Create/update a host in HBI via Ingress upload or some other means
      2. Query HBI for this host and validate response
      3. Query Kessel for this host
      4. Verify the host exists in Kessel and that the host data is correct

      Other services might have similar needs – retrieving Kessel data.  Thus, it would be good to have a common interface to Kessel data that other IQE plugins could use.

      I know there are iqe-kessel-inventory and iqe-relations plugins.  I believe these plugins test the respective Kessel apis.  As part of this, I think they use gRPC and I'm guessing some client/server setup is needed.

      Ideally, either one of the plugins above or some other plugin could provide a higher-level interface to Kessel data so other service plugins don't have to concern themselves with gRPC protocol and Kessel api specifics.

      From my example above, perhaps I would call some Kessel interface method, passing an HBI host id or a workspace id / host name combo – essentially whatever uniquely identifies a Kessel resource – and the method would return Kessel data.

      Let's discuss.  Thanks!

      cc rh-ee-jarice vbelchio@redhat.com 

              rh-ee-jarice Jason Rice
              msager@redhat.com Michael Sager
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: