aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/complex/complex-list-schema-dublin-moco.json
blob: 40a8d7f3105fa6ce45d12a573bd3725574ec2391 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
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"
      } ]
    }
  }
} ]