Enhancements for the aai-common library
[aai/aai-common.git] / aai-core / src / test / resources / payloads / resource / transform-results-to-result.json
1 {
2     "results": [
3         {
4             "id": "286724136",
5             "node-type": "pserver",
6             "url": "/aai/v18/cloud-infrastructure/pservers/pserver/test-pserver1",
7             "properties": {
8                 "equip-type": "SERVER",
9                 "equip-vendor": "SomeVendor",
10                 "equip-model": "SomeModel",
11                 "in-maint": false,
12                 "last-mod-source-of-truth": "AAIRctFeed",
13                 "aai-node-type": "pserver",
14                 "aai-created-ts": 1568997029298,
15                 "aai-last-mod-ts": 1568997029298,
16                 "source-of-truth": "AAI",
17                 "aai-uri": "/cloud-infrastructure/pservers/pserver/test-pserver1",
18                 "aai-uuid": "05fa7b64-59e4-44a1-8162-e32746659c77",
19                 "ipv4-oam-address": "1.2.3.4",
20                 "hostname": "test-pserver1",
21                 "pserver-id": "6bf4944a-9f13-4bb8-8f49-b61060793510",
22                 "purpose": "Standalone",
23                 "fqdn": "a.b.c.d",
24                 "ptnii-equip-name": "test-pserver1",
25                 "resource-version": "1568997029298"
26             },
27             "related-to": [
28                 {
29                     "id": "286724232",
30                     "relationship-label": "org.onap.relationships.inventory.LocatedIn",
31                     "node-type": "complex",
32                     "url": "/aai/v18/cloud-infrastructure/complexes/complex/testcomplex2"
33                 },
34                 {
35                     "id": "286724233",
36                     "relationship-label": "org.onap.relationships.inventory.LocatedIn",
37                     "node-type": "complex",
38                     "url": "/aai/v18/cloud-infrastructure/complexes/complex/testcomplex1"
39                 }
40             ]
41         },
42         {
43             "id": "286724152",
44             "node-type": "pserver",
45             "url": "/aai/v18/cloud-infrastructure/pservers/pserver/test-pserver2",
46             "properties": {
47                 "in-maint": false,
48                 "last-mod-source-of-truth": "JUNITTESTAPP2",
49                 "aai-node-type": "pserver",
50                 "aai-created-ts": 1553805738492,
51                 "aai-last-mod-ts": 1553805738492,
52                 "source-of-truth": "JUNITTESTAPP2",
53                 "aai-uri": "/cloud-infrastructure/pservers/pserver/test-pserver2",
54                 "aai-uuid": "13a8440c-7fb4-4f41-a141-6e1d9e895b4a",
55                 "hostname": "test-pserver2",
56                 "resource-version": "1553805738492"
57             },
58             "related-to": []
59         }
60     ]
61 }