Configuring Event Notification
Follow the steps to set up the Event Notifications Aggregated Polling API for Open Banking for UK:
-
Create the Event Notifications tables according to the following steps.
-
Go to the
<IS_HOME>/dbscripts/open-banking/event-notificationsdirectory. -
According to your database, execute the relevant script against the
openbank_openbankingdbdatabase.noteFor MySQL and PostgreSQL, remove the first line before executing the script.
-
-
Open the
<IS_HOME>/repository/conf/deployment.tomlfile. -
Find the
resource.access_controlconfigurations and add the following tags to secure the Event Notification endpoints:[[resource.access_control]]context = "(.*)/api/openbanking/event-notifications/(.*)"secure="true"http_method="all"permissions=["/permission/admin"]allowed_auth_handlers = ["BasicAuthentication"] -
Add the following tags at the end of the file:
[open_banking.event.notifications]token_issuer = "www.wso2.com"number_of_sets_to_return = 5event_creation_handler = "com.wso2.openbanking.uk.event.notifications.handlers.UKEventCreationServiceHandler"event_polling_handler = "com.wso2.openbanking.uk.event.notifications.handlers.UKEventPollingServiceHandler"event_notification_generator = "com.wso2.openbanking.accelerator.event.notifications.service.service.DefaultEventNotificationGenerator"set_sub_claim_included = trueset_txn_claim_included = trueset_toe_claim_included = true
Was this page helpful?