summaryrefslogtreecommitdiffstats
path: root/holmes-actions/src/test/resources/aai-mdons.json
blob: 517751cb3afc28c9cc79d691816eb41f5dd10e33 (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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
{
   "get-pnf-by-id":{
      "pnf":[
         {
            "pnf-name":"test1",
            "in-maint":false,
            "resource-version":"1593337809133",
            "operational-status":"down"
         }
      ]
   },
   "get-domain-service":{
      "service-instance-id":"789",
      "service-instance-name":"domain-service",
      "service-type":"Domain-Service",
      "service-rate":"ODU2",
      "service-layer":"ODU",
      "orchestration-status":"CREATED",
      "resource-version":"1592808052617",
      "relationship-list":{
         "relationship":[
            {
               "related-to":"p-interface",
               "relationship-label":"org.onap.relationships.inventory.ComposedOf",
               "related-link":"/aai/v19/network/pnfs/pnf/test1/p-interfaces/p-interface/int1",
               "relationship-data":[
                  {
                     "relationship-key":"pnf.pnf-name",
                     "relationship-value":"test1"
                  },
                  {
                     "relationship-key":"p-interface.interface-name",
                     "relationship-value":"int1"
                  }
               ]
            },
            {
               "related-to":"p-interface",
               "relationship-label":"org.onap.relationships.inventory.ComposedOf",
               "related-link":"/aai/v19/network/pnfs/pnf/test2/p-interfaces/p-interface/int4",
               "relationship-data":[
                  {
                     "relationship-key":"pnf.pnf-name",
                     "relationship-value":"test2"
                  },
                  {
                     "relationship-key":"p-interface.interface-name",
                     "relationship-value":"int4"
                  }
               ],
               "related-to-property":[
                  {
                     "property-key":"service-instance.service-instance-name",
                     "property-value":"domain-service"
                  }
               ]
            },
            {
               "related-to":"service-instance",
               "relationship-label":"org.onap.relationships.inventory.ComposedOf",
               "related-link":"/aai/v19/business/customers/customer/Orange/service-subscriptions/service-subscription/MDONS_OTN/service-instances/service-instance/123",
               "relationship-data":[
                  {
                     "relationship-key":"customer.global-customer-id",
                     "relationship-value":"Orange"
                  },
                  {
                     "relationship-key":"service-subscription.service-type",
                     "relationship-value":"MDONS_OTN"
                  },
                  {
                     "relationship-key":"service-instance.service-instance-id",
                     "relationship-value":"123"
                  }
               ],
               "related-to-property":[
                  {
                     "property-key":"service-instance.service-instance-name",
                     "property-value":"access-service"
                  }
               ]
            }
         ]
      }
   },
   "get-access-service":{
      "service-instance-id":"123",
      "service-instance-name":"access-service",
      "service-type":"Access-Service",
      "service-rate":"ODU2",
      "service-layer":"ODU",
      "resource-version":"1593324022557",
      "orchestration-status":"CREATED",
      "relationship-list":{
         "relationship":[
            {
               "related-to":"service-instance",
               "relationship-label":"org.onap.relationships.inventory.ComposedOf",
               "related-link":"/aai/v19/business/customers/customer/Orange/service-subscriptions/service-subscription/MDONS_OTN/service-instances/service-instance/789",
               "relationship-data":[
                  {
                     "relationship-key":"customer.global-customer-id",
                     "relationship-value":"Orange"
                  },
                  {
                     "relationship-key":"service-subscription.service-type",
                     "relationship-value":"MDONS_OTN"
                  },
                  {
                     "relationship-key":"service-instance.service-instance-id",
                     "relationship-value":"789"
                  }
               ],
               "related-to-property":[
                  {
                     "property-key":"service-instance.service-instance-name",
                     "property-value":"domain-service"
                  }
               ]
            },
            {
               "related-to":"logical-link",
               "relationship-label":"org.onap.relationships.inventory.ComposedOf",
               "related-link":"/aai/v19/network/logical-links/logical-link/link1",
               "relationship-data":[
                  {
                     "relationship-key":"logical-link.link-name",
                     "relationship-value":"link1"
                  }
               ]
            }
         ]
      }
   },
   "pnf-depth-all":{
      "pnf-name":"test1",
      "resource-version":"1593337809133",
      "operational-status":"down",
      "p-interfaces":{
         "p-interface":[
            {
               "interface-name":"int1",
               "in-maint":false,
               "resource-version":"159333780998",
               "relationship-list":{
                  "relationship":[
                     {
                        "related-to":"service-instance",
                        "relationship-label":"org.onap.relationships.inventory.ComposedOf",
                        "related-link":"/aai/v19/business/customers/customer/Orange/service-subscriptions/service-subscription/MDONS_OTN/service-instances/service-instance/789",
                        "relationship-data":[
                           {
                              "relationship-key":"customer.global-customer-id",
                              "relationship-value":"Orange"
                           },
                           {
                              "relationship-key":"service-subscription.service-type",
                              "relationship-value":"MDONS_OTN"
                           },
                           {
                              "relationship-key":"service-instance.service-instance-id",
                              "relationship-value":"789"
                           }
                        ],
                        "related-to-property":[
                           {
                              "property-key":"service-instance.service-instance-name",
                              "property-value":"domain-service"
                           }
                        ]
                     }
                  ]
               }
            },
            {
               "interface-name":"int2",
               "in-maint":false,
               "resource-version":"1593337809136"
            }
         ]
      }
   },
   "get-inter-link":{
      "link-name":"link1",
      "in-maint":false,
      "link-type":"inter-domain",
      "available-capacity":"ODU2",
      "resource-version":"1584338211407",
      "operational-status":"up"
   }
}