aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/event/champ-update-notification-raw-with-relationship.json
blob: 31fb02f7961daf7d1867020ad9f941546b40b78c (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
{  
   "header":{  
      "event-type":"update-notification-raw",
      "request-id":"5491ee71-28e8-41f4-bd8c-bc10ab8d17e6",
      "source-name":"CHAMP",
      "timestamp":"20180725T093333Z"
   },
   "body":{  
      "transaction-id":"5491ee71-28e8-41f4-bd8c-bc10ab8d17e6",
      "relationship":{  
         "source":{  
            "type":"vserver",
            "relationship":false,
            "properties":{  
               "aai-last-mod-ts":1531240845176,
               "in-maint":false,
               "aai-uuid":"537494bd-1e8a-4198-9712-8cefa0f80457",
               "vserver-name":"test-vserver",
               "aai-created-ts":1531240845176,
               "last-mod-source-of-truth":"Gizmo-Creator",
               "vserver-id":"VSER1",
               "source-of-truth":"Gizmo-Creator",
               "vserver-name2":"alt-test-vserver",
               "vserver-selflink":"http://1.2.3.4/moreInfo",
               "is-closed-loop-disabled":false,
               "aai-node-type":"vserver"
            },
            "key":122904760,
            "object":true
         },
         "type":"tosca.relationships.HostedOn",
         "relationship":true,
         "properties":{  
            "aai-last-mod-ts":1532511213006,
            "aai-uuid":"b9c7d24a-64a5-4b89-a10a-a89ce58b1caa",
            "SVC-INFRA":"OUT",
            "prevent-delete":"IN",
            "aai-created-ts":1532511213006,
            "delete-other-v":"NONE",
            "contains-other-v":"NONE"
         },
         "key":"3dxpuf-2169x4-2ck5-2pjqz4",
         "target":{  
            "type":"pserver",
            "relationship":false,
            "properties":{  
               "ptnii-equip-name":"e-name",
               "aai-last-mod-ts":1528745939872,
               "equip-type":"server",
               "equip-vendor":"HP",
               "fqdn":"myhost.onap.net",
               "purpose":"my-purpose",
               "aai-created-ts":1528745939872,
               "ipv4-oam-address":"1.2.3.4",
               "source-of-truth":"ma-postman",
               "aai-node-type":"pserver",
               "hostname":"ma-host2-20180611-04",
               "equip-model":"DL380p-nd",
               "in-maint":"false",
               "aai-uuid":"981c0494-c742-4d75-851c-8194bbbd8a96",
               "resource-version":"1477013499",
               "last-mod-source-of-truth":"ma-postman"
            },
            "key":163844176,
            "object":true
         },
         "object":false
      },
      "operation":"STORE",
      "timestamp":1532511213729
   }
}