Uploaded image for project: 'Periscope'
  1. Periscope
  2. MGNLPER-30

Lifecycle hooks for suppliers to handle resources correctly

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Minor Minor
    • 1.1
    • None
    • None

      {{SearchResultSupplier}}s can have external resources like rest connections or executors/queues etc. Those should not be created in the constructor and should be shutdown and/or stop correctly as well.

      The SearchResultSupplier should provide hooks for those lifecycle events do manage resources correctly.

      Additionally external resources, especially when the network is involved, can become unavailable for a short period of time or be not available at startup. Suppliers should deal with those scenarios gracefully and should certainly not require a restart.

        Acceptance criteria

              Unassigned Unassigned
              mmuehlebach Michael Mühlebach
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR