summaryrefslogtreecommitdiffstats
path: root/ms/gra/gra-app/src/test/resources/svclogic/GENERIC-RESOURCE-API_generic-configuration-notification.xml
blob: 34bfcec328673fe2d28d2a4fcce52f46ad34b9fb (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
35
36
37
38
39
<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='generic-configuration-notification' mode='sync'>
        <block atomic="true">
            <switch test='`$generic-configuration-notification-input.sdnc-request-header.svc-action`'>
                <outcome value='assign'>
                    <call module='GENERIC-RESOURCE-API' rpc='generic-configuration-notification-assign' mode='sync' >
                        <outcome value='failure'>
                            <return status='failure'></return>
                        </outcome>
                    </call>
                </outcome>
                <outcome value='activate'>
                    <call module='GENERIC-RESOURCE-API' rpc='generic-configuration-notification-activate' mode='sync' >
                        <outcome value='failure'>
                            <return status='failure'></return>
                        </outcome>
                    </call>
                </outcome>
                <outcome value='deactivate'>
                    <call module='GENERIC-RESOURCE-API' rpc='generic-configuration-notification-deactivate' mode='sync' >
                        <outcome value='failure'>
                            <return status='failure'></return>
                        </outcome>
                    </call>
                </outcome>
                <outcome value='unassign'>
                    <call module='GENERIC-RESOURCE-API' rpc='generic-configuration-notification-unassign' mode='sync' >
                        <outcome value='failure'>
                            <return status='failure'></return>
                        </outcome>
                    </call>
                </outcome>
            </switch>
            <return status='success'></return>
        </block>
    </method>
</service-logic>