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