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

Notifications api - event endpoint returns 502 Bad Gateway on stage

    XMLWordPrintable

Details

    • False
    • False
    • Unset

    Description

      Tried to use the following url to get events on stage:
      https://console.stage.redhat.com/api/notifications/v1.0/event?appIds=143a8423-2720-4442-94ba-8f18bf0dc60a&bundleIds=35fd787b-a345-4fe8-a135-7773de15905e&limit=10&offset=0

      which specify events from policies (appID) and rhel (bundleID).
      and:

      https://console.stage.redhat.com/api/notifications/v1.0/event

      Both ended up with the same response:
      <html>

      <head>
      <title>502 Bad Gateway</title>
      </head>

      <body>
      <center>
      <h1>502 Bad Gateway</h1>
      </center>
      <hr>
      <center>openresty</center>
      </body>

      </html>
       

      Also, as a side note:
      It seems this endpoint is the only endpoint that doesn't have notifications as prefix (see attached the spec file), not sure this is correct.
      the endpoint should be: /api/notifications/v1.0/notifications/event
      **

      Side note 2: if this endpoint returns a list of events why not use the plural word "events" and not "event" like it is right now?

      Attachments

        Activity

          People

            glepage@redhat.com Gwenneg Lepage
            ylahav Yuval Lahav
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: