summaryrefslogtreecommitdiffstats
path: root/ms/gra/gra-app/src/test/resources/service1.json
blob: 00b9b4be9777e597fb250f57054b41644ce97b53 (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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
{
  "service": [
    {
      "service-instance-id": "5c4f2d89-57a3-47e9-b49b-d3c63eb0b3ca",
      "service-data": {
        "request-information": {
          "request-id": "f5554477-51c7-4f8e-9183-f8968f3f86bf",
          "request-action": "CreateServiceInstance",
          "source": "MSO"
        },
        "service-request-input": {
          "service-instance-name": "zrdm61asmsf01_svc"
        },
        "service-information": {
          "service-id": "5c4f2d89-57a3-47e9-b49b-d3c63eb0b3ca",
          "onap-model-information": {
            "model-name": "service-nginx-ingress-1",
            "model-invariant-uuid": "0fe6193d-2d65-4b8e-a4ee-a07821566b5e",
            "model-version": "1.0",
            "model-uuid": "48223a6a-f5e1-4354-95eb-f5ea014fc9df"
          },
          "service-instance-id": "5c4f2d89-57a3-47e9-b49b-d3c63eb0b3ca",
          "global-customer-id": "Demonstration",
          "subscription-service-type": "service-nginx-ingress-1"
        },
        "service-topology": {
          "service-topology-identifier": {
            "service-instance-id": "5c4f2d89-57a3-47e9-b49b-d3c63eb0b3ca",
            "service-instance-name": "zrdm61asmsf01_svc",
            "service-type": "service-nginx-ingress-1",
            "global-customer-id": "Demonstration"
          },
          "onap-model-information": {
            "model-name": "service-nginx-ingress-1",
            "model-invariant-uuid": "0fe6193d-2d65-4b8e-a4ee-a07821566b5e",
            "model-version": "1.0",
            "model-uuid": "48223a6a-f5e1-4354-95eb-f5ea014fc9df"
          }
        },
        "service-level-oper-status": {
          "order-status": "Created",
          "last-rpc-action": "assign",
          "last-action": "CreateServiceInstance"
        },
        "sdnc-request-header": {
          "svc-action": "assign",
          "svc-request-id": "6d06a832-69da-4369-9d99-049767a39400"
        },
        "vnfs": {
          "vnf": [
            {
              "vnf-id": "fae319cc-68d6-496f-be1e-a09e133c71d4",
              "vnf-data": {
                "vnf-level-oper-status": {
                  "order-status": "Created",
                  "last-rpc-action": "activate",
                  "last-action": "CreateVnfInstance"
                },
                "service-information": {
                  "service-id": "5c4f2d89-57a3-47e9-b49b-d3c63eb0b3ca",
                  "onap-model-information": {
                    "model-name": "service-nginx-ingress-1",
                    "model-invariant-uuid": "0fe6193d-2d65-4b8e-a4ee-a07821566b5e",
                    "model-version": "1.0",
                    "model-uuid": "48223a6a-f5e1-4354-95eb-f5ea014fc9df"
                  },
                  "service-instance-id": "5c4f2d89-57a3-47e9-b49b-d3c63eb0b3ca",
                  "global-customer-id": "Demonstration",
                  "subscription-service-type": "service-nginx-ingress-1"
                },
                "sdnc-request-header": {
                  "svc-action": "activate",
                  "svc-request-id": "acf0c0db-106f-42e4-b77b-191e9d229eb9",
                  "svc-notification-url": "http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/SDNCCallback/b8f92243-85cb-4954-970d-7e0159b9a48b"
                },
                "vnf-information": {
                  "vnf-id": "fae319cc-68d6-496f-be1e-a09e133c71d4",
                  "onap-model-information": {
                    "model-name": "nginx-ingress-1",
                    "model-invariant-uuid": "ebd1565b-a98f-4d77-9b91-6aefd51d040c",
                    "model-version": "1.0",
                    "model-customization-uuid": "69cff101-d1f2-4bf3-9697-57f52ba3c5dd",
                    "model-uuid": "dfeccc32-2459-43bf-bfdd-36567e696090"
                  },
                  "vnf-type": "service-nginx-ingress-1/nginx-ingress-1 0",
                  "vnf-name": "Python_ONAP_SDK_vnf_instance_2aff902a-4714-4d08-942d-d97b3a3b87c2"
                },
                "request-information": {
                  "request-id": "c382d6d1-2108-4c39-ab7a-c3e67cdbc749",
                  "request-action": "CreateVnfInstance",
                  "source": "MSO"
                },
                "vnf-request-input": {
                  "vnf-name": "Python_ONAP_SDK_vnf_instance_2aff902a-4714-4d08-942d-d97b3a3b87c2",
                  "tenant": "k8s_tenant_1",
                  "cloud-owner": "k8sCloudOwner",
                  "aic-cloud-region": "k8s_region_1"
                },
                "vnf-topology": {
                  "onap-model-information": {
                    "model-name": "nginx-ingress-1",
                    "model-invariant-uuid": "ebd1565b-a98f-4d77-9b91-6aefd51d040c",
                    "model-version": "1.0",
                    "model-customization-uuid": "69cff101-d1f2-4bf3-9697-57f52ba3c5dd",
                    "model-uuid": "dfeccc32-2459-43bf-bfdd-36567e696090"
                  },
                  "tenant": "k8s_tenant_1",
                  "aic-clli": "complexMC",
                  "aic-cloud-region": "k8s_region_1",
                  "vnf-topology-identifier-structure": {
                    "vnf-id": "fae319cc-68d6-496f-be1e-a09e133c71d4",
                    "vnf-type": "service-nginx-ingress-1/nginx-ingress-1 0",
                    "vnf-name": "Python_ONAP_SDK_vnf_instance_2aff902a-4714-4d08-942d-d97b3a3b87c2"
                  },
                  "vnf-resource-assignments": {
                    "availability-zones": {
                      "availability-zone": [
                        "k8s_availability_zone_1"
                      ]
                    }
                  }
                },
                "vf-modules": {
                  "vf-module": [
                    {
                      "vf-module-id": "269bda16-f40c-41a9-baef-e8905ab2b70e",
                      "vf-module-data": {
                        "service-information": {
                          "service-id": "5c4f2d89-57a3-47e9-b49b-d3c63eb0b3ca",
                          "onap-model-information": {
                            "model-name": "service-nginx-ingress-1",
                            "model-invariant-uuid": "0fe6193d-2d65-4b8e-a4ee-a07821566b5e",
                            "model-version": "1.0",
                            "model-uuid": "48223a6a-f5e1-4354-95eb-f5ea014fc9df"
                          },
                          "service-instance-id": "5c4f2d89-57a3-47e9-b49b-d3c63eb0b3ca",
                          "global-customer-id": "Demonstration",
                          "subscription-service-type": "service-nginx-ingress-1"
                        },
                        "vf-module-topology": {
                          "onap-model-information": {
                            "model-name": "NginxIngress1..nginx-ingress..module-0",
                            "model-invariant-uuid": "caa22b8e-e0de-4d2c-9048-9a71d39afd91",
                            "model-version": "1",
                            "model-customization-uuid": "d6403fe2-ebe4-4fce-bec2-0218f61b2564",
                            "model-uuid": "e5d2fe74-9534-4a7c-9a1b-f49ecf1105e3"
                          },
                          "vf-module-parameters": {
                            "param": [
                              {
                                "name": "availability_zone_0",
                                "value": "k8s_availability_zone_1"
                              },
                              {
                                "name": "k8s-rb-profile-name",
                                "value": "default"
                              }
                            ]
                          },
                          "tenant": "k8s_tenant_1",
                          "sdnc-generated-cloud-resources": true,
                          "aic-clli": "complexMC",
                          "vf-module-topology-identifier": {
                            "vf-module-type": "NginxIngress1..nginx-ingress..module-0",
                            "vf-module-id": "269bda16-f40c-41a9-baef-e8905ab2b70e",
                            "vf-module-name": "Python_ONAP_SDK_vf_module_instance_678cc889-0c89-40f3-9f5b-1f475d5c4ebb"
                          },
                          "aic-cloud-region": "k8s_region_1"
                        },
                        "vf-module-request-input": {
                          "vf-module-name": "Python_ONAP_SDK_vf_module_instance_678cc889-0c89-40f3-9f5b-1f475d5c4ebb",
                          "tenant": "k8s_tenant_1",
                          "cloud-owner": "k8sCloudOwner",
                          "aic-cloud-region": "k8s_region_1"
                        },
                        "sdnc-request-header": {
                          "svc-action": "activate",
                          "svc-request-id": "bf81d48a-d5f9-42f2-bc49-9277f0e2a836",
                          "svc-notification-url": "http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/SDNCCallback/64780567-ecf5-41c9-af36-bb06f8ae0e5d"
                        },
                        "vnf-information": {
                          "vnf-id": "fae319cc-68d6-496f-be1e-a09e133c71d4",
                          "onap-model-information": {
                            "model-name": "nginx-ingress-1",
                            "model-invariant-uuid": "ebd1565b-a98f-4d77-9b91-6aefd51d040c",
                            "model-version": "1.0",
                            "model-customization-uuid": "69cff101-d1f2-4bf3-9697-57f52ba3c5dd",
                            "model-uuid": "dfeccc32-2459-43bf-bfdd-36567e696090"
                          },
                          "vnf-type": "service-nginx-ingress-1/nginx-ingress-1 0",
                          "vnf-name": "Python_ONAP_SDK_vnf_instance_2aff902a-4714-4d08-942d-d97b3a3b87c2"
                        },
                        "vf-module-information": {
                          "onap-model-information": {
                            "model-name": "NginxIngress1..nginx-ingress..module-0",
                            "model-invariant-uuid": "caa22b8e-e0de-4d2c-9048-9a71d39afd91",
                            "model-version": "1",
                            "model-customization-uuid": "d6403fe2-ebe4-4fce-bec2-0218f61b2564",
                            "model-uuid": "e5d2fe74-9534-4a7c-9a1b-f49ecf1105e3"
                          },
                          "vf-module-id": "269bda16-f40c-41a9-baef-e8905ab2b70e",
                          "vf-module-type": "NginxIngress1..nginx-ingress..module-0",
                          "from-preload": true
                        },
                        "request-information": {
                          "request-id": "051f3665-002c-4e3c-b62e-f8c0b48ef12e",
                          "request-action": "CreateVfModuleInstance",
                          "source": "MSO"
                        },
                        "vf-module-level-oper-status": {
                          "order-status": "Created",
                          "last-rpc-action": "activate"
                        }
                      }
                    }
                  ]
                }
              }
            }
          ]
        }
      },
      "service-status": {
        "final-indicator": "Y",
        "rpc-action": "activate",
        "rpc-name": "vf-module-topology-operation",
        "response-code": "200",
        "response-timestamp": "2020-06-24T13:06:24.525Z",
        "response-message": "",
        "action": "CreateVfModuleInstance",
        "request-status": "synccomplete"
      }
    }
  ]
}