summaryrefslogtreecommitdiffstats
path: root/ms/generic-resource-api/src/test/resources/service1-service_vnf.json
blob: db98c623ebdd1b9898ecd5e5be197a9107160d47 (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
{
  "service": [
    {
      "service-instance-id": "service1",
      "service-data": {
        "request-information": {
          "request-id": "f5554477-51c7-4f8e-9183-f8968f3f86bf",
          "request-action": "CreateServiceInstance",
          "source": "MSO"
        },
        "service-request-input": {
          "service-instance-name": "NGINX-INGRESS-1"
        },
        "service-information": {
          "service-id": "service1",
          "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": "service1",
          "global-customer-id": "Demonstration",
          "subscription-service-type": "service-nginx-ingress-1"
        },
        "service-topology": {
          "service-topology-identifier": {
            "service-instance-id": "service1",
            "service-instance-name": "NGINX-INGRESS-1",
            "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": "service1",
                  "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": "service1",
                  "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"
                      ]
                    }
                  }
                }
              }
            }
          ]
        }
      },
      "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"
      }
    }
  ]
}