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

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

XMLWordPrintable

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

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      This is a clone of issue OCPBUGS-41946. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-41886. The following is the description of the original issue:

      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
              openshift-crt-jira-prow OpenShift Prow Bot
              Bonnie Block Bonnie Block
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: