X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Frestapi-templates%2Fsrc%2Fmain%2Fjson%2Fbrg-allotted-resource.json;h=bac4128faa76d8fd11024859be9a5dbed8324193;hb=0eaaa3f30ccca15838262491a32d67d32bce8e09;hp=9e151fac32ade48564c15f654f7d6f45c29fd4c6;hpb=9cc13107ea7f618a38ed05de2966006756f73d73;p=sdnc%2Foam.git diff --git a/platform-logic/restapi-templates/src/main/json/brg-allotted-resource.json b/platform-logic/restapi-templates/src/main/json/brg-allotted-resource.json index 9e151fac..bac4128f 100644 --- a/platform-logic/restapi-templates/src/main/json/brg-allotted-resource.json +++ b/platform-logic/restapi-templates/src/main/json/brg-allotted-resource.json @@ -1,72 +1,72 @@ { - "brg-allotted-resource": [{ - "allotted-resource-id": ${brg-ar.allotted-resource-id}, - "allotted-resource-data": { - "brg-topology": { - "allotted-resource-identifiers": { - "consuming-service-instance-id": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.consuming-service-instance-id}, - "allotted-resource-name": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.allotted-resource-name}, - "allotted-resource-id": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.allotted-resource-id}, - "parent-service-instance-id": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.parent-service-instance-id}, - "allotted-resource-type": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.allotted-resource-type} - }, - "onap-model-information": { - "model-invariant-uuid": ${brg-ar.allotted-resource-data.brg-topology.onap-model-information.model-invariant-uuid}, - "model-customization-uuid": ${brg-ar.allotted-resource-data.brg-topology.onap-model-information.model-customization-uuid}, - "model-uuid": ${brg-ar.allotted-resource-data.brg-topology.onap-model-information.model-uuid}, - "model-version": ${brg-ar.allotted-resource-data.brg-topology.onap-model-information.model-version} - }, - "brg-assignments": { - "vbrg-wan-ip": ${brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip}, - }, - "brg-parameters": { - } + "brg-allotted-resource": [{ + "allotted-resource-id": ${brg-ar.allotted-resource-id}, + "allotted-resource-data": { + "brg-topology": { + "allotted-resource-identifiers": { + "consuming-service-instance-id": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.consuming-service-instance-id}, + "allotted-resource-name": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.allotted-resource-name}, + "allotted-resource-id": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.allotted-resource-id}, + "parent-service-instance-id": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.parent-service-instance-id}, + "allotted-resource-type": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.allotted-resource-type} + }, + "onap-model-information": { + "model-invariant-uuid": ${brg-ar.allotted-resource-data.brg-topology.onap-model-information.model-invariant-uuid}, + "model-customization-uuid": ${brg-ar.allotted-resource-data.brg-topology.onap-model-information.model-customization-uuid}, + "model-uuid": ${brg-ar.allotted-resource-data.brg-topology.onap-model-information.model-uuid}, + "model-version": ${brg-ar.allotted-resource-data.brg-topology.onap-model-information.model-version} + }, + "brg-assignments": { + "vbrg-wan-ip": ${brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip}, + }, + "brg-parameters": { + } - }, - "allotted-resource-operation-information": { - "allotted-resource-information": { - "allotted-resource-id": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.allotted-resource-id}, - "allotted-resource-type": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.allotted-resource-type}, - "parent-service-instance-id": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.parent-service-instance-id}, - "onap-model-information": { - "model-invariant-uuid": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-invariant-uuid}, - "model-customization-uuid": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-customization-uuid}, - "model-uuid": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-uuid}, - "model-version": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-version} - } - }, - "sdnc-request-header": { - "svc-request-id": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id}, - "svc-action": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-action} - }, - "request-information": { - "request-id": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-id}, - "source": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.source}, - "order-version": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.order-version}, - "order-number": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.order-number}, - "notification-url": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.notification-url}, - "request-action": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action} - }, - "brg-request-input": { + }, + "allotted-resource-operation-information": { + "allotted-resource-information": { + "allotted-resource-id": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.allotted-resource-id}, + "allotted-resource-type": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.allotted-resource-type}, + "parent-service-instance-id": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.parent-service-instance-id}, + "onap-model-information": { + "model-invariant-uuid": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-invariant-uuid}, + "model-customization-uuid": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-customization-uuid}, + "model-uuid": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-uuid}, + "model-version": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.onap-model-information.model-version} + } + }, + "sdnc-request-header": { + "svc-request-id": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id}, + "svc-action": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-action} + }, + "request-information": { + "request-id": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-id}, + "source": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.source}, + "order-version": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.order-version}, + "order-number": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.order-number}, + "notification-url": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.notification-url}, + "request-action": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action} + }, + "brg-request-input": { "vgmux-bearer-ip": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.vgmux-bearer-ip}, "vni": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.vni}, - "brg-wan-ip-address": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.brg-wan-ip-address} - } - }, - "allotted-resource-oper-status": { - "last-action": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.last-action}, - "modify-timestamp": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.modify-timestamp}, - "last-order-status": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.last-order-status}, - "create-timestamp": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp}, - "order-status": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.order-status}, - "last-rpc-action": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action}, - "last-svc-request-id": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id} - } - }, - "allotted-resource-status" : { - "action": ${brg-ar.allotted-resource-status.action}, - "rpc-name": ${brg-ar.allotted-resource-status.rpc-name}, - "rpc-action": ${brg-ar.allotted-resource-status.rpc-action} - } - }] + "brg-wan-ip-address": ${brg-ar.allotted-resource-data.allotted-resource-operation-information.brg-request-input.brg-wan-ip-address} + } + }, + "allotted-resource-oper-status": { + "last-action": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.last-action}, + "modify-timestamp": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.modify-timestamp}, + "last-order-status": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.last-order-status}, + "create-timestamp": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp}, + "order-status": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.order-status}, + "last-rpc-action": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action}, + "last-svc-request-id": ${brg-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id} + } + }, + "allotted-resource-status" : { + "action": ${brg-ar.allotted-resource-status.action}, + "rpc-name": ${brg-ar.allotted-resource-status.rpc-name}, + "rpc-action": ${brg-ar.allotted-resource-status.rpc-action} + } + }] }