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.2.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.2.0/cds-admin-1.2.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.2.0/cds-admin-endpoint-insequence-1.2.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
.
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. Availibility 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.
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.