aboutsummaryrefslogtreecommitdiffstats
path: root/common/src/test/resources/__files/aai/query/single-query-result.json
blob: eb12deae80e36201293d88f4622059e1e03439b3 (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
{
    "results": [
        {
            "url": "/aai/v14/cloud-infrastructure/complexes/complex/complex-id-15100-jc689q",
            "complex": {
                "physical-location-id": "complex-id-15100-jc689q",
                "resource-version": "1541786379243",
                "physical-location-type": "lvXHWJC",
                "street1": "uAAi5qjc1",
                "street2": "vkK6XQjc2",
                "city": "3Ec8JSW0JC",
                "state": "COczHmeJC",
                "postal-code": "D4J1",
                "country": "K0JC1",
                "region": "JzHqJC1",
                "relationship-list": {
                    "relationship": [
                        {
                            "related-to": "pserver",
                            "relationship-label": "org.onap.relationships.inventory.LocatedIn",
                            "related-link": "/aai/v14/cloud-infrastructure/pservers/pserver/pserver-15100-jc689q",
                            "relationship-data": [
                                {
                                    "relationship-key": "pserver.hostname",
                                    "relationship-value": "pserver-15100-jc689q"
                                }
                            ],
                            "related-to-property": [
                                {
                                    "property-key": "pserver.pserver-name2"
                                },
                                {
                                    "property-key": "pserver.fqdn"
                                }
                            ]
                        }
                    ]
                }
            }
        },
        {
            "url": "/aai/v14/cloud-infrastructure/complexes/complex/complex-id-15100-jc689q2",
            "complex": {
                "physical-location-id": "complex-id-15100-jc689q2",
                "resource-version": "1541786379243",
                "physical-location-type": "lvXHWJC",
                "street1": "uAAi5qjc1",
                "street2": "vkK6XQjc2",
                "city": "3Ec8JSW0JC",
                "state": "COczHmeJC",
                "postal-code": "D4J1",
                "country": "K0JC1",
                "region": "JzHqJC1",
                "relationship-list": {
                    "relationship": [
                        {
                            "related-to": "pserver",
                            "relationship-label": "org.onap.relationships.inventory.LocatedIn",
                            "related-link": "/aai/v14/cloud-infrastructure/pservers/pserver/pserver-15100-jc689q",
                            "relationship-data": [
                                {
                                    "relationship-key": "pserver.hostname",
                                    "relationship-value": "pserver-15100-jc689q"
                                }
                            ],
                            "related-to-property": [
                                {
                                    "property-key": "pserver.pserver-name2"
                                },
                                {
                                    "property-key": "pserver.fqdn"
                                }
                            ]
                        }
                    ]
                }
            }
        }
    ]
}