diff options
author | prakash.e <prakash.e@huawei.com> | 2018-08-31 17:05:49 +0530 |
---|---|---|
committer | prakash.e <prakash.e@huawei.com> | 2018-08-31 17:16:56 +0530 |
commit | 0c99d4765288c57ebf990c58b226f62a2dd3b348 (patch) | |
tree | 8fcd9f2e38af687c0be9d8e840e5e0e6e4f5a80c /platform-logic/restapi-templates/src/main/json/sdwan-attachment-allotted-resource.json | |
parent | 6dbab42de471a875ef2222fad9204076bd10d8b5 (diff) |
CCVPN RestApi template changes
SDWAN and SOTN restapi template fix
Change-Id: I2a86398487f65c9b15fb8081f383207ff778a135
Issue-ID: SDNC-357
Signed-off-by: Prakash.E <prakash.e@huawei.com>
Former-commit-id: db088b077924366c0d9028b71d490a5b05a1a0c1
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json/sdwan-attachment-allotted-resource.json')
-rw-r--r-- | platform-logic/restapi-templates/src/main/json/sdwan-attachment-allotted-resource.json | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/sdwan-attachment-allotted-resource.json b/platform-logic/restapi-templates/src/main/json/sdwan-attachment-allotted-resource.json new file mode 100644 index 00000000..8cbf39da --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/sdwan-attachment-allotted-resource.json @@ -0,0 +1,100 @@ +{ + "connection-attachment-allotted-resource": [{ + "allotted-resource-id": ${connection-attachment-ar.allotted-resource-id}, + "allotted-resource-data": { + "allotted-resource-operation-information": { + "allotted-resource-information": { + "allotted-resource-id": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.allotted-resource-id}, + "allotted-resource-type": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.allotted-resource-type}, + "parent-service-instance-id": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.parent-service-instance-id}, + "onap-model-information": { + "model-invariant-uuid": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-invariant-uuid}, + "model-customization-uuid": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-customization-uuid}, + "model-uuid": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-uuid}, + "model-version": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-version} + } + }, + "sdnc-request-header": { + "svc-request-id": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id}, + "svc-action": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-action} + }, + "request-information": { + "request-id": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-id}, + "source": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.source}, + "order-version": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.order-version}, + "order-number": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.order-number}, + "notification-url": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.notification-url}, + "request-action": ${connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action} + }, + "connection-attachment-request-input": { + "param": [ + { + "name": "sdwanVpnName", + "value": ${prop.connection-attachment.sdwanVpnName} + }, + { + "name": "role", + "value": ${prop.connection-attachment.role} + } + ] + } + }, + "connection-attachment-topology": { + "allotted-resource-identifiers": { + "consuming-service-instance-id": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.consuming-service-instance-id}, + "allotted-resource-name": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.allotted-resource-name}, + "allotted-resource-id": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.allotted-resource-id}, + "parent-service-instance-id": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.parent-service-instance-id}, + "allotted-resource-type": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.allotted-resource-type} + }, + "onap-model-information": { + "model-invariant-uuid": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.model-invariant-uuid}, + "model-customization-uuid": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.model-customization-uuid}, + "model-uuid": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.model-uuid}, + "model-version": ${connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.model-version} + }, + "connection-attachment-parameters": { + "param": [ + { + "name": "sdwanVpnName", + "value": ${prop.connection-attachment.sdwanVpnName} + }, + { + "name": "role", + "value": ${prop.connection-attachment.role} + } + ] + } + }, + "connection-attachment-parameters": { + "param": [ + { + "name": "sdwanVpnName", + "value": ${prop.connection-attachment.sdwanVpnName} + }, + { + "name": "role", + "value": ${prop.connection-attachment.role} + } + ] + }, + "allotted-resource-oper-status": { + "last-action": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action}, + "modify-timestamp": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.modify-timestamp}, + "last-order-status": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-order-status}, + "create-timestamp": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp}, + "order-status": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status}, + "last-rpc-action": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action}, + "last-svc-request-id": ${connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id} + }, + }, + "allotted-resource-status" : { + "action": ${connection-attachment-ar.allotted-resource-status.action}, + "rpc-name": ${connection-attachment-ar.allotted-resource-status.rpc-name}, + "rpc-action": ${connection-attachment-ar.allotted-resource-status.rpc-action} + } + }] +} + + + |