aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/self-serve-vnf-assignments.json
blob: 666e918963f5fd402c20c1b37c3adfc7fe47805b (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
{
    "vnf": [{
        "vnf-id": ${vf.vnf-id},
        "vnf-data": {
            "sdnc-request-header": {
                "svc-request-id": ${vf.vnf-data.sdnc-request-header.svc-request-id},
                "svc-action": ${vf.vnf-data.sdnc-request-header.svc-action},
                "svc-notification-url": ${vf.vnf-data.sdnc-request-header.svc-notification-url}
            },
            "request-information": {
                "request-id": ${vf.vnf-data.request-information.request-id},
                "request-action": ${vf.vnf-data.request-information.request-action},
                "source": ${vf.vnf-data.request-information.source},
                "notification-url": ${vf.vnf-data.request-information.notification-url},
                "order-number": ${vf.vnf-data.request-information.order-number},
                "order-version": ${vf.vnf-data.request-information.order-version}
            },
            "service-information": {
                "service-id": ${vf.vnf-data.service-information.service-id},
                "subscription-service-type": ${vf.vnf-data.service-information.subscription-service-type},
                "onap-model-information": {
                    "model-invariant-uuid": ${vf.vnf-data.service-information.onap-model-information.model-invariant-uuid},
                    "model-customization-uuid": ${vf.vnf-data.service-information.onap-model-information.model-customization-uuid},
                    "model-uuid": ${vf.vnf-data.service-information.onap-model-information.model-uuid},
                    "model-version": ${vf.vnf-data.service-information.onap-model-information.model-version},
                    "model-name": ${vf.vnf-data.service-information.onap-model-information.model-name}
                },
                "service-instance-id": ${vf.vnf-data.service-information.service-instance-id},
                "global-customer-id": ${vf.vnf-data.service-information.global-customer-id},
                "subscriber-name": ${vf.vnf-data.service-information.subscriber-name}
            },
            "vnf-information": {
                "vnf-id": ${vf.vnf-data.vnf-information.vnf-id},
                "vnf-type": ${vf.vnf-data.vnf-information.vnf-type},
                "vnf-name": ${vf.vnf-data.vnf-information.vnf-name},
                "onap-model-information": {
                    "model-invariant-uuid": ${vf.vnf-data.vnf-information.onap-model-information.model-invariant-uuid},
                    "model-customization-uuid": ${vf.vnf-data.vnf-information.onap-model-information.model-customization-uuid},
                    "model-uuid": ${vf.vnf-data.vnf-information.onap-model-information.model-uuid},
                    "model-version": ${vf.vnf-data.vnf-information.onap-model-information.model-version},
                    "model-name": ${vf.vnf-data.vnf-information.onap-model-information.model-name}
                }
            },
            "vnf-request-input": {
                "request-version": ${vf.vnf-data.vnf-request-input.request-version},
                "vnf-name": ${vf.vnf-data.vnf-request-input.vnf-name},
                "tenant": ${vf.vnf-data.vnf-request-input.tenant},
                "aic-cloud-region": ${vf.vnf-data.vnf-request-input.aic-cloud-region},
                "aic-clli": ${vf.vnf-data.vnf-request-input.aic-clli},
                "vnf-input-parameters": {
                    "param": [
        ${repeat:vf.vnf-data.vnf-request-input.vnf-input-parameters.param_length:
                        {
                            "name": ${vf.vnf-data.vnf-request-input.vnf-input-parameters.param[${1}].name},
                            "value": ${vf.vnf-data.vnf-request-input.vnf-input-parameters.param[${1}].value}
                        },
        }
                    ]
                }
            },
            "vnf-topology": {
                "vnf-topology-identifier-structure": {
                    "vnf-id": ${vf.vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-id},
                    "vnf-name": ${vf.vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-name},
                    "vnf-type": ${vf.vnf-data.vnf-topology.vnf-topology-identifier-structure.vnf-type}
                },
                "onap-model-information": {
                    "model-invariant-uuid": ${vf.vnf-data.vnf-topology.onap-model-information.model-invariant-uuid},
                    "model-customization-uuid": ${vf.vnf-data.vnf-topology.onap-model-information.model-customization-uuid},
                    "model-uuid": ${vf.vnf-data.vnf-topology.onap-model-information.model-uuid},
                    "model-version": ${vf.vnf-data.vnf-topology.onap-model-information.model-version},
                    "model-name": ${vf.vnf-data.vnf-topology.onap-model-information.model-name}
                },
                "vnf-parameters-data": {
                    "param": [
        ${repeat:vf.vnf-data.vnf-topology.vnf-parameters-data.param_length:
                        {
                            "name": ${vf.vnf-data.vnf-topology.vnf-parameters-data.param[${1}].name},
                            "value": ${vf.vnf-data.vnf-topology.vnf-parameters-data.param[${1}].value},
                            "resource-resolution-data": {
                                "resource-key": [
                ${repeat:vf.vnf-data.vnf-topology.vnf-parameters-data.param[${1}].resource-resolution-data.resource-key_length:
                                    {
                                        "name": ${vf.vnf-data.vnf-topology.vnf-parameters-data.param[${1}].resource-resolution-data.resource-key[${2}].name},
                                        "value": ${vf.vnf-data.vnf-topology.vnf-parameters-data.param[${1}].resource-resolution-data.resource-key[${2}].value}
                                    },
                }
                                ],
                                "status": ${vf.vnf-data.vnf-topology.vnf-parameters-data.param[${1}].resource-resolution-data.status},
                                "capability-name": ${vf.vnf-data.vnf-topology.vnf-parameters-data.param[${1}].resource-resolution-data.capability-name}
                            },
                        },
        }
                    ]
                },
                "tenant": ${vf.vnf-data.vnf-topology.tenant},
                "aic-cloud-region": ${vf.vnf-data.vnf-topology.aic-cloud-region},
                "aic-clli": ${vf.vnf-data.vnf-topology.aic-clli}
                "sdnc-generated-cloud-resources": ${vf.vnf-data.vnf-topology.sdnc-generated-cloud-resources}
            },
            "vnf-level-oper-status": {
                "order-status": ${vf.vnf-data.vnf-level-oper-status.order-status},
                "last-rpc-action": ${vf.vnf-data.vnf-level-oper-status.last-rpc-action},
                "last-action": ${vf.vnf-data.vnf-level-oper-status.last-action},
                "last-svc-request-id": ${vf.vnf-data.vnf-level-oper-status.last-svc-request-id},
                "last-order-status": ${vf.vnf-data.vnf-level-oper-status.last-order-status},
                "create-timestamp": ${vf.vnf-data.vnf-level-oper-status.create-timestamp},
                "modify-timestamp": ${vf.vnf-data.vnf-level-oper-status.modify-timestamp}
            }
        }
    }]
}