This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Deploying Consumer Data Standards Administration API v1.28.0
Before you begin:
Configure Metadata Cache Management endpoint that is required for the Administration API.
- Open the
<WSO2_OB_APIM_HOME>/repository/conf/deployment.toml
file. Add the following configurations and restart the server.
[open_banking.au.metadata_cache] metadata_mgt_endpoint = "https://<WSO2_OB_IAM_HOST>:9446/api/openbanking/au-metadata-mgt/au100/register/metadata"
The following configuration is to generate self-link in the CDS Administration API response. This is only available as a WSO2 Update from WSO2 Open Banking API Manager Level 2.0.0.46 onwards. For more information on updating WSO2 Open Banking, see Updating WSO2 Products.
[open_banking.au.admin.api] self_url = "_self-url_"
Add the following synapse configurations to retrieve infosec statistics:
This is available only as a WSO2 Update and is effective from July 09, 2021 (07-09-2021). For more information on updating WSO2 Open Banking, see Updating WSO2 Products.
If you want to support ID permanence, make sure to follow the below steps before deploying the CDS Standard API in
<WSO2_APIM)_HOME>/repository/resources/finance/apis/consumerdatastandards.org.au/<version>:
This is available only as a WUM update and is effective from March 24, 2021 (03-24-2021). For more information on updating WSO2 Open Banking, see Updating WSO2 Products.
- Sign in to the API Publisher Portal (
https://<WSO2_OB_APIM_HOST>:9443/publisher
) as an API creator/publisher. - In the APIs tab, select CREATE NEW API > I Have an Existing REST API.
- Set the Input Type to OpenAPI File.
- Click BROWSE FILE TO UPLOAD and select the
<WSO2_OB_APIM_HOME>/repository/resources/finance/apis/consumerdatastandards.org.au/CDSAdminAPIs/1.28.0/13th-may-2024-obligation/cds-admin-1.28.0.yaml
Swagger file. - Click Next.
Set the endpoint as follows:
https://<WSO2_OB_APIM_HOST>:9443/api/openbanking/cds-admin-api/au100
- Set the business plan to Unlimited : Allows unlimited requests unless you want to limit the requests.
- Click Create to create the API.
- Once you get the message that the API is successfully updated, go to Runtime Configurations using the left menu panel.
- Click the edit button under Request > Message Mediation.
- Now, select the Custom Policy option.
- Upload the
<WSO2_OB_APIM_HOME>/repository/resources/finance/apis/consumerdatastandards.org.au/CDSAdminAPIs/1.28.0/cds-admin-endpoint-insequence-1.28.0.xml
file and click SELECT. - Scroll down and click SAVE.
- Now, go to Properties using the left menu panel.
- Click Add New Property.
Add the following properties and click the Add button to save the values.
Property Name Property Value ob-spec au ob-api-type cds-admin Click SAVE.
Go back to Overview using the left menu panel.
- Click PUBLISH.
- The published API is available in the Developer Portal at
https://<WSO2_OB_APIM_HOST>:9443/devportal
.
Configuring Metrics API v5
Configuring the deployment.toml file of the WSO2 Open Banking API Management module:
- Use the following configuration to indicate the first date that metrics data is available for metrics v5 computation. The default date is 2024-05-01.
[open_banking.au.admin.api] metrics_v5_start_date = "2024-05-20"
- Use the following configuration to indicate the first date that metrics data is available for availability metrics computation. The default date is 2023-11-01.
[open_banking.au.admin.api] availability_start_date = "2023-12-01"
- Use the following configuration to define the duration threshold for considering consent as abandoned once the specified time has elapsed. The default value is "300"
[open_banking.au.admin.api] consent_abandonment_time = "120"
- Use the following configuration to define the validity period of the authorization code as defined in the WSO2 Open Banking Identity and Access Management module. The default value is "300"
[open_banking.api_security] authorization_code_validity = "120"
Invoke Metrics API
GET Metrics - GET /admin/metrics
GET /admin/metrics
is an endpoint determined by the non-functional requirements for the CDR regime to obtain statistics.
- This operation may only be called by the CDR Register.
- The CDR regime will authenticate the clients seeking access to end points based on a signed JWT.
This is the only endpoint available in the API. A sample request and response are as follows:
Availability Metrics
This is the endpoint that determines the percentage availability of the CDR platform over time. Availability is calculated as follows:
Data Holders have to publish the outage data to Open Banking Business Intelligence in the following format:
Note:
- Outages between months need to publish as separate events.
- Availability value is rounded up to 2 decimal points.
- Availability metrics calculate for previous months based on the oldest published data (up to a maximum of 12 months).
Publishing Outage Information
Availability Metrics v3
This is available only as a WUM update and is effective from April 09, 2021 (04-09-2021). For more information on updating WSO2 Open Banking, see Updating WSO2 Products.
Availability Metrics v4 and v5
This is only available as a WSO2 Update from WSO2 Open Banking API Manager Level 2.0.0.276, WSO2 Open Banking Identity Server Level 2.0.0.294 and WSO2 Open Banking Business Intelligence Server Level 2.0.0.63 onwards. For more information on updating WSO2 Open Banking, see Updating WSO2 Products.
Note:
A new attribute called aspect
has been introduced to determine whether the endpoints experiencing the outage are authenticated, unauthenticated, or relevant for both types of endpoints (all).
Deleting Outage Information
This is available only as a WSO2 Update and is effective from September 17, 2021 (09-17-2021). For more information on updating WSO2 Open Banking, see Updating WSO2 Products.
You can delete outage information using the /AvailabilityMetricsRawDataApp/IncidentDeletionRawDataStream
endpoint.