-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support migration of adapter and pipeline element configurations #2001
Comments
Introduce the ability to migrate existing adapters & PEImportant The current implementation only allows modifications that affect the configuration of This can be split into major parts:
RationaleAs of now, a user cannot simply upgrade to a recent StreamPipes version if this version introduces changes in a pipeline element (adapter, processor, or sink). To create new instances of an affected pipeline element the user needs to update them first via the UI. General ApproachA developer is now enabled to define one or multiple From now on, the migration is fully automatically handled according to the following flow: Update Description for New ElementsFor every migration that is sent from the extensions service to the core, the core does update the description of the corresponding element in the storage (couchDB). This is done by requesting the current configuration from the extensions service and overriding the existing one in the storage. This automatic update of all element descriptions makes the manual update in the UI redundant. Thus we can remove this functionality as an upcoming step. Update Descriptions for Existing ElementsFor every migration that is sent from the extensions service to the core, the core checks if there are any existing elements that are affected by this migration. If so, the migration is requested by the extensions service which then executes the migration on behalf of the core. Important Information
Next stepsThe following steps need to be handled (at least) to fully support migrations at StreamPipes:
|
Body
Currently, no mechanism exists to update the configuration of pipeline elements. For instance, when a new configuration is added to an adapter or data processor, existing processors can stop working since the configuration of installed pipeline elements and pipelines which use these elements is broken.
I will open a discussion for the approach to migrate pipeline elements, this issue collects the subtasks to implement such a concept:
StreamPipes Committer
I acknowledge that I am a maintainer/committer of the Apache StreamPipes project.
The text was updated successfully, but these errors were encountered: