Migrating from WSO2 Stream Processor¶
The WSO2 Integrator: SI performs all functions that are also performed by WSO2 Stream Processor. It also has additional features to trigger integration flows in order to take action in response to results derived after analyzing data.
If you are currently using WSO2 Stream Processor to carry out any streaming integration/stream processing activities and want to carry them out in the WSO2 Integrator: SI, you can migrate your setup as follows:
Preparing to upgrade¶
The following prerequisites should be completed before upgrading.
- Make a backup of the SP 4.4.0 database and copy the
directory in order to backup the product configurations. - Download the WSO2 Integrator: SI from the Enterprise Integrator Home
Migrating Databases¶
To connect the WSO2 Integrator: SI to the same databases as WSO2 SP 4.4.0 so that the persisted data can be accessed, configure the data sources as follows:
- Configure the data sources in the
<SI_HOME>/conf/server/deployment.yamlfile the same way you have configured them in<SP_HOME>/conf/wso2/worker/deployment.yamlfile. - Configure the data sources in the
<SI__TOOLING_HOME>/conf/server/deployment.yamlfile the same way you have configured them in<SP_HOME>/conf/wso2/editor/deployment.yamlfile. -
Check the data source configured for Business Rules in the
<SP_HOME>/conf/wso2/dashboard/deployment.yamlfile, and configure that data source with the same parameter values in the<SI__TOOLING_HOME>/conf/server/deployment.yamlfile.Info
The Business Rules feature which was a part of the
Dashboardprofile of the Stream Processor is now shipped with WSO2 Integrator: SI Tooling. Therefore, configurations related to this feature are added in the<SI__TOOLING_HOME>/conf/server/deployment.yamlfile.
For the complete list of data sources configured for the WSO2 Integrator: SI, see Configuring Data sources.
Migrating Siddhi applications¶
To migrate the Siddhi applications that you have deployed in WSO2 SP 4.4.0, follow the procedure below:
-
Copy all the Siddhi applications in the
<SP_HOME/wso2/worker/deployment/siddhi-filesdirectory. -
Place the Siddhi applications you copied in the
<SI_HOME/wso2/server/deployment/siddhi-filesdirectory.
Testing the migration¶
Simulate a few events to the Siddhi applications deployed in the WSO2 Integrator: SI to test whether they are generating the expected results.