diff options
author | 2020-04-16 15:23:14 +0000 | |
---|---|---|
committer | 2020-04-16 15:23:22 +0000 | |
commit | 019903f16007d6f35117c45076d6b0c963db5cef (patch) | |
tree | 75e0c139b441851464076d4f828c6da0a634c051 /platform-logic/optical-service/src/main/xml/optical-service_service-delete-msa.xml | |
parent | 94fcc571a06ceab8b2119fc0d802340ba0086a70 (diff) |
Inter Domain DG'S modified
Change-Id: I9f1653ae010fe9d0a06b32ee5818147af685c015
Issue-ID: SDNC-1144
Signed-off-by: Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com>
Former-commit-id: 4ec43a3a9a249c104281dbfb4318848ca224185c
Diffstat (limited to 'platform-logic/optical-service/src/main/xml/optical-service_service-delete-msa.xml')
-rw-r--r-- | platform-logic/optical-service/src/main/xml/optical-service_service-delete-msa.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/platform-logic/optical-service/src/main/xml/optical-service_service-delete-msa.xml b/platform-logic/optical-service/src/main/xml/optical-service_service-delete-msa.xml index a4233171..2eb38164 100644 --- a/platform-logic/optical-service/src/main/xml/optical-service_service-delete-msa.xml +++ b/platform-logic/optical-service/src/main/xml/optical-service_service-delete-msa.xml @@ -3,6 +3,28 @@ xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='optical-service' version='${project.version}'>
<method rpc='service-delete-msa' mode='sync'>
<block atomic="true">
+ <get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'
+key='SELECT controller_id
+from REQUEST_DETAILS
+WHERE request_id = $domain-service1'
+pfx='detail-db1'>
+ <outcome value='success'>
+ <set>
+ <parameter name='controller-id1' value='`$detail-db1.controller-id`' />
+ </set>
+ </outcome>
+ </get-resource>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >
+ <parameter name="original_string" value='`$controller-id1`'/>
+ <parameter name="regex" value="_"/>
+ <parameter name="ctx_memory_result_key" value="param-prefix"/>
+ </execute>
+ <set>
+ <parameter name='domain-type' value='`$param-prefix[0]`' />
+ <parameter name='controller-ip' value='`$param-prefix[1]`' />
+ <parameter name='optical-service-delete-input.request-id' value="`$domain-service1`" />
+ <parameter name='optical-service-delete-input.payload.service-name' value="`$service-name + $param-prefix[2]`"/>
+ </set>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/optical-service-delete-msa.json'`" />
<parameter name="restapiUrl" value="`$controller-ip + '/cxf/openroadm/openroadm-services/' + $optical-service-delete-input.payload.service-name`"/>
|