diff options
author | Ittay Stern <ittay.stern@att.com> | 2018-12-17 04:13:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-12-17 04:13:18 +0000 |
commit | 170d49d3239592e22c2798b0ef5f3775d53aeb4b (patch) | |
tree | 8550db0398e09a70955766095a8615df4704ed46 /vid-app-common/src/test/resources | |
parent | 06bae9d5c887c23e6bca71336420659a8039ab78 (diff) | |
parent | a17096bb5555c4fff43cdb3094c9b8b96bb3fd61 (diff) |
Merge "ChangeManagementController tests"
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 |