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

CNA asset POST/PATCH endpoint payload validation

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • OpsDev - Fridge

      Each CNA module defines a schema of accepted input variables, their types and if they are optional or mandatory. Right now the /cnas API endpoint accepts payloads with variables not mentioned in the schema. The API endpoint also accepts missing mandatory variables right now, which would result in failing asset provisioning.

      The CNA API should validate the payload on asset creation or update towards the schema defined for a module.

              Unassigned Unassigned
              goberlec@redhat.com Gerd Oberlechner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: