summaryrefslogtreecommitdiffstats
path: root/vid-ext-services-simulator/src/main/resources/preset_registration/environment/get_operational_environments_aai.json
diff options
context:
space:
mode:
authorSonsino, Ofir (os0695) <os0695@intl.att.com>2018-08-12 15:23:14 +0300
committerSonsino, Ofir (os0695) <os0695@intl.att.com>2018-08-12 15:23:57 +0300
commit8f848c65ee0000bb4211b228cf66ace774a8d9c6 (patch)
tree8abec7471adb0cac4ba9ff0fbcbedc56ea792621 /vid-ext-services-simulator/src/main/resources/preset_registration/environment/get_operational_environments_aai.json
parent91b057331b92ecf7f3c2d495681b05295dc8346c (diff)
vid-simulator dev and test tool
Change-Id: I38e7eead042bde3beeebbdf4e05a7f62f174fd1e Issue-ID: VID-281 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
Diffstat (limited to 'vid-ext-services-simulator/src/main/resources/preset_registration/environment/get_operational_environments_aai.json')
-rw-r--r--vid-ext-services-simulator/src/main/resources/preset_registration/environment/get_operational_environments_aai.json165
1 files changed, 165 insertions, 0 deletions
diff --git a/vid-ext-services-simulator/src/main/resources/preset_registration/environment/get_operational_environments_aai.json b/vid-ext-services-simulator/src/main/resources/preset_registration/environment/get_operational_environments_aai.json
new file mode 100644
index 000000000..b2834d6d3
--- /dev/null
+++ b/vid-ext-services-simulator/src/main/resources/preset_registration/environment/get_operational_environments_aai.json
@@ -0,0 +1,165 @@
+[{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v../cloud-infrastructure/operational-environments",
+ "queryParams": {
+ "operational-environment-type" : "VNF"
+ }
+ } ,
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "operational-environment":[
+ {
+ "operational-environment-id": "f07ca256-96dd-40ad-b4d2-7a77e2a974ea",
+ "operational-environment-name": "operational_environment_ea",
+ "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": "f07ca256-96dd-40ad-b4d2-7a77e2a974ea"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "operational-environment.operational-environment-name",
+ "property-value": "operational_environment_ecomp_ea"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "operational-environment-id": "f07ca256-96dd-40ad-b4d2-7a77e2a974eb",
+ "operational-environment-name": "operational_environment_eb",
+ "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": "f07ca256-96dd-40ad-b4d2-7a77e2a974eb"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "operational-environment.operational-environment-name",
+ "property-value": "operational_environment_ecomp_eb"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "operational-environment-id": "f07ca256-96dd-40ad-b4d2-7a77e2a974ec",
+ "operational-environment-name": "operational_environment_ec",
+ "operational-environment-type": "VNF",
+ "operational-environment-status": "Activate",
+ "tenant-context": "Test",
+ "workload-context": "ECOMP_Development",
+ "resource-version": "1505228226912",
+ "relationship-list": {
+ "relationship":[
+ {
+ "related-to": "operational-environment",
+ "related-link": "string",
+ "relationship-data": [
+ {
+ "relationship-key": "operational-environment.operational-environment-id",
+ "relationship-value": "f07ca256-96dd-40ad-b4d2-7a77e2a974ec"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "operational-environment.operational-environment-name",
+ "property-value": "operational_environment_ecomp_ec"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "operational-environment-id": "f07ca256-96dd-40ad-b4d2-7a77e2a974ed",
+ "operational-environment-name": "operational_environment_ed",
+ "operational-environment-type": "VNF",
+ "operational-environment-status": "Activate",
+ "tenant-context": "Test",
+ "workload-context": "ECOMP_Development",
+ "resource-version": "1505228226912",
+ "relationship-list": {
+ "relationship":[
+ {
+ "related-to": "operational-environment",
+ "related-link": "string",
+ "relationship-data": [
+ {
+ "relationship-key": "operational-environment.operational-environment-id",
+ "relationship-value": "f07ca256-96dd-40ad-b4d2-7a77e2a974ed"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "operational-environment.operational-environment-name",
+ "property-value": "operational_environment_ecomp_ed"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]}
+ }
+},
+ {
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v../cloud-infrastructure/operational-environments",
+ "queryParams": {
+ "operational-environment-type": "ECOMP"
+ }
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "operational-environment": [
+ {
+ "operational-environment-id": "f07ca256-96dd-40ad-b4d2-7a77e2a974ec",
+ "operational-environment-name": "operational_environment_ec",
+ "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": "operational_environment_ed",
+ "operational-environment-type": "ECOMP",
+ "operational-environment-status": "Activate",
+ "tenant-context": "ECOMP Test",
+ "workload-context": "ECOMP_Development",
+ "resource-version": "1505228226912"
+ }
+ ]
+ }
+ }
+ }]