You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampipes.apache.org by GitBox <gi...@apache.org> on 2022/11/26 12:47:15 UTC

[GitHub] [streampipes] dominikriemer opened a new issue, #238: Extend wrapper interfaces

dominikriemer opened a new issue, #238:
URL: https://github.com/apache/streampipes/issues/238

   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
   
   Imported from Jira [STREAMPIPES-81](https://issues.apache.org/jira/browse/STREAMPIPES-81). Original Jira may contain additional context.
   Reported by: riemer.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org