summaryrefslogtreecommitdiffstats
path: root/src/test/resources/payloads/bulk.json
blob: 3d514a3b040bd7d4007b8b04860f87eb6cd91a86 (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
{
  "objects":[
    {
      "operation":"add",
      "v1":{
        "type":"vserver",
        "properties":{
          "vserver-id":"VSER1",
          "vserver-name":"test-vserver",
          "vserver-name2":"alt-test-vserver",
          "vserver-selflink":"http://1.2.3.4/moreInfo",
          "in-maint":false,
          "is-closed-loop-disabled":false
        }
      }
    },
    {
      "operation":"modify",
      "v2":{
        "id":"50bdab41-ad1c-4d00-952c-a0aa5d827811",
        "type":"pserver",
        "properties":{
          "ptnii-equip-name":"e-name",
          "equip-type":"server",
          "hostname":"steve-host2",
          "equip-vendor":"HP",
          "equip-model":"DL380p-nd",
          "fqdn":"myhost.onap.net",
          "purpose":"my-purpose",
          "ipv4-oam-address":"1.2.3.4"
        }
      }
    },
    {
      "operation":"delete",
      "v3":{
        "id":"50bdab41-ad1c-4d00-952c-a0aa5d827811",
        "type":"pserver"
      }
    }
  ],
  "relationships":[
    {
      "operation":"add",
      "e1":{
        "type":"tosca.relationships.HostedOn",
        "source":"services/inventory/v11/vserver/50bdab41-ad1c-4d00-952c-a0aa5d827811",
        "target":"services/inventory/v11/pserver/1d326bc7-b985-492b-9604-0d5d1f06f908",
        "properties":{
          "contains-other-v":"NONE",
          "delete-other-v":"NONE",
          "SVC-INFRA":"OUT",
          "prevent-delete":"IN"
        }
      }
    },
    {
      "operation":"modify",
      "e2":{
        "id":"50bdab41-ad1c-4d00-952c-a0aa5d827811",
        "type":"tosca.relationships.HostedOn",
        "source":"services/inventory/v11/vserver/50bdab41-ad1c-4d00-952c-a0aa5d827811",
        "target":"services/inventory/v11/pserver/1d326bc7-b985-492b-9604-0d5d1f06f908",
        "properties":{
          "contains-other-v":"NONE",
          "delete-other-v":"NONE",
          "SVC-INFRA":"OUT",
          "prevent-delete":"IN"
        }
      }
    },
    {
      "operation":"delete",
      "e3":{
        "id":"50bdab41-ad1c-4d00-952c-a0aa5d827811",
        "type":"tosca.relationships.HostedOn"
      }
    }
  ]
}