Config, setup, build, deploy application

Config before build

Configure bank access

We add Lion and Elephant bank access. You must signup and subscribe APIs to get valid values.

opb-acefintech/src/main/resources/db/changelog/sql/init-1.0.sql
INSERT INTO BANKS VALUES('2ebf6b62-069b-496b-89f1-c4b4b08e04ae',
                         'Lion','Lion','Lion Bank Ltd.',
                         '/netbank/images/bank/lion.svg',
                         'https://api.lion.mlabs.dpc.hu:8243/token',
                         'https://api.lion.mlabs.dpc.hu:8243/open-banking/v3.1/aisp/v3.1.2',
                         'Jg7O55zbOOlJiSJOaG9Qm5nq7qsa',
                         'rEpxSqsEJUUGrJt8dcWsvAxIhx8a',
                         'https://acefintech.mlabs.dpc.hu/netbank/customer/banks/authorize',
                         'acefintech',
                         'https://api.lion.mlabs.dpc.hu:8243/authorize',
                         'https://api.lion.mlabs.dpc.hu:8243/open-banking/v3.1/pisp/v3.1.2');
INSERT INTO BANKS VALUES('7a807744-a081-4da7-ba67-00a4936b9133',
                         'Elephant','Elephant','Elephant Bank Ltd.',
                         '/netbank/images/bank/elephant.svg',
                         'https://api.elephant.mlabs.dpc.hu:8243/token',
                         'https://api.elephant.mlabs.dpc.hu:8243/open-banking/v3.1/aisp/v3.1.2',
                         'W1q6iz4uygm1O9zFWJhc20xEpV8a',
                         's301JImQb0aRuLndn6kKpf67cQUa',
                         'https://acefintech.mlabs.dpc.hu/netbank/customer/banks/authorize',
                         'acefintech',
                         'https://api.elephant.mlabs.dpc.hu:8243/authorize',
                         'https://api.elephant.mlabs.dpc.hu:8243/open-banking/v3.1/pisp/v3.1.2');

BANKS table structure

id UUID for identify a bank eg: 2293e2cf-1c54-38cf-9934-6be4e94e60f8 Use only internally. We just generate random UUID value.

name Name of the bank eg: Lion

shortName Short name of the bank eg: Lion

longName Long name of the bank eg: Lion Bank Ltd.

logoUrl url for the bank logo. eg: /images/bank/lion.svg Bank logo images can found at GUI application.

tokenUrl OAuth token url eg: https://api.lion.mlabs.dpc.hu:8243/token

accounts_url Accounts API url, defined via Bank at Publisher site. eg: https://api.lion.mlabs.dpc.hu:8243/open-banking/v3.1/aisp/v3.1.2

client_id LionFintech application OAuth client id (consumer key). eg: PttPN26uJLQgvRjSrhmh5ShaqZga You can find at API Store. This value must be identical with WSO2 API Store values.

client_secret LionFintech application OAuth client secret (consumer secret). eg: gUPRoq7QUgkuBkdLIkLc1d6fJhka You can find at API Store. This value must be identical with WSO2 API Store values.

callback_url LionFintech OAuth callback url. After user OAuth authorization, the WSO2 call this url. In OAuth calls we must provide this information too, based on OAuth standard. eg: https://acefintech.mlabs.dpc.hu/lionfintech/customer/banks/authorize You can find at API Store. This value must be identical with WSO2 API Store values.

userName LionFintech username at WSO2 API Store. This username must be identical that user which signed up at API Store. eg: lionfintech

authorize_url OAuth authorization url. eg: https://api.lion.mlabs.dpc.hu:8243/authorzize

payments_url Payments API url, defined via Bank at Publisher site. eg: https://api.lion.mlabs.dpc.hu:8243/open-banking/v3.1/pisp/v3.1.2

Add user to application

We defined "tppuser" with "password" password.

Create environment

Create and edit application.properties

Create startup script (start_acefintech.sh)

Compile

Deploy

Copy created jar file to destination.

Start

Stop

Find the required process and terminate them.

Watch log file

Last updated

Was this helpful?