Tryout
Prerequisites
Set up WSO2 Open Banking Business Intelligence Accelerator and WSO2 Open Banking Business Intelligence CDS Toolkit as follows:
Note
<SI_HOME>refers to the root directory of WSO2 Streaming Integrator.<OB_BI_ACCELERATOR_HOME>refers to the root directory of WSO2 Open Banking Business Intelligence Accelerator.<OB_BI_TOOLKIT_HOME>refers to the root directory of WSO2 Open Banking Business Intelligence CDS Toolkit.
-
Copy and extract the
wso2-obbi-accelerator-3.0.0.zipaccelerator file in the root directory of WSO2 Streaming Integrator. -
Run the
merge.shscript in<SI_HOME>/<OB_BI_ACCELERATOR_HOME>/bin:./merge.sh -
Copy and extract the
wso2ob-bi-toolkit-cds-1.0.0.zipaccelerator file in the root directory of WSO2 Streaming Integrator. -
Run the
merge.shscript in<SI_HOME>/<OB_BI_TOOLKIT_HOME>/bin../merge.sh -
Exchange the public certificates between servers.
Click here to see how it is done...
a. Go to the
<SI_HOME>/resources/securitydirectory and export the public certificate of the Streaming Integrator:keytool -export -alias wso2carbon -keystore wso2carbon.jks -file publickeySI.pemb. Go to the
<IS_HOME>/repository/resources/securitydirectory and import the public certificate of the Streaming Integrator to the truststore of the Identity Server:keytool -import -alias wso2 -file publickeySI.pem -keystore client-truststore.jks -storepass wso2carbonc. Go to the
<IS_HOME>/repository/resources/securitydirectory and export the public certificate of the Identity Server:keytool -export -alias wso2carbon -keystore wso2carbon.jks -file publickeyIAM.pemd. Go to the
<SI_HOME>/resources/securitydirectory and import the public certificate of the Identity Server to the truststore of the Streaming Integrator:keytool -import -alias wso2 -file publickeyIAM.pem -keystore client-truststore.jks -storepass wso2carbone. Go to the
<APIM_HOME>/repository/resources/securitydirectory and repeat step b,c, and d.
Configure¶
- Make sure that API Manager analytics is enabled in
<APIM_HOME>/repository/conf/deployment.toml:[apim.analytics] enable = true - Go to
<APIM_HOME>/repository/conf/deployment.tomland<IS_HOME>/repository/conf/deployment.tomlto enable open banking data publishing as follows:[open_banking.data_publishing] enable = true
Start servers¶
- Go to
<SI_HOME>/binand run the following command to start the Streaming Integrator server:./server.sh - Set up and start the Identity Server and API Manager Servers as instructed in Setting up servers.
Try out¶
-
Register an API consumer application as instructed in Dynamic Client Registration.
-
Try out the sample API flow using the instructions given in Tryout Flow.
-
Once you try out the sample API flow, you can notice that data is published to the tables of the
openbank_ob_reporting_statsdbdatabase.