Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

queryPnfNrmconf.bpmn  --call config-get via SS API

CCSDK/CDS Impacts:

- 1. Add a restful executor in CDS blueprint processor

including the executor and the component function 

Integration Impacts:

- Support generic provisioning management service simulator for integration test

...

Jira Legacy
CCSDK-1909
serverSystem Jira
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyINT-1245

Jira Legacy
serverSystem Jira
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyINT-1387

Jira Legacy
serverSystem Jira
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyCCSDK-1909

Jira Legacy
serverSystem Jira
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyCCSDK-1965

Test Status

NoTest casesTest Status
15G NRM CM config-deploy TestCOMPLETE
25G NRM CM config-get TestCOMPLETE
35G NRM CM config-modify TestCOMPLETE
45G NRM CM config-delete TestCOMPLETE

...

Test case ID2
Test case name5G NRM CM config-get Test
Test case descriptionTrigger the config-get workflow to get multiple MOIs attributes (Management Object Instance)
ReleaseFrankfurt
Pre-conditions
  1. run the Provision MnS provider
  2. upload the corresponding blueprint
  3. already create some MOIs
Testing Steps


Test Command 
curl -s -k -u "ccsdkapps:ccsdkapps" -H "Content-Type: application/json" -H "Accept: application/json" -X POST http://cds.onap:port/api/v1/execution-service/process -d @NRM_get.json | python -m json.tool


NRM_get.json

{

  "commonHeader": {

    "originatorId": "CurlTest",

    "requestId": "1234-5678",

    "subRequestId": "5678-9012"

  },

  "actionIdentifiers": {

    "blueprintName": "NRMblueprint",

    "blueprintVersion": "1.0.0",

    "actionName": "config-get",

    "mode": "sync"

  },

  "payload": {

     "config-get-request": {

      "config-get-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":"e65d3f05-9558-4e58-aeb0-3a1eae1db742",

          "scope":"BASE_ONLY",

          "filter":"GNBCUCPFunction",

          "fields":["gNBId","gNBIdLength"]

          }

          ]

      }

     }

  }

}

      


Response of CDS

