Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13834

Create single REST endpoint for all container events

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • None
    • 14.0.0.Dev02
    • REST
    • None

      The operator currently utilises the /v2/container/config?action=listen endpoint to consume CRUD events for caches and their configuration so that it can update the k8s resources to reflect the server's state. The plan is to add similar logic for Counters, Proto schemas and other container resources.

      Exposing these resources over multiple endpoints that the Operator implementation must create multiple streams to consume, using a go routine per stream.

      Exposing all events via a single endpoint will greatly simplify the logic required in the Operator as well as improving the user-experience for Infinispan users.

      We could expose this via /v2/container?action=listen. With the stream providing events for resource, config and lifecycle updates e.g. StateTransfer/Rebalancing completion.

            rh-ee-jbolina Jose Bolina
            remerson@redhat.com Ryan Emerson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: