Skip to content

Commit

Permalink
revert changes in service description files
Browse files Browse the repository at this point in the history
  • Loading branch information
JFrgs committed May 4, 2023
1 parent 2a3f5b8 commit b1e3cea
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 74 deletions.
144 changes: 78 additions & 66 deletions backend/app/app/core/capif_files/service_as_session_with_qos.json
Original file line number Diff line number Diff line change
@@ -1,68 +1,80 @@
{
"apiName": "/nef/api/v1/3gpp-as-session-with-qos/",
"aefProfiles": [
{
"aefId": "string",
"versions": [
{
"apiVersion": "v1",
"expiry": "2100-11-30T10:32:02.004Z",
"resources": [
{
"resourceName": "QOS_SUBSCRIPTIONS",
"commType": "SUBSCRIBE_NOTIFY",
"uri": "/scsAsId001/subscriptions",
"custOpName": "http_post",
"operations": ["GET","POST"],
"description": "Endpoint to manage monitoring subscriptions"
},
{
"resourceName": "QOS_SUBSCRIPTION_SINGLE",
"commType": "SUBSCRIBE_NOTIFY",
"uri": "/scsAsId001/subscriptions/subscriptionId001",
"custOpName": "http_get",
"operations": ["GET","PUT","DELETE"],
"description": "Endpoint to manage single subscription"
}
],
"custOperations": [
{
"commType": "REQUEST_RESPONSE",
"custOpName": "string",
"operations": [
"POST"
],
"description": "string"
}
]
}
],
"protocol": "HTTP_1_1",
"dataFormat": "JSON",
"securityMethods": ["OAUTH", "PSK"],
"interfaceDescriptions": [
{
"ipv4Addr": "127.0.0.1",
"port": 8888,
"securityMethods": ["OAUTH"]
}
]
}
],
"description": "API of dummy netapp to test",
"supportedFeatures": "fffff",
"shareableInfo": {
"isShareable": true,
"capifProvDoms": [
"string"
"apiName": "/nef/api/v1/3gpp-as-session-with-qos/",
"aefProfiles": [
{
"aefId": "string",
"versions": [
{
"apiVersion": "v1",
"expiry": "2100-11-30T10:32:02.004Z",
"resources": [
{
"resourceName": "QOS_SUBSCRIPTIONS",
"commType": "SUBSCRIBE_NOTIFY",
"uri": "/{scsAsId}/subscriptions",
"custOpName": "http_post",
"operations": [
"GET",
"POST"
],
"description": "Endpoint to manage monitoring subscriptions"
},
{
"resourceName": "QOS_SUBSCRIPTION_SINGLE",
"commType": "SUBSCRIBE_NOTIFY",
"uri": "/{scsAsId}/subscriptions/{subscriptionId}",
"custOpName": "http_get",
"operations": [
"GET",
"PUT",
"DELETE"
],
"description": "Endpoint to manage single subscription"
}
],
"custOperations": [
{
"commType": "REQUEST_RESPONSE",
"custOpName": "string",
"operations": [
"POST"
],
"description": "string"
}
]
}
],
"protocol": "HTTP_1_1",
"dataFormat": "JSON",
"securityMethods": [
"OAUTH",
"PSK"
],
"interfaceDescriptions": [
{
"ipv4Addr": "127.0.0.1",
"port": 8090,
"securityMethods": [
"OAUTH"
]
}
]
},
"serviceAPICategory": "string",
"apiSuppFeats": "fffff",
"pubApiPath": {
"ccfIds": [
"string"
]
},
"ccfId": "string"
}
}
],
"description": "API of dummy netapp to test",
"supportedFeatures": "fffff",
"shareableInfo": {
"isShareable": true,
"capifProvDoms": [
"string"
]
},
"serviceAPICategory": "string",
"apiSuppFeats": "fffff",
"pubApiPath": {
"ccfIds": [
"string"
]
},
"ccfId": "string"
}
28 changes: 20 additions & 8 deletions backend/app/app/core/capif_files/service_monitoring_event.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,24 @@
{
"resourceName": "MONITORING_SUBSCRIPTIONS",
"commType": "SUBSCRIBE_NOTIFY",
"uri": "/scsAsId001/subscriptions",
"uri": "/{scsAsId}/subscriptions",
"custOpName": "http_post",
"operations": ["GET","POST"],
"operations": [
"GET",
"POST"
],
"description": "Endpoint to manage monitoring subscriptions"
},
{
"resourceName": "MONITORING_SUBSCRIPTION_SINGLE",
"commType": "SUBSCRIBE_NOTIFY",
"uri": "/scsAsId001/subscriptions/subscriptionId001",
"uri": "/{scsAsId}/subscriptions/{subscriptionId}",
"custOpName": "http_get",
"operations": ["GET","PUT","DELETE"],
"operations": [
"GET",
"PUT",
"DELETE"
],
"description": "Endpoint to manage single subscription"
}
],
Expand All @@ -39,12 +46,17 @@
],
"protocol": "HTTP_1_1",
"dataFormat": "JSON",
"securityMethods": ["OAUTH", "PSK"],
"securityMethods": [
"OAUTH",
"PSK"
],
"interfaceDescriptions": [
{
"ipv4Addr": "127.0.0.1",
"port": 8888,
"securityMethods": ["OAUTH"]
"port": 8090,
"securityMethods": [
"OAUTH"
]
}
]
}
Expand All @@ -65,4 +77,4 @@
]
},
"ccfId": "string"
}
}

0 comments on commit b1e3cea

Please sign in to comment.