aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-list-schema-dublin-moco.json
diff options
context:
space:
mode:
Diffstat (limited to 'products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-list-schema-dublin-moco.json')
-rw-r--r--products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-list-schema-dublin-moco.json155
1 files changed, 155 insertions, 0 deletions
diff --git a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-list-schema-dublin-moco.json b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-list-schema-dublin-moco.json
new file mode 100644
index 00000000..40a8d7f3
--- /dev/null
+++ b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-list-schema-dublin-moco.json
@@ -0,0 +1,155 @@
+[ {
+ "request" : {
+ "method" : "get",
+ "uri" : "/aai/v14//aai/v14/cloud-infrastructure/complexes/",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-6752433d-3b43-41a3-9547-9a58a9f0f8f5",
+ "Content-Type" : "application/json"
+ },
+ "json" : null
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "complex" : [ {
+ "physical-location-id" : "clli1",
+ "data-center-code" : "example-data-center-code-val-5556",
+ "complex-name" : "clli1",
+ "identity-url" : "example-identity-url-val-56898",
+ "resource-version" : "1547842499867",
+ "physical-location-type" : "example-physical-location-type-val-7608",
+ "street1" : "example-street1-val-34205",
+ "street2" : "example-street2-val-99210",
+ "city" : "example-city-val-27150",
+ "state" : "example-state-val-59487",
+ "postal-code" : "00000",
+ "country" : "USA",
+ "region" : "example-region-val-13893",
+ "latitude" : "32.89948",
+ "longitude" : "97.045443",
+ "elevation" : "example-elevation-val-28399",
+ "lata" : "example-lata-val-28399",
+ "relationship-list" : {
+ "relationship" : [ {
+ "related-to" : "cloud-region",
+ "relationship-label" : "org.onap.relationships.inventory.LocatedIn",
+ "related-link" : "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-05",
+ "relationship-data" : [ {
+ "relationship-key" : "cloud-region.cloud-owner",
+ "relationship-value" : "CloudOwner"
+ }, {
+ "relationship-key" : "cloud-region.cloud-region-id",
+ "relationship-value" : "ONAP-POD-01-Rail-05"
+ } ],
+ "related-to-property" : [ {
+ "property-key" : "cloud-region.owner-defined-type",
+ "property-value" : "t1"
+ } ]
+ }, {
+ "related-to" : "cloud-region",
+ "relationship-label" : "org.onap.relationships.inventory.LocatedIn",
+ "related-link" : "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-04",
+ "relationship-data" : [ {
+ "relationship-key" : "cloud-region.cloud-owner",
+ "relationship-value" : "CloudOwner"
+ }, {
+ "relationship-key" : "cloud-region.cloud-region-id",
+ "relationship-value" : "ONAP-POD-01-Rail-04"
+ } ],
+ "related-to-property" : [ {
+ "property-key" : "cloud-region.owner-defined-type",
+ "property-value" : "t1"
+ } ]
+ }, {
+ "related-to" : "cloud-region",
+ "relationship-label" : "org.onap.relationships.inventory.LocatedIn",
+ "related-link" : "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-06",
+ "relationship-data" : [ {
+ "relationship-key" : "cloud-region.cloud-owner",
+ "relationship-value" : "CloudOwner"
+ }, {
+ "relationship-key" : "cloud-region.cloud-region-id",
+ "relationship-value" : "ONAP-POD-01-Rail-06"
+ } ],
+ "related-to-property" : [ {
+ "property-key" : "cloud-region.owner-defined-type",
+ "property-value" : "t1"
+ } ]
+ }, {
+ "related-to" : "cloud-region",
+ "relationship-label" : "org.onap.relationships.inventory.LocatedIn",
+ "related-link" : "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne",
+ "relationship-data" : [ {
+ "relationship-key" : "cloud-region.cloud-owner",
+ "relationship-value" : "CloudOwner"
+ }, {
+ "relationship-key" : "cloud-region.cloud-region-id",
+ "relationship-value" : "RegionOne"
+ } ],
+ "related-to-property" : [ {
+ "property-key" : "cloud-region.owner-defined-type",
+ "property-value" : "t1"
+ } ]
+ } ]
+ }
+ }, {
+ "physical-location-id" : "clli2",
+ "data-center-code" : "code6",
+ "complex-name" : "clli2",
+ "identity-url" : "url",
+ "resource-version" : "1551206645488",
+ "physical-location-type" : "phy_type",
+ "street1" : "street1",
+ "street2" : "street2",
+ "city" : "HIlls",
+ "state" : "OR",
+ "postal-code" : "88889",
+ "country" : "ENG",
+ "region" : "region_val",
+ "latitude" : "100.2",
+ "longitude" : "30.8",
+ "elevation" : "elev",
+ "lata" : "lata",
+ "relationship-list" : {
+ "relationship" : [ {
+ "related-to" : "cloud-region",
+ "relationship-label" : "org.onap.relationships.inventory.LocatedIn",
+ "related-link" : "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-07",
+ "relationship-data" : [ {
+ "relationship-key" : "cloud-region.cloud-owner",
+ "relationship-value" : "CloudOwner"
+ }, {
+ "relationship-key" : "cloud-region.cloud-region-id",
+ "relationship-value" : "ONAP-POD-01-Rail-07"
+ } ],
+ "related-to-property" : [ {
+ "property-key" : "cloud-region.owner-defined-type",
+ "property-value" : "t1"
+ } ]
+ } ]
+ }
+ }, {
+ "physical-location-id" : "clli3",
+ "data-center-code" : "code6",
+ "complex-name" : "clli3",
+ "identity-url" : "url",
+ "resource-version" : "1552414833543",
+ "physical-location-type" : "phy_type",
+ "street1" : "street1",
+ "street2" : "street2",
+ "city" : "HIlls",
+ "state" : "CA",
+ "postal-code" : "88888",
+ "country" : "NIG",
+ "region" : "region_val",
+ "latitude" : "10.2",
+ "longitude" : "30.8",
+ "elevation" : "elev",
+ "lata" : "lata"
+ } ]
+ }
+ }
+} ] \ No newline at end of file