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

Return 400 responses for IDs < 1

XMLWordPrintable

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

      None

      Show
      None
    • False
    • None
    • Unset
    • None
    • Sources Sprint 45, Sources Sprint 46, Sources Sprint 47, Sources Sprint 48

      Right now if any service hits a "/resource/<id>" with an ID < 1 we don't return a 400 response.

      However, we should consider returning 400s for those requests, since the database's ID columns are all auto incremented, so we will never have an ID < 1.

      Not even in future authentications running with Vault since those will work with UUIDs.

              mbarcina@redhat.com Mikel Barcina
              mbarcina@redhat.com Mikel Barcina
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: