summaryrefslogtreecommitdiffstats
path: root/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_greeting.xml
blob: b6eec28082649a8501f27d03b25786c68c311f54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<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='oofpcipoc-api' version='${project.version}'>
    <method rpc='greeting' mode='sync'>
        <block atomic='true'>
            <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
                <parameter name="file" value="/opt/opendaylight/current/data/log/svclogic.log" />
                <parameter name="level" value="info" />
                <parameter name="field1" value="Hello World!"/>
                <parameter name="field2" value="`$greeting-input.salutation`"/>
            </record>
            <return status='success'>
                <parameter name="ack-final-indicator" value="Y" />
                <parameter name="error-code" value="200" />
                <parameter name="error-message" value="`$error-message`" />
            </return>
        </block>
    </method>
</service-logic>