aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/self-serve-pnf-assignments.json
diff options
context:
space:
mode:
authorCheung, Pat (kc1472) <kc1472@att.com>2019-03-04 19:59:03 +0000
committerCheung, Pat (kc1472) <kc1472@att.com>2019-03-04 19:59:03 +0000
commit4aaa0f9eaa40aabd3333e0e93d8bff14e645d1f8 (patch)
treefb5c369589d0750bc9f6c26711cf8c58f1f5e81c /platform-logic/restapi-templates/src/main/json/self-serve-pnf-assignments.json
parent648e7e06e153fb793928e8f6cd6a73751963a47c (diff)
Dublin release
DGs to support pnf-topology-operation with assign svc-action Change-Id: Ia257c03cd8e3b2dd8f801b67a0d55ab7f7ed1ba6 Issue-ID: SDNC-635 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Former-commit-id: 6120758d9eaf6d6aae57d94f236ff7ddda3503c7
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json/self-serve-pnf-assignments.json')
-rw-r--r--platform-logic/restapi-templates/src/main/json/self-serve-pnf-assignments.json112
1 files changed, 112 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/self-serve-pnf-assignments.json b/platform-logic/restapi-templates/src/main/json/self-serve-pnf-assignments.json
new file mode 100644
index 00000000..4e15e910
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/self-serve-pnf-assignments.json
@@ -0,0 +1,112 @@
+{
+ "pnf": [{
+ "pnf-id": ${pf.pnf-id},
+ "pnf-data": {
+ "sdnc-request-header": {
+ "svc-request-id": ${pf.pnf-data.sdnc-request-header.svc-request-id},
+ "svc-action": ${pf.pnf-data.sdnc-request-header.svc-action},
+ "svc-notification-url": ${pf.pnf-data.sdnc-request-header.svc-notification-url}
+ },
+ "request-information": {
+ "request-id": ${pf.pnf-data.request-information.request-id},
+ "request-action": ${pf.pnf-data.request-information.request-action},
+ "source": ${pf.pnf-data.request-information.source},
+ "notification-url": ${pf.pnf-data.request-information.notification-url},
+ "order-number": ${pf.pnf-data.request-information.order-number},
+ "order-version": ${pf.pnf-data.request-information.order-version}
+ },
+ "service-information": {
+ "service-id": ${pf.pnf-data.service-information.service-id},
+ "subscription-service-type": ${pf.pnf-data.service-information.subscription-service-type},
+ "onap-model-information": {
+ "model-invariant-uuid": ${pf.pnf-data.service-information.onap-model-information.model-invariant-uuid},
+ "model-customization-uuid": ${pf.pnf-data.service-information.onap-model-information.model-customization-uuid},
+ "model-uuid": ${pf.pnf-data.service-information.onap-model-information.model-uuid},
+ "model-version": ${pf.pnf-data.service-information.onap-model-information.model-version},
+ "model-name": ${pf.pnf-data.service-information.onap-model-information.model-name}
+ },
+ "service-instance-id": ${pf.pnf-data.service-information.service-instance-id},
+ "global-customer-id": ${pf.pnf-data.service-information.global-customer-id},
+ "subscriber-name": ${pf.pnf-data.service-information.subscriber-name}
+ },
+ "pnf-details": {
+ "pnf-id": ${pf.pnf-data.pnf-details.pnf-id},
+ "pnf-type": ${pf.pnf-data.pnf-details.pnf-type},
+ "pnf-name": ${pf.pnf-data.pnf-details.pnf-name},
+ "onap-model-information": {
+ "model-invariant-uuid": ${pf.pnf-data.pnf-details.onap-model-information.model-invariant-uuid},
+ "model-customization-uuid": ${pf.pnf-data.pnf-details.onap-model-information.model-customization-uuid},
+ "model-uuid": ${pf.pnf-data.pnf-details.onap-model-information.model-uuid},
+ "model-version": ${pf.pnf-data.pnf-details.onap-model-information.model-version},
+ "model-name": ${pf.pnf-data.pnf-details.onap-model-information.model-name}
+ }
+ },
+ "pnf-request-input": {
+ "request-version": ${pf.pnf-data.pnf-request-input.request-version},
+ "pnf-name": ${pf.pnf-data.pnf-request-input.pnf-name},
+ "tenant": ${pf.pnf-data.pnf-request-input.tenant},
+ "aic-cloud-region": ${pf.pnf-data.pnf-request-input.aic-cloud-region},
+ "aic-clli": ${pf.pnf-data.pnf-request-input.aic-clli},
+ "pnf-input-parameters": {
+ "param": [
+ ${repeat:pf.pnf-data.pnf-request-input.pnf-input-parameters.param_length:
+ {
+ "name": ${pf.pnf-data.pnf-request-input.pnf-input-parameters.param[${1}].name},
+ "value": ${pf.pnf-data.pnf-request-input.pnf-input-parameters.param[${1}].value}
+ },
+ }
+ ]
+ }
+ },
+ "pnf-topology": {
+ "pnf-topology-identifier-structure": {
+ "pnf-id": ${pf.pnf-data.pnf-topology.pnf-topology-identifier-structure.pnf-id},
+ "pnf-name": ${pf.pnf-data.pnf-topology.pnf-topology-identifier-structure.pnf-name},
+ "pnf-type": ${pf.pnf-data.pnf-topology.pnf-topology-identifier-structure.pnf-type}
+ },
+ "onap-model-information": {
+ "model-invariant-uuid": ${pf.pnf-data.pnf-topology.onap-model-information.model-invariant-uuid},
+ "model-customization-uuid": ${pf.pnf-data.pnf-topology.onap-model-information.model-customization-uuid},
+ "model-uuid": ${pf.pnf-data.pnf-topology.onap-model-information.model-uuid},
+ "model-version": ${pf.pnf-data.pnf-topology.onap-model-information.model-version},
+ "model-name": ${pf.pnf-data.pnf-topology.onap-model-information.model-name}
+ },
+ "pnf-parameters-data": {
+ "param": [
+ ${repeat:pf.pnf-data.pnf-topology.pnf-parameters-data.param_length:
+ {
+ "name": ${pf.pnf-data.pnf-topology.pnf-parameters-data.param[${1}].name},
+ "value": ${pf.pnf-data.pnf-topology.pnf-parameters-data.param[${1}].value},
+ "resource-resolution-data": {
+ "resource-key": [
+ ${repeat:pf.pnf-data.pnf-topology.pnf-parameters-data.param[${1}].resource-resolution-data.resource-key_length:
+ {
+ "name": ${pf.pnf-data.pnf-topology.pnf-parameters-data.param[${1}].resource-resolution-data.resource-key[${2}].name},
+ "value": ${pf.pnf-data.pnf-topology.pnf-parameters-data.param[${1}].resource-resolution-data.resource-key[${2}].value}
+ },
+ }
+ ],
+ "status": ${pf.pnf-data.pnf-topology.pnf-parameters-data.param[${1}].resource-resolution-data.status},
+ "capability-name": ${pf.pnf-data.pnf-topology.pnf-parameters-data.param[${1}].resource-resolution-data.capability-name}
+ },
+ },
+ }
+ ]
+ },
+ "tenant": ${pf.pnf-data.pnf-topology.tenant},
+ "aic-cloud-region": ${pf.pnf-data.pnf-topology.aic-cloud-region},
+ "aic-clli": ${pf.pnf-data.pnf-topology.aic-clli}
+ "sdnc-generated-cloud-resources": ${pf.pnf-data.pnf-topology.sdnc-generated-cloud-resources}
+ },
+ "pnf-level-oper-status": {
+ "order-status": ${pf.pnf-data.pnf-level-oper-status.order-status},
+ "last-rpc-action": ${pf.pnf-data.pnf-level-oper-status.last-rpc-action},
+ "last-action": ${pf.pnf-data.pnf-level-oper-status.last-action},
+ "last-svc-request-id": ${pf.pnf-data.pnf-level-oper-status.last-svc-request-id},
+ "last-order-status": ${pf.pnf-data.pnf-level-oper-status.last-order-status},
+ "create-timestamp": ${pf.pnf-data.pnf-level-oper-status.create-timestamp},
+ "modify-timestamp": ${pf.pnf-data.pnf-level-oper-status.modify-timestamp}
+ }
+ }
+ }]
+}