Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-4613

Decouple event display from websocket logic for reuse

XMLWordPrintable

    • Icon: Spike Spike
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • None
    • None

      This is needed for the ACM/CNV integration. We want to use ResourceEventStream in the integration, but needs it work with the ACM cluster proxy to show events for VMs from other clusters. Today the component both renders the events and handles the websocket (presumably to allow pausing the stream?). We should break this into reusable components to render events that were fetched another way.

      Additionally, the EventStream component doesn't list the event resources before opening the websocket. This is inefficient. We should really list and then starting watching from the resource version. It also duplicates our standard resource watch code. It would be better to use the standard watch hook to get the events.

      AC: Determine changes necessary for delivering this requirement. Communicate with mschatzm@redhat.com and rh-ee-kcormier the required behaviour and create a follow up story based on them.

      cc jhadvig@redhat.com vszocs@redhat.com mschatzm@redhat.com amobrem

              Unassigned Unassigned
              spadgett@redhat.com Samuel Padgett
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: