...
...
Test case ID | 1 |
---|
Test case name | 5G NRM CM config-deploy Test |
Test case description | Trigger the config-deploy workflow to create multiple MOIs (Management Object Instance) |
Release | Frankfurt |
Pre-conditions | - run the Provision MnS provider
- upload the corresponding blueprint
|
Testing Steps | NRM_create.json |
---|
{
"commonHeader": {
"originatorId": "CurlTest",
"requestId": "1234-5678",
"subRequestId": "5678-9012"
},
"actionIdentifiers": {
"blueprintName": "NRMblueprint",
"blueprintVersion": "1.0.0",
"actionName": "config-deploy",
"mode": "sync"
},
"payload": {
"config-deploy-request": {
"config-deploy-properties":{
"service-instance-id":"PNF_service_1",
"pnf-id":"PNF1",
"pnf-name":"PNF1",
"service-model-uuid":"90e00209-779b-4732-b0f1-7d7dfa88745c",
"pnf-customization-uuid":"e65d3f05-9558-4e58-aeb0-3a1eae1db742",
"managed-object-instances":[{
"className":"GNBCUCPFunction",
"data":{
"gNBId":"1",
"gNBIdLength":"5",
"gNBCUName":"gnb-01",
"pLMNId":{
"mcc":"001",
"mnc":"01"
}
}
},
{
"className":"GNBCUUPFunction",
"data":{
"gNBId":"1",
"gNBIdLength":"5",
" "mnc":"01" } } }, { "className":" |
|
GNBDUFunctionGNBCUUPFunction", "data":{ " |
|
gNBDUIdgNBDUNamegnb-01", "gNBId":"1",
"gNBIdLength":"5", "pLMNId":{ "mcc":"001", "mnc":"01" } } }, |
|
] }
}
}
}Response of CDS |
---|
{
"actionIdentifiers": {
"actionName": "config-deploy",
"blueprintName": "NRMblueprint",
"blueprintVersion": "1.0.0",
"mode": "sync"
},
"commonHeader": {
"flags": null,
"originatorId": "CurlTest",
"requestId": "1234-5678",
"subRequestId": "5678-9012",
"timestamp": "2020-03-13T06:11:33.218Z"
},
"payload": {
"config-deploy-response": {
"result": {
"/GNBCUCPFunction/f64bc1a8-28c1-4da2-81e8-b5963b4b4e70": {
"body": {
"data": {
"attributes": {
"gNBCUName": "gnb-01",
"gNBId": "1",
"gNBIdLength": "5",
"pLMNId": {
"mcc": "001",
"mnc": "01"
}
},
"class": "GNBCUCPFunction",
"href": "/GNBCUCPFunction/f64bc1a8-28c1-4da2-81e8-b5963b4b4e70",
"id": "f64bc1a8-28c1-4da2-81e8-b5963b4b4e70"
}
},
"status": 201
},
"/GNBCUUPFunction/2a78c55a-2762-4d15-9204-037ca6fecf87": {
"body": {
"data": {
"attributes": {
"gNBId": "1",
"gNBIdLength": "5",
"pLMNId": {
"mcc": "001",
"mnc": "01"
}
},
"class": "GNBCUUPFunction",
"href": "/GNBCUUPFunction/2a78c55a-2762-4d15-9204-037ca6fecf87",
"id": "2a78c55a-2762-4d15-9204-037ca6fecf87"
}
},
"status": 201
},
{ "className":"GNBDUFunction", "data":{ "gNBDUId":"1", "gNBDUName":"gnb-01", "gNBId":"1", "gNBIdLength":"5", "pLMNId":{ "mcc":"001", "mnc":"01" } } } ] } } } } |
Response of CDS |
---|
{ "actionIdentifiers": { "actionName": "config-deploy", "blueprintName": "NRMblueprint", "blueprintVersion": "1.0.0", "mode": "sync" }, "commonHeader": { "flags": null, "originatorId": "CurlTest", "requestId": "1234-5678", "subRequestId": "5678-9012", "timestamp": "2020-03-13T06:11:33.218Z" }, "payload": { "config-deploy-response": { "result": { "/GNBCUCPFunction/f64bc1a8-28c1-4da2-81e8-b5963b4b4e70": { "body": { "data": { "attributes": { "gNBCUName": "gnb-01", "gNBId": "1", "gNBIdLength": "5", "pLMNId": { "mcc": "001", "mnc": "01" } }, "class": "GNBCUCPFunction", "href": "/GNBCUCPFunction/f64bc1a8-28c1-4da2-81e8-b5963b4b4e70", "id": "f64bc1a8-28c1-4da2-81e8-b5963b4b4e70" } }, "status": 201 }, "/GNBCUUPFunction/2a78c55a-2762-4d15-9204-037ca6fecf87": { "body": { "data": { "attributes": { "gNBId": "1", "gNBIdLength": "5", "pLMNId": { "mcc": "001", "mnc": "01" } }, "class": "GNBCUUPFunction", "href": "/GNBCUUPFunction/2a78c55a-2762-4d15-9204-037ca6fecf87", "id": "2a78c55a-2762-4d15-9204-037ca6fecf87" } }, "status": 201 }, "/GNBDUFunction/261690cc-f221-45e0-86e6-2b980cb8e808": { "body": { "data": { "attributes": { "gNBDUId": "1", "gNBDUName": "gnb-01", "gNBId": "1", "gNBIdLength": "5", "pLMNId": { "mcc": "001", "mnc": "01" } }, "class": "GNBDUFunction", "href": "/GNBDUFunction/261690cc-f221-45e0-86e6-2b980cb8e808", "id": "261690cc-f221-45e0-86e6-2b980cb8e808" } }, "status": 201 } } } }, "status": { "code": 200, "errorMessage": null, "eventType": "EVENT_COMPONENT_EXECUTRD", "message": "success", "timestamp": "2020-03-13T06:11:33.331Z" }, "stepData": { “name”: “config-deploy-process”, “properties”: { “response-data”: “”, “status”: “success” } } } |
|
Conclusion (Pass /Fail) | PASS |
Test lab |
|
24 |
---|
Test case name | 5G NRM CM config- |
get delete Test |
Test case description | Trigger the config- |
get delete workflow to get multiple MOIs attributes (Management Object Instance) |
Release | Frankfurt |
Pre-conditions | - run the Provision MnS provider
- upload the corresponding blueprint
- already create some MOIs
|
Testing Steps |
|
getdelete.json | python -m json.tool |
|
getdelete.json |
---|
{ "commonHeader": { "originatorId": "CurlTest", "requestId": "1234-5678", "subRequestId": "5678-9012" }, "actionIdentifiers": { "blueprintName": "NRMblueprint", "blueprintVersion": "1.0.0", "actionName": "config- |
|
getdelete", "mode": "sync" }, "payload": { "config- |
|
getdelete-request": { "config- |
|
getdelete-properties":{ "service-instance-id":"PNF_service_1", "pnf-id":"PNF1", "pnf-name":"PNF1", "service-model-uuid":"90e00209-779b-4732-b0f1-7d7dfa88745c", "pnf-customization- |
|
uuid":"e65d3f05-9558-4e58-aeb0-3a1eae1db742", "managed-object-instances":[{
"className":"GNBCUCPFunction",
"id"uuid":"e65d3f05-9558-4e58-aeb0-3a1eae1db742", |
|
"scope":"BASE_ONLY",
"filter":"GNBCUCPFunction",
"fields":["gNBId","gNBIdLength"]
}
]
}
}
}
}
"managed-object-instances":[{ "className":"GNBCUCPFunction", "id":"e65d3f05-9558-4e58-aeb0-3a1eae1db742", "scope":"BASE_ONLY", "filter":"GNBCUCPFunction" } ] } } } } |
Response of CDS |
---|
{ "actionIdentifiers |
|
Response of CDS |
---|
{
"actionIdentifiers": {
"actionName": "config-get",
"blueprintName": "NRMblueprint",
"blueprintVersion": "1.0.0",
"mode": "sync"
},
"commonHeaderflags null, "originatorId": "CurlTest"requestId1234-5678subRequestId5678-9012timestamp2020-03-13T06:13:43.166Zpayload": { "config-get-response": {
"result response { "/GNBCUCPFunction/e65d3f05-9558-4e58-aeb0-3a1eae1db742": {
"body": {
"data": [
{
"attributes": {
"gNBId": "1",
"gNBIdLength": "5"
},
"class": "GNBCUCPFunction",
"originatorId": "CurlTest", "requestId": "1234-5678", "subRequestId": "5678-9012", "timestamp": "2020-03-13T06:15:55.413Z" }, "payload": { "config-delete-response": { "result": { "response": { |
|
"href": "/GNBCUCPFunction/e65d3f05-9558-4e58-aeb0-3a1eae1db742" |
|
,: { "body": { "data": [ "/GNBCUCPFunction/ |
|
"id": "e65d3f05-9558-4e58-aeb0-3a1eae1db742" |
|
}
] }, "status": 200 } } } } }, "status": { "code": 200, "errorMessage": null, "eventType": "EVENT_COMPONENT_EXECUTRD", "message": "success", "timestamp": "2020-03-13T06:11:33.331Z" }, "stepData": { “name”: “config- |
|
getdelete-process”, “properties”: { “response-data”: “”, “status”: “success” } } } |
|
|
Conclusion (Pass /Fail) | PASS |
Test lab |
|
...