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

Kessel API should provide payload factory writing to Outbox table

XMLWordPrintable

      Kessel API should provide api to create payloads for writing to table.  The API should input about a resource and return a payload that the user can write to its Outbox table. This way Kessel can control and always get a known consistent payload. 

      For host-inventory to provide a valid payload for Outbox entries, I had to create the schema myself. I am sure someone else will write her schema different than what I have, which can lead to problems and waste of time.

      Here is what HBI had to do
      https://github.com/RedHatInsights/insights-host-inventory/blob/aa8e680084e711f671dbee26127cc855155d8f7e/app/models/schemas.py#L373-L472

              Unassigned Unassigned
              theaarif Muhammad Arif
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: