Uploaded image for project: 'StreamPipes'
  1. StreamPipes
  2. STREAMPIPES-81

Extend wrapper interfaces

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • post-1.0
    • Backend, Pipeline Elements
    • None

    Description

      Currently, pipeline elements implement an interface that provides the three methods onInvocation, onEvent and onDetach.

      In future enhancements, we plan to introduce features that require actions at pipeline creation time, e.g., to create a virtual data stream once a pipeline is stored. To avoid installing/deinstalling such a stream at every start/stop of a pipeline, the wrapper interfaces should be extended/refactored as follows:

      • Add an onPipelineStored method to the pipeline element definition
      • Add an onPipelineDeleted method to the pipeline element definition
      • Rename onInvocation to onPipelineStarted and onDetach to onPipelineStopped for clarifying the scope of the provided methods
      • Ensure backwards compatibility by introducing API versioning for pipeline element endpoints
      • Extend the endpoints to handle onPipelineStored/Delete calls, HTTP Post/Delete for Store/Delete and HTTP PUT for Start/Stop

      Attachments

        Activity

          People

            Unassigned Unassigned
            riemer Dominik Riemer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: