diff options
author | 2018-08-10 12:37:02 +0530 | |
---|---|---|
committer | 2018-08-10 12:37:02 +0530 | |
commit | 56062fd7dcc091cb38569302b7171b1956a48c1d (patch) | |
tree | d6f129cb785d4a83d76fd7d7dbcc1e149d9c501c /platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-create.xml | |
parent | b324322c4d885c45e6cb0843ed769203969ac041 (diff) |
SOTN DG to support EPL
Updates include:
- Template changes to support EPL
- Changes wrt. parameter names
Change-Id: I016adb31b9c6ad043a43468cec198d4336bb96a1
Issue-ID: SDNC-356
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Former-commit-id: a2c96f67d1e799f8f762fb14be3744a03649869a
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-create.xml')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-create.xml | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-create.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-create.xml index 5ecae563..92842c9d 100644 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-create.xml +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_sotn-attachment-topology-operation-create.xml @@ -188,7 +188,21 @@ value="`$connection-attachment-ar-identifiers.`" /> <parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-request-id`' /> <parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' /> </set> - <call module='GENERIC-RESOURCE-API' rpc='sotn-get-saved-ar-param' mode='sync' ></call> + <block atomic="true"> + <for index='i' start='0' end='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param_length`' > + <block atomic="true"> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' > + <parameter name="original_string" value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$i].name`'/> + <parameter name="regex" value="_"/> + <parameter name="ctx_memory_result_key" value="param-prefix"/> + </execute> + <set> + <parameter name="`connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].name`" value='`$param-prefix[$param-prefix_length -1]`'/> + </set> + </block> + </for> + <call module='GENERIC-RESOURCE-API' rpc='sotn-get-saved-ar-param' mode='sync' ></call> + </block> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.sotn-attachment.templatefile`" /> <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' /> @@ -264,4 +278,4 @@ value="`$connection-attachment-ar-identifiers.`" /> </return> </block> </method> -</service-logic>
\ No newline at end of file +</service-logic> |