You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampipes.apache.org by "Tim Bossenmaier (Jira)" <ji...@apache.org> on 2022/11/01 06:35:00 UTC

[jira] [Updated] (STREAMPIPES-81) Extend wrapper interfaces

     [ https://issues.apache.org/jira/browse/STREAMPIPES-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Bossenmaier updated STREAMPIPES-81:
---------------------------------------
    Labels:   (was: suggestion-postpone)

> Extend wrapper interfaces
> -------------------------
>
>                 Key: STREAMPIPES-81
>                 URL: https://issues.apache.org/jira/browse/STREAMPIPES-81
>             Project: StreamPipes
>          Issue Type: Improvement
>          Components: Backend, Pipeline Elements
>            Reporter: Dominik Riemer
>            Priority: Major
>             Fix For: post-1.0
>
>
> 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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)