Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tnmtechnologies/e778f2ed9f3a72f1d82891aeac222467 to your computer and use it in GitHub Desktop.
Save tnmtechnologies/e778f2ed9f3a72f1d82891aeac222467 to your computer and use it in GitHub Desktop.
[Nnrf_NFManagement] PATCH request (insert a new value at first position in versions array of first service value) serves a 200 response (R15.2.0)
PATCH /nnrf-nfm/v1/nf-instances/80fd9293-7bc9-4fdf-8888-4a72e9f751d4 HTTP/1.1
Host: vdev-newedge0001.b-com.local:8180
Connection: keep-alive
Content-Length: 211
accept: application/json
DNT: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
Content-Type: application/json-patch+json
Origin: http://vdev-newedge0001.b-com.local:8180
Referer: http://vdev-newedge0001.b-com.local:8180/
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
[
{
"op": "add",
"path": "/nfServices/0/versions/0",
"value": {
"apiVersionInUri": "v2",
"apiFullVersion": "2.0.0",
"expiry": "2022-01-01T00:00:00.000Z"
}
}
]
HTTP/1.1 200 OK
Connection: keep-alive
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Content-Type, Authorization, Accept, Accept-Language
Content-Type: application/json
Content-Length: 1356
Access-Control-Allow-Methods: GET, PUT, POST, PATCH, DELETE, OPTIONS
Date: Wed, 13 May 2020 14:38:57 GMT
{
"nfInstanceId":"80fd9293-7bc9-4fdf-8888-4a72e9f751d4",
"nfType":"AMF",
"nfStatus":"SUSPENDED",
"heartBeatTimer":200,
"plmnList":null,
"sNssais":null,
"nsiList":null,
"fqdn":"amf0.5gc.mncX.mccY.3gppnetwork.org",
"interPlmnFqdn":null,
"ipv4Addresses":null,
"ipv6Addresses":null,
"allowedPlmns":null,
"allowedNfTypes":[
"SMF"
],
"allowedNfDomains":null,
"allowedNssais":null,
"priority":32767,
"capacity":32767,
"load":15,
"locality":"the locality value",
"udrInfo":null,
"udmInfo":null,
"ausfInfo":null,
"amfInfo":null,
"smfInfo":null,
"upfInfo":null,
"pcfInfo":null,
"bsfInfo":null,
"chfInfo":null,
"nrfInfo":null,
"customInfo":"the customInfo value",
"recoveryTime":"2020-04-27T18:26:50.833Z",
"nfServicePersistence":null,
"nfServices":[
{
"serviceInstanceId":"0ffd8c5f-9b15-48bf-8ba5-67ebfccaf392",
"serviceName":"namf-comm",
"versions":[
{
"apiVersionInUri":"v2",
"apiFullVersion":"2.0.0",
"expiry":"2022-01-01T00:00:00.000Z"
},
{
"apiVersionInUri":"v1",
"apiFullVersion":"1.0.0",
"expiry":"2022-05-11T12:27:22.703Z"
}
],
"scheme":"https",
"nfServiceStatus":"REGISTERED",
"fqdn":null,
"interPlmnFqdn":null,
"ipEndPoints":null,
"apiPrefix":null,
"defaultNotificationSubscriptions":null,
"allowedPlmns":null,
"allowedNfTypes":null,
"allowedNfDomains":null,
"allowedNssais":null,
"priority":32767,
"capacity":32767,
"load":20,
"recoveryTime":"2020-04-27T18:26:50.958Z",
"chfServiceInfo":null,
"supportedFeatures":"1234"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment