Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-39218

Cloud Event API GET CurrentState has extra '/' in ResourceAddress

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.17
    • Networking / ptp
    • Moderate
    • Yes
    • CNF RAN Sprint 259, CNF RAN Sprint 260
    • 2
    • False
    • Hide

      None

      Show
      None

      Seeing this issue in 4.17:

      {"ResourceAddress":"/cluster/node/cnfdg33.ptp.eng.rdu2.dc.redhat.com//sync/sync-status/sync-state",

      sh-5.1$ curl -X GET http://localhost:8089/api/ocloudNotifications/v1/cnfdg33.ptp.eng.rdu2.dc.redhat.com/sync/sync-status/sync-state/CurrentState
      {"specversion":"0.3","id":"8c9d6ecb-ae9f-4106-82c4-0a778a79838d","source":"/sync/sync-status/sync-state","type":"event.sync.sync-status.synchronization-state-change","subject":"/cluster/node/cnfdg33.ptp.eng.rdu2.dc.redhat.com/sync/sync-status/sync-state","datacontenttype":"application/json","time":"2024-08-28T14:50:57.327585316Z","data":{"version":"1.0","values":[{"ResourceAddress":"/cluster/node/cnfdg33.ptp.eng.rdu2.dc.redhat.com//sync/sync-status/sync-state","data_type":"notification","value_type":"enumeration","value":"FREERUN"}]}} 

            jacding@redhat.com Jack Ding
            jacding@redhat.com Jack Ding
            Bonnie Block Bonnie Block
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: