diff options
Diffstat (limited to 'ms/generic-resource-api/src/test/resources/svclogic/GENERIC-RESOURCE-API_send-so-response.xml')
-rw-r--r-- | ms/generic-resource-api/src/test/resources/svclogic/GENERIC-RESOURCE-API_send-so-response.xml | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/ms/generic-resource-api/src/test/resources/svclogic/GENERIC-RESOURCE-API_send-so-response.xml b/ms/generic-resource-api/src/test/resources/svclogic/GENERIC-RESOURCE-API_send-so-response.xml deleted file mode 100644 index aee8feb..0000000 --- a/ms/generic-resource-api/src/test/resources/svclogic/GENERIC-RESOURCE-API_send-so-response.xml +++ /dev/null @@ -1,46 +0,0 @@ -<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='send-so-response' mode='sync'>
- <block atomic="true">
- <set>
- <parameter name="so.response-message" value="`$error-message`" />
- </set>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + 'so-response.xml'`" />
- <parameter name='restapiUrl' value="`$so.notification-url`" />
- <parameter name='restapiUser' value='`$prop.so.user`' />
- <parameter name='restapiPassword' value='`$prop.so.pwd`' />
- <parameter name='accept' value='text/plain' />
- <parameter name='format' value='xml' />
- <parameter name='contentType' value='application/xml' />
- <parameter name='httpMethod' value='POST' />
- <parameter name="responsePrefix" value="soResponse-vnf-assign" />
- <outcome value='failure'>
- <block atomic="true">
- <set>
- <parameter name="error-message" value="`'Error sending SO response. ' + $error-message`" />
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="`$error-message`" />
- </return>
- </block>
- </outcome>
- <outcome value='not-found'>
- <block atomic="true">
- <set>
- <parameter name="error-message" value="`'Error sending SO response. ' + $error-message`" />
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="`$error-message`" />
- </return>
- </block>
- </outcome>
- </execute>
- </block>
- </method>
-</service-logic>
\ No newline at end of file |