{

    "actionIdentifiers": {

        "actionName": "config-get",

        "blueprintName": "NRMblueprint",

        "blueprintVersion": "1.0.0",

        "mode": "sync"

    },

    "commonHeader": {

        "flags": null,

        "originatorId": "CurlTest",

        "requestId": "1234-5678",

        "subRequestId": "5678-9012",

        "timestamp": "2020-03-13T06:13:43.166Z"

    },

    "payload": {

        "config-get-response": {

            "result": {

                "response": {

                    "/GNBCUCPFunction/e65d3f05-9558-4e58-aeb0-3a1eae1db742": {

                        "body": {

                            "data": [

                                    {

                                        "attributes": {

                                            "gNBId": "1",

                                            "gNBIdLength": "5"

                                        },

                                        "class": "GNBCUCPFunction",

                                        "href": "/GNBCUCPFunction/e65d3f05-9558-4e58-aeb0-3a1eae1db742",

                                        "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-get-process”,

         “properties”: {

            “response-data”: “”,

            “status”: “success”

}

}

}       


Conclusion (Pass /Fail)PASS
Test lab


Test case ID3
Test case name5G NRM CM config-modify Test
Test case descriptionTrigger the config-modify workflow to modify multiple MOIs attributes (Management Object Instance)
ReleaseFrankfurt
Pre-conditions
  1. run the Provision MnS provider
  2. upload the corresponding blueprint
  3. already create some MOIs
Testing Steps


Test Command 
curl -s -k -u "ccsdkapps:ccsdkapps" -H "Content-Type: application/json" -H "Accept: application/json" -X POST http://cds.onap:port/api/v1/execution-service/process -d @NRM_modify.json | python -m json.tool


NRM_modify.json

{

  "commonHeader": {

    "originatorId": "CurlTest",

    "requestId": "1234-5678",

    "subRequestId": "5678-9012"

  },

  "actionIdentifiers": {

    "blueprintName": "NRMblueprint",

    "blueprintVersion": "1.0.0",

    "actionName": "config-modify",

    "mode": "sync"

  },

  "payload": {

     "config-modify-request": {

      "config-modify-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":"e65d3f05-9558-4e58-aeb0-3a1eae1db742",

          "scope":"BASE_ONLY",

          "filter":"GNBCUCPFunction",

          "data": {

             "gNBId":"12345",

             "gNBIdLength":"5"

     }

          }

          ]

      }

     }

  }

}

      


Response of CDS

{

    "actionIdentifiers": {

        "actionName": "config-modify",

        "blueprintName": "NRMblueprint",

        "blueprintVersion": "1.0.0",

        "mode": "sync"

    },

    "commonHeader": {

        "flags": null,

        "originatorId": "CurlTest",

        "requestId": "1234-5678",

        "subRequestId": "5678-9012",

        "timestamp": "2020-03-13T06:14:45.274Z"

    },

    "payload": {

        "config-modify-response": {

            "result": {

                "response": {

                    "/GNBCUCPFunction/e65d3f05-9558-4e58-aeb0-3a1eae1db742": {

                        "body": {

                            "data": [

                                    {

                                        "attributes": {

                                            "gNBCUName": "gnb-01",

                                            "gNBId": "12345",

                                            "gNBIdLength": "5",

                                            "pLMNId": {

                                                "mcc": "001",

                                                "mnc": "01"

                                            }

                                        },

                                        "class": "GNBCUCPFunction",

                                        "href": "/GNBCUCPFunction/e65d3f05-9558-4e58-aeb0-3a1eae1db742",

                                         "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-modify-process”,

         “properties”: {

            “response-data”: “”,

            “status”: “success”

}

}

}


Conclusion (Pass /Fail)PASS
Test lab


Test case ID4
Test case name5G NRM CM config-delete Test
Test case descriptionTrigger the config-delete workflow to get multiple MOIs attributes (Management Object Instance)
ReleaseFrankfurt
Pre-conditions
  1. run the Provision MnS provider
  2. upload the corresponding blueprint
  3. already create some MOIs
Testing Steps


Test Command 
curl -s -k -u "ccsdkapps:ccsdkapps" -H "Content-Type: application/json" -H "Accept: application/json" -X POST http://cds.onap:port/api/v1/execution-service/process -d @NRM_delete.json | python -m json.tool


NRM_delete.json

{

  "commonHeader": {

    "originatorId": "CurlTest",

    "requestId": "1234-5678",

    "subRequestId": "5678-9012"

  },

  "actionIdentifiers": {

    "blueprintName": "NRMblueprint",

    "blueprintVersion": "1.0.0",

    "actionName": "config-delete",

    "mode": "sync"

  },

  "payload": {

     "config-delete-request": {

      "config-delete-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":"e65d3f05-9558-4e58-aeb0-3a1eae1db742",

          "scope":"BASE_ONLY",

          "filter":"GNBCUCPFunction"

          }

          ]

      }

     }

  }

}


Response of CDS


{

    "actionIdentifiers": {

        "actionName": "config-delete",

        "blueprintName": "NRMblueprint",

        "blueprintVersion": "1.0.0",

        "mode": "sync"

    },

    "commonHeader": {

        "flags": null,

        "originatorId": "CurlTest",

        "requestId": "1234-5678",

        "subRequestId": "5678-9012",

        "timestamp": "2020-03-13T06:15:55.413Z"

    },

    "payload": {

        "config-delete-response": {

            "result": {

                "response": {

                    "/GNBCUCPFunction/e65d3f05-9558-4e58-aeb0-3a1eae1db742": {

                        "body": {

                            "data": [

                                    "/GNBCUCPFunction/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-delete-process”,

         “properties”: {

            “response-data”: “”,

            “status”: “success”

}

}

}

           


Conclusion (Pass /Fail)PASS
Test lab

Reference

Discussion Materials

...