Merge "Add DG json/xml in releases to gitignore"
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / sotn-attachment-allotted-resource.json
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - CCSDK
4  * ================================================================================
5  * Copyright (C) 2018 Huawei Technologies Co., Ltd. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 {
22     "connection-attachment-allotted-resource": [{
23         "allotted-resource-id": ${connection-attachment-ar.allotted-resource-id},
24         "allotted-resource-data": {
25             "connection-attachment-topology": {
26                 "allotted-resource-identifiers": {
27                     "consuming-service-instance-id": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.consuming-service-instance-id},
28                     "allotted-resource-name": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.allotted-resource-name},
29                     "allotted-resource-id": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.allotted-resource-id},
30                     "parent-service-instance-id": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.parent-service-instance-id},
31                     "allotted-resource-type": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.allotted-resource-type}
32                 },
33                 "onap-model-information": {
34                     "model-invariant-uuid": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.model-invariant-uuid},
35                     "model-customization-uuid": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.model-customization-uuid},
36                     "model-uuid": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.model-uuid},
37                     "model-version": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.model-version}
38                 },
39                 "connection-attachment-parameters": {
40                     "param": [
41                         {
42                             "name": "sotnVpnName",
43                             "value": ${prop.connection-attachment.sotnVpnName}
44                         },
45                         {
46                             "name": "access-provider-id",
47                             "value": ${prop.connection-attachment.access-provider-id}
48                         },
49                         {
50                             "name": "access-client-id",
51                             "value": ${prop.connection-attachment.access-client-id}
52                         },
53                         {
54                             "name": "access-topology-id",
55                             "value": ${prop.connection-attachment.access-topology-id}
56                         },
57                         {
58                             "name": "access-node-id",
59                             "value": ${prop.connection-attachment.access-node-id}
60                         },
61                         {
62                             "name": "access-ltp-id",
63                             "value": ${prop.connection-attachment.access-ltp-id}
64                         },
65                         {
66                             "name": "clientSignal",
67                             "value": ${prop.connection-attachment.clientSignal}
68                         },
69                         {
70                             "name": "cVLAN",
71                             "value": ${prop.connection-attachment.cVLAN}
72                         }
73                     ]
74                 }
75             },
76             "allotted-resource-operation-information": {
77                 "allotted-resource-information": {
78                     "allotted-resource-id": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.allotted-resource-id},
79                     "allotted-resource-type": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.allotted-resource-type},
80                     "parent-service-instance-id": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.parent-service-instance-id},
81                     "onap-model-information": {
82                         "model-invariant-uuid": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-invariant-uuid},
83                         "model-customization-uuid": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-customization-uuid},
84                         "model-uuid": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-uuid},
85                         "model-version": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-version}
86                     }
87                 },
88                 "sdnc-request-header": {
89                     "svc-request-id": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id},
90                     "svc-action": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-action}
91                 },
92                 "request-information": {
93                     "request-id": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-id},
94                     "source": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.source},
95                     "order-version": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.order-version},
96                     "order-number": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.order-number},
97                     "notification-url": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.notification-url},
98                     "request-action": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action}
99                 },
100                 "connection-attachment-request-input": {
101                     "param": [
102                         {
103                             "name": "sotnVpnName",
104                             "value": ${prop.connection-attachment.sotnVpnName}
105                         },
106                         {
107                             "name": "access-provider-id",
108                             "value": ${prop.connection-attachment.access-provider-id}
109                         },
110                         {
111                             "name": "access-client-id",
112                             "value": ${prop.connection-attachment.access-client-id}
113                         },
114                         {
115                             "name": "access-topology-id",
116                             "value": ${prop.connection-attachment.access-topology-id}
117                         },
118                         {
119                             "name": "access-node-id",
120                             "value": ${prop.connection-attachment.access-node-id}
121                         },
122                         {
123                             "name": "access-ltp-id",
124                             "value": ${prop.connection-attachment.access-ltp-id}
125                         },
126                         {
127                             "name": "clientSignal",
128                             "value": ${prop.connection-attachment.clientSignal}
129                         },
130                         {
131                             "name": "cVLAN",
132                             "value": ${prop.connection-attachment.cVLAN}
133                         }
134                     ]
135                 },
136                 "allotted-resource-oper-status": {
137                     "last-action": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action},
138                     "modify-timestamp": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.modify-timestamp},
139                     "last-order-status": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-order-status},
140                     "create-timestamp": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp},
141                     "order-status": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status},
142                     "last-rpc-action": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action},
143                     "last-svc-request-id": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id}
144                 }
145             },
146             "allotted-resource-status" : {
147                 "action": ${connection-attachment-ar.allotted-resource-status.action},
148                 "rpc-name": ${connection-attachment-ar.allotted-resource-status.rpc-name},
149                 "rpc-action": ${connection-attachment-ar.allotted-resource-status.rpc-action}
150             }
151         }
152     }]
153 }