summaryrefslogtreecommitdiffstats
path: root/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml
blob: 7ef1cf845e0802d400c6a32f417160a2a4829bb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<service-logic
    xmlns='http://www.onap.org/sdnc/svclogic'
    xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>
    <method rpc='terminateRANSliceInstance' mode='sync'>
        <block atomic='true'>
            <switch test='`$prop.configdb-deployed`'>
                <outcome value='true'>
                    <block atomic='true'>
                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
                            <parameter name="level" value="info" />
                            <parameter name="field1" value="Calling instantiateRANSliceModifyAllocate-CPS "/>
                        </record>
                        <call module='ran-slice-api' rpc='terminateRANSliceInstance-configDb' mode='sync' ></call>
                    </block>
                </outcome>
                <outcome value='false'>
                    <block atomic='true'>
                        <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
                            <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
                            <parameter name="level" value="info" />
                            <parameter name="field1" value="Calling instantiateRANSliceModifyAllocate-CPS "/>
                        </record>
                        <call module='ran-slice-api' rpc='terminateRANSliceInstance-cps' mode='sync' ></call>
                    </block>
                </outcome>
            </switch>
        </block>
    </method>
</service-logic>