Set up Toolkits
This section guides you to set up and prepare your servers to run WSO2 Open Banking UK Toolkit.
Set up accelerators¶
Copy the extracted accelerator directories into the root directories of the respective base products. Use the table to locate the respective root directory of the base products:
| File | Directory location to place the Accelerator |
|---|---|
wso2-obiam-accelerator-3.0.0 |
<IS_HOME> |
wso2-obam-accelerator-3.0.0 |
<APIM_HOME> |
Configure database scripts for accelerators¶
Note
WSO2 Open Banking Accelerator is compatible with the following DBMSs:
- MySQL 8.0
- Oracle 19c
- Microsoft SQL Server 2017
- PostgreSQL 13
This section explains how to set up the solution with a MySQL 8.0 database server. For other DBMS, see Setting up databases.
-
Open the
<APIM_HOME>/<OB_APIM_ACCELERATOR_HOME>/repository/conf/configure.propertiesfile. -
Configure the hostnames of the API Manager and Identity Server.
-
Configure databases related properties and database names.
-
Open the
<IS_HOME>/<OB_IS_ACCELERATOR_HOME>/repository/conf/configure.propertiesfile and repeat step 2 and 3.
Set up servers¶
-
Run the
merge.shscript in<APIM_HOME>/<OB_APIM_ACCELERATOR_HOME>/binand<IS_HOME>/<OB_IS_ACCELERATOR_HOME>/binrespectively:./merge.sh -
Run the configure.sh files in
<APIM_HOME>/<OB_APIM_ACCELERATOR_HOME>/binand<IS_HOME>/<OB_IS_ACCELERATOR_HOME>/binrespectively:./configure.sh -
Extract the
wso2is-extensionszip file of the relevant API Manager version. -
Follow the given instructions and copy the relevant files to the given directory paths.
- Open the
<IS_EXTENSION>/dropinsfolder. - Copy the following JAR files to the
<IS_HOME>/repository/components/dropinsfolder.wso2is.key.manager.corewso2is.notification.event.handlers
- Open the
<IS_EXTENSION>/webappsfolder. - Copy the
keymanager-operations.warfile to the<IS_HOME>/repository/deployment/server/webappsfolder.
- Open the
Note
Even if you're only updating the Accelerator, you'll still need to run the Toolkit merge process since the Toolkit includes additional changes on top of the Accelerator. After completing the toolkit setup, remember to re-apply any custom modifications you may have made previously.
Set up toolkits¶
Copy the extracted toolkit directories into the root directories of the respective base products. Use the table to locate the respective root directory of the base products:
| File | Directory location to place the Toolkit |
|---|---|
wso2ob-is-toolkit-uk-1.0.0 |
<IS_HOME> |
wso2ob-apim-toolkit-uk-1.0.0 |
<APIM_HOME> |
Configure database scripts for toolkits¶
Note
WSO2 Open Banking UK Toolkit is compatible with the following DBMSs:
- MySQL 8.0
- Oracle 19c
- Microsoft SQL Server 2017
- PostgreSQL 13
This section explains how to set up the solution with a MySQL 8.0 database server. For other DBMS, see Setting up databases.
- Open the
<APIM_HOME>/<OB_APIM_TOOLKIT_HOME>/repository/conf/configure.propertiesfile. - Configure the hostnames of the API Manager and Identity Server.
- Configure databases related properties and database names.
- Open the <
IS_HOME>/<OB_IS_TOOLKIT_HOME>/repository/conf/configure.propertiesfile and repeat step 2 and 3.
Set up servers¶
-
Run the
merge.shscript in<APIM_HOME>/<OB_APIM_TOOLKIT_HOME>/binand<IS_HOME>/<OB_IS_TOOLKIT_HOME>/binrespectively:./merge.sh -
Run the configure.sh files in
<APIM_HOME>/<OB_APIM_TOOLKIT_HOME>/binand<IS_HOME>/<OB_IS_TOOLKIT_HOME>/binrespectively:./configure.sh -
If you are using WSO2 Identity Server 6.0.0,
- Open the
<IS_HOME>/repository/conf/deployment.tomlfile. -
Add below configuration to enable application role validation:
[application_mgt] enable_role_validation = true
- Open the
Start servers¶
If you are using JDK 17 with WSO2 Identity Server 6.0.0 or above, you need to enable adaptive authentication. Click here to see how it is done...
For JDK 17 runtime, adaptive authentication is disabled by default and it is required to enable adaptive authentication. To enable adaptive authentication:
- Go to
<IS_HOME>/bin. -
Run the following command:
./adaptive.sh./adaptive.bat
See Adaptive Authentication - Prerequisites for more information.
- Run the following command in
<IS_HOME>/bin:./wso2server.sh - Run the following command in
<APIM_HOME>/bin:./api-manager.sh