diff options
author | 2021-05-25 16:29:18 +0530 | |
---|---|---|
committer | 2021-06-14 14:36:43 +0000 | |
commit | 8b86f34f6ea29728e31c4f6799009e8562ef3b6f (patch) | |
tree | 7a621cd8627fcf374928c76982f7f65b18e1e80a /platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml | |
parent | 94a7c372094fb6c8f342dfd04984a34c975eb849 (diff) |
RanSlice DG, Templates - Integration Testing Fixes
Issue-ID: CCSDK-3314
Signed-off-by: Ahila <ahila.pandaram@wipro.com>
Change-Id: I9d3960a3fe5bc2e693d20cd6176ed57953a71eea
Diffstat (limited to 'platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml')
-rw-r--r-- | platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml index adb24742..55283c1f 100644 --- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml +++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml @@ -273,17 +273,17 @@ <set> <parameter name='tmp.pLMNId' value='`$getPLMN-CL-configdb-response.plmnId`'/> </set> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'> - <parameter name="string" value="`$tmp.pLMNId`" /> - <parameter name="result" value="tmp.mcc"/> - <parameter name="begin-index" value="0" /> - <parameter name="end-index" value="3" /> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'> - <parameter name="string" value="`$tmp.pLMNId`" /> - <parameter name="result" value="tmp.mnc"/> - <parameter name="begin-index" value="4" /> - </execute> + <block atomic="true"> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'> + <parameter name="original_string" value="`$tmp.pLMNId`" /> + <parameter name="regex" value="-"/> + <parameter name="ctx_memory_result_key" value="tmp.plmnList" /> + </execute> + <set> + <parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/> + <parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/> + </set> + </block> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" /> <parameter name="level" value="info" /> @@ -554,17 +554,17 @@ <set> <parameter name='tmp.pLMNId' value='`$getPLMN-CL-configdb-response.plmnId`'/> </set> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'> - <parameter name="string" value="`$tmp.pLMNId`" /> - <parameter name="result" value="tmp.mcc"/> - <parameter name="begin-index" value="0" /> - <parameter name="end-index" value="3" /> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'> - <parameter name="string" value="`$tmp.pLMNId`" /> - <parameter name="result" value="tmp.mnc"/> - <parameter name="begin-index" value="4" /> - </execute> + <block atomic="true"> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'> + <parameter name="original_string" value="`$tmp.pLMNId`" /> + <parameter name="regex" value="-"/> + <parameter name="ctx_memory_result_key" value="tmp.plmnList" /> + </execute> + <set> + <parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/> + <parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/> + </set> + </block> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" /> <parameter name="level" value="info" /> |