diff options
author | Joanna Jeremicz <joanna.jeremicz@nokia.com> | 2018-11-20 08:52:31 +0100 |
---|---|---|
committer | Joanna Jeremicz <joanna.jeremicz@nokia.com> | 2018-11-30 09:04:25 +0100 |
commit | a17096bb5555c4fff43cdb3094c9b8b96bb3fd61 (patch) | |
tree | 149d4e5416a2f9432499adf9217f5c0aa3142054 /vid-app-common/src/test/resources | |
parent | fed8ee99b98977ec0d6ade8174684932b27f7794 (diff) |
ChangeManagementController tests
Change-Id: I936a9c65c167e5076d775f4139cc76340d0fc55d
Issue-ID: VID-353
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Diffstat (limited to 'vid-app-common/src/test/resources')
3 files changed, 100 insertions, 0 deletions
diff --git a/vid-app-common/src/test/resources/change-management-request.json b/vid-app-common/src/test/resources/change-management-request.json new file mode 100644 index 000000000..09a33b508 --- /dev/null +++ b/vid-app-common/src/test/resources/change-management-request.json @@ -0,0 +1,47 @@ +{ + "requestDetails": [ + { + "modelInfo": { + "modelCustomizationName": "vSAMP12 1", + "modelCustomizationId": "c539433a-84a6-4082-a12e-5c9b00c3b960", + "modelInvariantId": "ff5256d1-5a33-55df-13ab-12abad84e7ff", + "modelVersionId": "254583ad-b38c-498b-bdbd-b8de5e07541b", + "modelName": "vSAMP12", + "modelType": "vnf", + "modelVersion": "2.0" + }, + "cloudConfiguration": { + "lcpCloudRegionId": "mdt1", + "tenantId": "88a6ca3ee0394ade9403f075db23167e" + }, + "requestInfo": { + "source": "VID", + "suppressRollback": false, + "requestorId": "az2016" + }, + "requestParameters": { + "userParams": [], + "usePreload": true + }, + "vnfName": "Name", + "vnfInstanceId": "Test", + "relatedInstanceList": [ + { + "relatedInstance": { + "instanceId": "{serviceInstanceId}", + "modelInfo": { + "modelType": "service", + "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff", + "modelVersionId": "9ebb1521-2e74-47a4-aac7-e71a79f73a79", + "modelName": "{parent service model name}", + "modelVersion": "2.0", + "modelCustomizationName": "vSAMP12 1", + "modelCustomizationId": "c539433a-84a6-4082-a12e-5c9b00c3b960" + } + } + } + ] + } + ], + "requestType": null +}
\ No newline at end of file diff --git a/vid-app-common/src/test/resources/get-vnf-workflow-relation-request.json b/vid-app-common/src/test/resources/get-vnf-workflow-relation-request.json new file mode 100644 index 000000000..6bc51e618 --- /dev/null +++ b/vid-app-common/src/test/resources/get-vnf-workflow-relation-request.json @@ -0,0 +1,28 @@ +{ + "vnfsDetails": [ + { + "UUID": "uuid-1", + "invariantUUID": "invariantUUID-1" + }, + { + "UUID": "uuid-2", + "invariantUUID": "invariantUUID-2" + }, + { + "UUID": "uuid-3", + "invariantUUID": "invariantUUID-3" + }, + { + "UUID": "uuid-4", + "invariantUUID": "invariantUUID-4" + }, + { + "UUID": "uuid-5", + "invariantUUID": "invariantUUID-5" + }, + { + "UUID": "uuid-6", + "invariantUUID": "invariantUUID-6" + } + ] +}
\ No newline at end of file diff --git a/vid-app-common/src/test/resources/vnf-workflow-relation-request.json b/vid-app-common/src/test/resources/vnf-workflow-relation-request.json new file mode 100644 index 000000000..4794a933b --- /dev/null +++ b/vid-app-common/src/test/resources/vnf-workflow-relation-request.json @@ -0,0 +1,25 @@ +{ + "workflowsDetails": [ + { + "vnfDetails": { + "UUID": "uuid-1", + "invariantUUID": "invariantUuid-1" + }, + "workflowName": "workflow-name-1" + }, + { + "vnfDetails": { + "UUID": "uuid-1", + "invariantUUID": "invariantUuid-1" + }, + "workflowName": "workflow-name-1" + }, + { + "vnfDetails": { + "UUID": "uuid-1", + "invariantUUID": "invariantUuid-1" + }, + "workflowName": "workflow-name-1" + } + ] +}
\ No newline at end of file |