aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/test/resources')
-rw-r--r--vid-app-common/src/test/resources/change-management-request.json47
-rw-r--r--vid-app-common/src/test/resources/get-vnf-workflow-relation-request.json28
-rw-r--r--vid-app-common/src/test/resources/vnf-workflow-relation-request.json25
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