blob: bae876da001905feadbde31bc9373b444680737a (
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
31
32
33
34
|
<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='activateRANSliceInstance' mode='sync'>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
<parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />
<parameter name='contextPrefix' value='prop' />
</execute>
<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 activateRANSliceInstance-configDB "/>
</record>
<call module='ran-slice-api' rpc='activateRANSliceInstance-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 activateRANSliceInstance-cps "/>
</record>
<call module='ran-slice-api' rpc='activateRANSliceInstance-cps' mode='sync' ></call>
</block>
</outcome>
</switch>
</block>
</method>
</service-logic>
|