CCVPN RestApi template changes
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / sotn-attachment-allotted-resource.json
1 {
2     "connection-attachment-allotted-resource": [{
3         "allotted-resource-id": ${connection-attachment-ar.allotted-resource-id},
4         "allotted-resource-data": {
5             "allotted-resource-operation-information": {
6                 "allotted-resource-information": {
7                     "allotted-resource-id": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.allotted-resource-id},
8                     "allotted-resource-type": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.allotted-resource-type},
9                     "parent-service-instance-id": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.parent-service-instance-id},
10                     "onap-model-information": {
11                         "model-invariant-uuid": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-invariant-uuid},
12                         "model-customization-uuid": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-customization-uuid},
13                         "model-uuid": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-uuid},
14                         "model-version": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-version}
15                     }
16                 },
17                 "sdnc-request-header": {
18                     "svc-request-id": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id},
19                     "svc-action": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-action}
20                 },
21                 "request-information": {
22                     "request-id": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-id},
23                     "source": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.source},
24                     "order-version": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.order-version},
25                     "order-number": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.order-number},
26                     "notification-url": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.notification-url},
27                     "request-action": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action}
28                 },
29                 "connection-attachment-request-input": {
30                     "param": [
31                         {
32                             "name": "sotnVpnName",
33                             "value": ${prop.connection-attachment.sotnVpnName}
34                         },
35                         {
36                             "name": "access-provider-id",
37                             "value": ${prop.connection-attachment.access-provider-id}
38                         },
39                         {
40                             "name": "access-client-id",
41                             "value": ${prop.connection-attachment.access-client-id}
42                         },
43                         {
44                             "name": "access-topology-id",
45                             "value": ${prop.connection-attachment.access-topology-id}
46                         },
47                         {
48                             "name": "access-node-id",
49                             "value": ${prop.connection-attachment.access-node-id}
50                         },
51                         {
52                             "name": "access-ltp-id",
53                             "value": ${prop.connection-attachment.access-ltp-id}
54                         },
55                         {
56                             "name": "clientSignal",
57                             "value": ${prop.connection-attachment.clientSignal}
58                         },
59                         {
60                             "name": "cVLAN",
61                             "value": ${prop.connection-attachment.cVLAN}
62                         }
63                     ]
64                 }
65             },
66             "connection-attachment-topology": {
67                 "allotted-resource-identifiers": {
68                     "consuming-service-instance-id": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.consuming-service-instance-id},
69                     "allotted-resource-name": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.allotted-resource-name},
70                     "allotted-resource-id": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.allotted-resource-id},
71                     "parent-service-instance-id": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.parent-service-instance-id},
72                     "allotted-resource-type": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.allotted-resource-type}
73                 },
74                 "onap-model-information": {
75                     "model-invariant-uuid": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.model-invariant-uuid},
76                     "model-customization-uuid": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.model-customization-uuid},
77                     "model-uuid": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.model-uuid},
78                     "model-version": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.model-version}
79                 },
80                 "connection-attachment-parameters": {
81                     "param": [
82                         {
83                             "name": "sotnVpnName",
84                             "value": ${prop.connection-attachment.sotnVpnName}
85                         },
86                         {
87                             "name": "access-provider-id",
88                             "value": ${prop.connection-attachment.access-provider-id}
89                         },
90                         {
91                             "name": "access-client-id",
92                             "value": ${prop.connection-attachment.access-client-id}
93                         },
94                         {
95                             "name": "access-topology-id",
96                             "value": ${prop.connection-attachment.access-topology-id}
97                         },
98                         {
99                             "name": "access-node-id",
100                             "value": ${prop.connection-attachment.access-node-id}
101                         },
102                         {
103                             "name": "access-ltp-id",
104                             "value": ${prop.connection-attachment.access-ltp-id}
105                         },
106                         {
107                             "name": "clientSignal",
108                             "value": ${prop.connection-attachment.clientSignal}
109                         },
110                         {
111                             "name": "cVLAN",
112                             "value": ${prop.connection-attachment.cVLAN}
113                         }
114                     ]
115                 }
116             },
117             "connection-attachment-parameters": {
118                 "param": [
119                     {
120                         "name": "sotnVpnName",
121                         "value": ${prop.connection-attachment.sotnVpnName}
122                     },
123                     {
124                         "name": "access-provider-id",
125                         "value": ${prop.connection-attachment.access-provider-id}
126                     },
127                     {
128                         "name": "access-client-id",
129                         "value": ${prop.connection-attachment.access-client-id}
130                     },
131                     {
132                         "name": "access-topology-id",
133                         "value": ${prop.connection-attachment.access-topology-id}
134                     },
135                     {
136                         "name": "access-node-id",
137                         "value": ${prop.connection-attachment.access-node-id}
138                     },
139                     {
140                         "name": "access-ltp-id",
141                         "value": ${prop.connection-attachment.access-ltp-id}
142                     },
143                     {
144                         "name": "clientSignal",
145                         "value": ${prop.connection-attachment.clientSignal}
146                     },
147                     {
148                         "name": "cVLAN",
149                         "value": ${prop.connection-attachment.cVLAN}
150                     }
151                 ]
152             },
153             "allotted-resource-oper-status": {
154                 "last-action": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action},
155                 "modify-timestamp": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.modify-timestamp},
156                 "last-order-status": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-order-status},
157                 "create-timestamp": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp},
158                 "order-status": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status},
159                 "last-rpc-action": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action},
160                 "last-svc-request-id": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id}
161             },
162         },
163         "allotted-resource-status" : {
164             "action": ${connection-attachment-ar.allotted-resource-status.action},
165             "rpc-name": ${connection-attachment-ar.allotted-resource-status.rpc-name},
166             "rpc-action": ${connection-attachment-ar.allotted-resource-status.rpc-action}
167         }
168     }]
169 }
170
171