Set up accelerators
This section guides you to set up and prepare your server to run WSO2 Open Banking Accelerator.
Step 1: Set up WSO2 Open Banking Accelerator for WSO2 Identity Server¶
Copy the extracted accelerator directory into the root directory of the WSO2 Identity Server.
File | Directory location to place the Accelerator |
---|---|
wso2-obiam-accelerator-4.0.0 |
<IS_HOME> |
Step 2: Configure database scripts¶
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
<IS_HOME>/<OB_APIM_ACCELERATOR_HOME>/repository/conf/configure.properties
file. -
Configure the hostnames of the Identity Server.
-
Configure databases related properties and database names.
Step 3: Set up the IS server¶
-
Run the merge script in
<IS_HOME>/<OB_IS_ACCELERATOR_HOME>/bin
:./merge.sh
./merge.sh
./merge.ps1
-
Run the configure file in
<IS_HOME>/<OB_IS_ACCELERATOR_HOME>/bin
:./configure.sh
./configure.sh
./configure.ps1
If you are using windows platform...
If you are using windows platform, since the merge.ps1 and configure.ps1 files are not digitally signed yet, your powershell might prevent you from running them normally. In that case you may need to run these scripts in a powershell instance where its execution policy is set to bypass mode.
Use the following command to run these scripts in execution policy bypassed powershell environment.
powershell -executionpolicy bypass .\merge.ps1
powershell -executionpolicy bypass .\configure.ps1
IMPORTANT : Do not run any other unverified scripts using this way. This is a temporary solution.
-
If you are using WSO2 Identity Server 6.0.0 and above,
- Open the
<IS_HOME>/repository/conf/deployment.toml
file. -
Add below configuration to enable application role validation:
[application_mgt] enable_role_validation = true
- Open the
Step 4: Start the server¶
- Run the following command in
<IS_HOME>/bin
:./wso2server.sh