From 1cfb08779ea0e00be69e072a940b3063e049fe6b Mon Sep 17 00:00:00 2001 From: Ofir Sonsino Date: Wed, 31 Jan 2018 17:19:00 +0200 Subject: org.onap migration Change-Id: I52f0b2851f2c765752b6d21f49b32136d7d72a3d Issue-ID: VID-86 Signed-off-by: Ofir Sonsino --- .../get_operational_environments_aai.json | 88 ++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 vid-ext-services-simulator/src/main/resources/preset_registration/get_operational_environments_aai.json (limited to 'vid-ext-services-simulator/src/main/resources/preset_registration/get_operational_environments_aai.json') diff --git a/vid-ext-services-simulator/src/main/resources/preset_registration/get_operational_environments_aai.json b/vid-ext-services-simulator/src/main/resources/preset_registration/get_operational_environments_aai.json new file mode 100644 index 00000000..547f7f8f --- /dev/null +++ b/vid-ext-services-simulator/src/main/resources/preset_registration/get_operational_environments_aai.json @@ -0,0 +1,88 @@ +{ + "simulatorRequest": { + "method": "GET", + "path": "/aai/v12/cloud-infrastructure/operational-environments" + } , + "simulatorResponse": { + "responseCode": 200, + "body": { + "operational-environment":[ + { + "operational-environment-id": "f07ca256-96dd-40ad-b4d2-7a77e2a974ea", + "operational-environment-name": "Op Env Name", + "operational-environment-type": "VNF", + "operational-environment-status": "Activate", + "tenant-context": "Test", + "workload-context": "VNF_Development", + "resource-version": "1505228226913", + "relationship-list": { + "relationship": [ + { + "related-to": "operational-environment", + "related-link": "string", + "relationship-data": [ + { + "relationship-key": "operational-environment.operational-environment-id", + "relationship-value": "UUID of the ECOMP Operational Environment" + } + ], + "related-to-property": [ + { + "property-key": "operational-environment.operational-name", + "property-value": "Name of the ECOMP Operational Environment" + } + ] + } + ] + } + }, + { + "operational-environment-id": "f07ca256-96dd-40ad-b4d2-7a77e2a974eb", + "operational-environment-name": "Op Env Name", + "operational-environment-type": "VNF", + "operational-environment-status": "Deactivate", + "tenant-context": "Test", + "workload-context": "VNF_Development", + "resource-version": "1505228226913", + "relationship-list": { + "relationship":[ + { + "related-to": "operational-environment", + "related-link": "string", + "relationship-data": [ + { + "relationship-key": "operational-environment.operational-environment-id", + "relationship-value": "UUID of the ECOMP Operational Environment" + } + ], + "related-to-property": [ + { + "property-key": "operational-environment.operational-name", + "property-value": "Name of the ECOMP Operational Environment" + } + ] + } + ] + } + }, + { + "operational-environment-id": "f07ca256-96dd-40ad-b4d2-7a77e2a974ec", + "operational-environment-name": "ECOMP Env Name", + "operational-environment-type": "ECOMP", + "operational-environment-status": "Activate", + "tenant-context": "ECOMP Test", + "workload-context": "ECOMP_Development", + "resource-version": "1505228226912" + }, + { + "operational-environment-id": "f07ca256-96dd-40ad-b4d2-7a77e2a974ed", + "operational-environment-name": "ECOMP Env Name", + "operational-environment-type": "ECOMP", + "operational-environment-status": "Activate", + "tenant-context": "ECOMP Test", + "workload-context": "ECOMP_Development", + "resource-version": "1505228226912" + } + ]} + } +} \ No newline at end of file -- cgit 1.2.3-korg