5 Configuration API Specifications
Configuration REST APIs are exposed directly on the nudr-config microservice of UDR, and it does not use Ingress Gateway for traffic (OAM traffic). These APIs are consumed by CNC Console GUI. For more information about APIs, see Oracle Communications Cloud Native Core Unified Data Repository User Guide.
5.1 Configuration APIs for UDR Microservices
This section describes the configuration APIs for UDR microservices.
Table 5-1 Configuration APIs for UDR microservices
HTTP Method | Sample REST Request URL | Sample Response | Possible Error Codes |
---|---|---|---|
GET | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.nudrservice.cfg/DR-SERVICE |
Result Code: 200 OK Payload
|
NA |
GET | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.notifyservice.cfg/NOTIFY-SERVICE |
Result Code: 200 OK Payload
|
NA |
GET | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.global.cfg/GLOBAL |
Result Code: 200 OK Payload
|
NA |
GET | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.diamgateway.cfg/DIAMETER-GATEWAY |
Result Code: 200 OK Payload
|
NA |
GET | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.biservice.cfg/BULK_IMPORT |
Result Code: 200 OK Payload
|
NA |
GET | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.ondemand.cfg/ON-DEMAND |
Result Code: 200 OK Payload
|
NA |
GET | http://localhost:8081/nudr-config/v1/udr.diamgateway.congestion.cfg/DGW-CONGESTION |
Result Code: 200 OK Payload
|
NA |
GET | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.nudrprovservice.cfg/DR-PROV-SERVICE |
Result Code: 200 OK Payload
|
NA |
GET | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.bulkimportservice.cfg/BULK_IMPORT_CFG |
Result Code: 200 OK Payload
|
NA |
GET | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.exporttool.cfg/EXPORT_TOOL_CFG |
Result Code: 200 OK Payload
|
NA |
GET | http://ocudr-nudr-config.myudr:5001/udr/nf-common-component/v1/operationalState |
Result Code: 200 OK Payload
|
|
GET | http://ocudr-nudr-config.myudr:5001/udr/nf-common-component/v1/operationalStateHistory If offset is set to any value greater than 0 then it will return an empty array Value of the limit
greater than 5 displays only 5 records with query
params: |
Result Code: 200 OK Payload
|
|
GET | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/migrationtool.status.cfg/MIGRATION_TOOL_STATUS |
|
404 Not Found: Data field does not exist 400 Bad Request |
GET | http:ocudr-nudr-config.myudr:5001/nudr-config/v1/migration.tool.cfg/MIGRATION_TOOL |
Note: The subscriber migration ranges cannot be modified. |
404 Not Found: Data field does not exist 400 Bad Request |
GET | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.exporttoolfilestatus.cfg/EXPORT_TOOL_FILE_STATUS |
Result Code: 200 OK Payload
|
|
GET | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.exporttoolstatus.cfg/EXPORT_TOOL_STATUS |
Result Code: 200 OK Payload
|
|
GET | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.exporttoolstatus.cfg/EXPORT_TOOL_STATUS/export-2023-01-16T14:12:33 |
Result Code: 200 OK Payload
|
|
PUT |
|
Result Code: 200 OK Payload
|
|
PUT | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.bulkimportservice.cfg/BULK_IMPORT_CFG |
Result Code: 200 OK Payload
|
|
PUT | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.exporttool.cfg/EXPORT_TOOL_CFG |
Result Code: 200 OK Payload
|
|
PUT |
|
Result Code: 200 OK Payload
|
|
PUT |
|
Result Code: 200 OK payload
|
|
PUT |
|
Result Code: 200 OK payload
|
|
PUT |
|
200 OK payload
|
|
PUT | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.nudrprovservice.cfg/DR-PROV-SERVICE |
Result Code: 200 OK Payload
|
|
PUT | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.ondemand.cfg/ON-DEMAND |
Result Code: 200 OK Payload
|
|
PUT | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.bulkimportservice.cfg/BULK_IMPORT_CFG |
Result Code: 200 OK Payload
|
|
PUT |
http://ocudr-nudr-config.myudr:5001/udr/nf-common-component/v1/operationalState |
Result Code: 200 OK Payload
|
|
PUT | http://ocudr-nudr-config.myudr:5001/nudr-config/v1/migration.tool.cfg/MIGRATION_TOOL |
Result Code: 200 OK Payload
|
|
DELETE |
http://ocudr-nudr-config.myudr:5001/nudr-config/v1/udr.exporttoolstatus.cfg/EXPORT_TOOL_STATUS/export-2023-01-16T14:12:33 |
Result Code: 200 OK |
|
5.2 Configuration APIs for Common Services
This section describes the configuration APIs for common services.
Table 5-2 Common Services Configuration APIs
HTTP Method | Sample Request REST URL | Sample Response | Possible Error Codes |
---|---|---|---|
PUT | http://<nudr-config svc
IP>:<port>/udr/nf-common-component/v1/igw-sig/oauthvalidatorconfiguration Payload
|
200 OK Response Body
|
NA |
GET | http://<nudr-config svc
IP>:<port>/udr/nf-common-component/v1/igw-sig/oauthvalidatorconfiguration |
200 OK Response Body
|
NA |
PUT | http://<nudr-config svc
IP>:<port>/udr/nf-common-component/v1/igw-prov/oauthvalidatorconfiguration Payload
|
200 OK Response Body
|
|
GET | http://<nudr-config svc
IP>:<port>/udr/nf-common-component/v1/igw-prov/oauthvalidatorconfiguration |
200 OK Response Body
|
|
PUT | http://<nudr-config svc
IP>:<port>/udr/nf-common-component/v1/igw-sig/serverheaderdetails To enable: Payload
To disable: Payload
|
200 OK |
NA |
GET | http://<nudr-config svc
IP>:<port>/udr/nf-common-component/v1/igw-sig/serverheaderdetails |
200 OK Response Body
|
NA |
PATCH | http://<nudr-config svc
IP>:<port>/udr/nf-common-component/v1/igw-sig/serverheaderdetails Payload
|
200 OK | NA |
PUT | http://localhost:8081/udr/nf-common-component/v1/nrf-client-nfmanagement/nfProfileList Request
|
200 OK |
NA |
GET | http://localhost:8081/udr/nf-common-component/v1/nrf-client-nfmanagement/nfProfileList |
|
200 OK |
5.3 Configuration APIs for Import and Export
This section describes the configuration APIs for import and export.
Table 5-3 Configuration APIs for Import and Export
HTTP Method | Sample Request REST URL | Sample Response | Notes |
---|---|---|---|
POST |
|
Result Code: 201 Created Payload Export resource id: 3e470fab-e131-4dbe-be67-ba7391729254 |
This is the first step to initiate export. |
GET | To export all services :
http://10.75.229.157:31725/nudr-config/v1/export |
Result Code: 200
OK
Payload
|
This API is to get the existing export id.
Possible error codes 404 Not Found 500 Internal Server Error |
GET |
URI:
Export resource id: 3e470fab-e131-4dbe-be67-ba7391729254 |
Result Code: 200 OK Payload
|
This is the second step. Keep calling this API until "percentage": "100". |
GET |
URI:
Export resource id: 3e470fab-e131-4dbe-be67-ba7391729254 |
Result Code: 200 OK Payload
|
This is the third step. This API gives complete export report. |
GET |
URI:
Export resource id: 3e470fab-e131-4dbe-be67-ba7391729254 |
Result Code: 200 OK exportedFiles_ 1.12.0_20210706080247.zip |
This is the fourth step. This API is used to download exported zip file. |
POST | URL:
http://10.75.229.157:31725/nudr-config/v1/import
|
Result Code: 201 Created Payload Import resource id: 552a4328-21ec-43aa-a460-58ce1df407ae |
This is the first step to initiate import. |
GET | URL :
http://10.75.229.157:31725/nudr-config/v1/import
|
Result Code: 200
OK
Payload
|
This API is to get the existing import id.
404 Not Found 500 Internal Server Error |
GET |
URL:
Import resource id: 552a4328-21ec-43aa-a460-58ce1df407ae |
Result Code: 200 OK Payload
|
This is the second step. Keep calling this API until "percentage": "100" |
GET | URL:
http://10.75.229.157:31725/nudr-config/v1/import/552a4328-21ec-43aa-a460-58ce1df407ae/report Import resource id: 552a4328-21ec-43aa-a460-58ce1df407ae |
Result Code: 200 OK Payload
|
This is the third step. This API gives complete import report. |
For more information about the Import and Export configurable parameters, see Oracle Communications Cloud Native Core Unified Data Repository Installation and Upgrade Guide.
5.4 Configuration APIs for Loglevel
This section describes the configuration APIs for loglevel.
Table 5-4 Configuration APIs for Loglevel
HTTP Method | Sample Request REST URL | Sample Response | Notes |
---|---|---|---|
GET | URI:
http://10.75.229.168:32310/nudr-config/v1/nudr-drservice/logging |
Result Code: 200 OK Payload
|
NA |
GET | http://10.75.229.168:32310/nudr-config/v1/nudr-notify-service/logging |
Result Code: 200 OK Payload
|
NA |
GET | http://10.75.229.168:32310/nudr-config/v1/nudr-diameterproxy/logging |
Result Code: 200 OK Payload
|
NA |
GET | http://10.75.229.168:32310/nudr-config/v1/diam-gateway/logging |
Result Code: 200 OK Payload
|
NA |
GET | http://10.75.229.168:32310/nudr-config/v1/nudr-ondemand-migration/logging |
Result Code: 200 OK Payload
|
NA |
GET | http://10.75.229.168:32527/udr/nf-common-component/v1/igw-sig/logging |
Result Code: 200 OK Payload
|
NA |
GET | http://10.75.229.168:32527/udr/nf-common-component/v1/igw-prov/logging |
Result Code: 200 OK Payload
|
NA |
GET | http://10.75.229.168:32527/udr/nf-common-component/v1/egw/logging |
Result Code: 200 OK Payload
|
NA |
GET | http://10.75.229.168:32527/udr/nf-common-component/v1/alt-route/logging |
Result Code: 200 OK Payload
|
NA |
GET |
|
200 OK Response
|
|
GET | http://10.75.229.168:31867/nudr-config/v1/all/logging |
Result Code: 200 OK Payload
|
NA |
GET | http://10.75.229.168:32310/nudr-config/v1/nudr-dr-provservice/logging |
Result Code: 200
OK
|
NA |
GET |
http://10.75.229.168:32310/nudr-config/v1/nudr-bulk-import/logging |
Result Code: 200
OK
|
NA |
GET | http://10.75.229.168:32310/nudr-config/v1/nudr-export-tool/logging |
200 Created Payload
|
NA |
GET | http://10.75.180.253:30601/nudr-config/v1/nudr-config/logging |
200 Created Payload
|
NA |
PUT |
URI:
|
201 Created Payload
|
|
PUT |
|
201 Created Payload
|
|
PUT | http://10.75.229.168:32310/nudr-config/v1/nudr-diameterproxy/logging |
201 Created Payload
|
|
PUT |
|
201 Created Payload
|
|
PUT |
|
201 Created Payload
|
|
PUT |
|
200 OK Payload
|
|
PUT | http://10.75.229.168:32527/udr/nf-common-component/v1/igw-prov/logging |
200 OK Payload
|
|
PUT |
|
200 OK Payload
|
|
PUT |
|
200 OK Payload
|
|
PUT |
|
200 OK Response
|
|
PUT | http://10.75.229.168:32310/nudr-config/v1/nudr-dr-provservice/logging |
201 created Payload
|
|
PUT |
http://10.75.229.168:32310/nudr-config/v1/nudr-bulk-import/logging |
201 created Payload
|
|
PUT | http://10.75.229.168:32310/nudr-config/v1/nudr-export-tool/logging |
201 created Payload
|
|
PUT | http://10.75.180.253:30601/nudr-config/v1/nudr-config/logging |
201 created Payload
|
|
5.5 Configuration APIs for Overload Handling
This section describes the configuration APIs on Ingress Gateway and perf-info microservices for overload handling.
Table 5-5 Configuration APIs on Ingress Gateway for Overload Handling
HTTP Method | Sample Request REST URL | Sample Response |
---|---|---|
PUT |
igw-sig URL:
oc policy
mapping
igw-prov URL:
oc policy
mapping
|
Response is same as Request payload. |
PUT |
igw-sig URL:
igw-prov URL:
For payload, see PUT - OC Discard Policy. |
Response is same as Request payload. |
PUT |
igw-sig URL:
igw-prov URL:
For payload, see PUT - Error Code Profiles. |
Response is same as Request payload. |
PUT |
igw-sig URL:
igw-prov URL:
For payload, see PUT - Routes Configuration. |
Response is same as Request payload. |
PUT |
igw-sig URL:
igw-prov URL:
error code series
|
Response is same as Request payload. |
Table 5-6 Configuration APIs on perf-info for Overload Handling
HTTP Method | Sample Request REST URL | Sample Response |
---|---|---|
PUT |
URL:
For payload, see PUT - Overload Threshold Configuration |
Response is same as Request payload. |
For more information about the Overload Handling configurable parameters, see Oracle Communications Cloud Native Core Unified Data Repository Installation and Upgrade Guide.
5.6 Configuration APIs for Rate Limit
This section describes the configuration APIs on Ingress Gateway for rate limiting feature.
Table 5-7 Configuration APIs on Ingress Gateway for Rate Limiting
HTTP Method | Sample Request REST URL | Sample Response | Notes |
---|---|---|---|
PUT |
URL:
routesconfiguration
|
routesconfiguration
|
Response is same as request |
PUT |
URL: http://10.75.229.75:31187/udr/nf-common-component/v1/igw/routelevelratelimiting routelevelratelimiting
|
routelevelratelimiting
|
Response is same as request |
PUT |
URL:
errorcodeprofiles
|
errorcodeprofiles
|
Response is same as request |
5.6.1 Default Configuration Details for Rate Limit
The default configuration details for rate limit are:
Important:
The default deployment setup includes two Ingress Gateways and two DR pods. The following default rates are derived based on this deployment setup. If you want to scale up the pods, then adjust or configure the route rates accordingly. The route rates are available under routesconfiguration of http://10.75.229.75:31187/udr/nf-common-component/v1/igw/routesconfiguration.- RouteId-Path - traffic_mapping_http - nudr-dr
Table 5-8 Method wise Rate Details
Method Rate GET 200 PUT 300 POST 200 PATCH 200 DELETE 200 - RouteId-Path - traffic_mapping_http_prov - nudr-dr-prov
Table 5-9 Method wise Rate Details
Method Rate GET 200 PUT 300 POST 200 PATCH 200 DELETE 200 - RouteId-Path - traffic_mapping_http_group - nudr-group-id-map
Table 5-10 Method wise Rate Details
Method Rate GET 1350 - RouteId-Path - traffic_mapping_http_group_prov - nudr-group-id-map-prov
Table 5-11 Method wise Rate Details
Method Rate GET 800 PUT 200 DELETE 200 - RouteId-Path - traffic_mapping_http_slf_group_prov - slf-group-prov
Table 5-12 Method wise Rate Details
Method Rate GET 800 PUT 200 DELETE 200
5.7 List of Errors and their Details
The list of errors and their details are as follows:
Table 5-13 Error Details
Error Codes | Error Text | Error Detail |
---|---|---|
400 | Bad request |
Schema Validation Failure Invalid URI Key Not Supported Invalid JSON Format JSONObject[\\"unknow field name\\"] not found. /nudr-config/v1/export:
/nudr-config/v1/import:
|
404 | Not Found |
Configuration does not exist Destination Not Found Key Not Found Data field does not exist /nudr-config/v1/export/<id>/status:
/nudr-config/v1/export/<id>/report:
/nudr-config/v1/export/<id>/download:
/nudr-config/v1/import/<id>/status:
/nudr-config/v1/import/<id>/report
|
405 | Operation Not Allowed | Method Not Allowed |
429 | Too Many Requests |
/nudr-config/v1/import:
|
500 | Internal Server Error | Internal
error
/nudr-config/v1/export/<id>/report:
/nudr-config/v1/export/<id>/download:
/nudr-config/v1/import/<id>/report:
|
503 | Service Unavailable | Service unavailable |