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

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

    [ https://issues.apache.org/jira/browse/STREAMPIPES-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17638919#comment-17638919 ] 

Dominik Riemer commented on STREAMPIPES-81:
-------------------------------------------

This issue has been migrated to https://github.com/apache/streampipes/issues/238

> 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)