aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_preload-network-topology-operation.xml
blob: 2558152b22aa41fcbe4a79e2afdae5156876c01c (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='GENERIC-RESOURCE-API' version='${project.version}'>
    <method rpc='preload-network-topology-operation' mode='sync'>
        <block atomic="true">
            <switch test='`$preload-data.preload-network-topology-information.network-topology-identifier-structure.network-name`'>
                <outcome value=''>
                    <block></block>
                </outcome>
                <outcome value='Other'>
                    <set>
                        <parameter name='preload-data.' value='' />
                    </set>
                </outcome>
            </switch>
            <set>
                <parameter name='preload-data.preload-network-topology-information.'
  value='`$preload-network-topology-operation-input.preload-network-topology-information.`' />
            </set>
            <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >
                <parameter name="outputPath" value="tmp.current-time" />
            </execute>
            <set>
                <parameter name='preload-data.preload-oper-status.order-status' value='PendingAssignment' />
                <parameter name='preload-data.preload-oper-status.create-timestamp' value='`$tmp.current-time`' />
            </set>
            <return status='success'>
                <parameter name="ack-final-indicator" value="Y" />
                <parameter name="error-code" value="200" />
                <parameter name="error-message" value="success" />
            </return>
        </block>
    </method>
</service-logic>