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

Support patch method for inventory-api

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • CRCPLAN-284 - Kessel Inventory | Resource Collection & Sharing
    • None
    • Major

      Right now, the inventory-api support PUT method. A Put request is used to update an entire resource on the server. for example: I call a Post request to create a new resource with console_href and api_href in reporter_data. Next time, when I call a Put method, the console_href and api_href will be replaced with empty since I do not set those value because those 2 attributes are optional.

      My expected behaviour is in this case, I should call Patch method instead of Put.

              anatale.openshift Antony Natale
              clyang82 Chunlin Yang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: