diff options
author | Brian Freeman <bf1936@att.com> | 2018-07-20 07:26:10 -0500 |
---|---|---|
committer | Brian Freeman <bf1936@att.com> | 2018-07-20 07:29:37 -0500 |
commit | 2e7e3398bca15dfcda1dc6978b9a390bf7202b45 (patch) | |
tree | d96a8e12439497052c27b9f6a21b19c2d9acab07 /platform-logic/vnfapi/src/main/xml | |
parent | 0941e45b7a5b986f74704fe964d051bd0c733c5c (diff) |
Remove test for Active on Delete
Issue-ID: SDNC-399
Change-Id: If67ad6c1c578252faa28022098b5d69c2815c1ea
Signed-off-by: Brian Freeman <bf1936@att.com>
Former-commit-id: 0e86713498c26837b39d7ad2cbadb7f8299718ee
Diffstat (limited to 'platform-logic/vnfapi/src/main/xml')
-rw-r--r-- | platform-logic/vnfapi/src/main/xml/VNF-API_vnf-topology-delete.xml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/platform-logic/vnfapi/src/main/xml/VNF-API_vnf-topology-delete.xml b/platform-logic/vnfapi/src/main/xml/VNF-API_vnf-topology-delete.xml index 69ad5fcc..fd5319d5 100644 --- a/platform-logic/vnfapi/src/main/xml/VNF-API_vnf-topology-delete.xml +++ b/platform-logic/vnfapi/src/main/xml/VNF-API_vnf-topology-delete.xml @@ -1,15 +1,13 @@ <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='VNF-API' version='${project.version}'><method rpc='vnf-topology-delete' mode='sync'>
-<block atomic="true"><switch test="`$vnf-topology-operation-input.vnf-request-information.vnf-id == $service-data.vnf-id`"><outcome value='false'>
+<block atomic="true">
+<switch test="`$vnf-topology-operation-input.vnf-request-information.vnf-id == $service-data.vnf-id`"><outcome value='false'>
<return status='failure'>
<parameter name='error-code' value='400'/>
- <parameter name='error-message' value='vnf-id not found'/></return></outcome></switch><switch test="`$vnf-topology-operation-input.vnf-request-information.aic-cloud-region`"><outcome value='Other'>
-<switch test="`$service-data.oper-status.order-status == Active`"><outcome value='false'><return status='failure'>
- <parameter name='error-code' value='400'/>
- <parameter name='error-message' value='Invalid order-status'/></return></outcome></switch></outcome></switch><set>
+ <parameter name='error-message' value='vnf-id not found'/></return></outcome></switch><set>
<parameter name="service-data.oper-status.last-order-status" value="`$service-data.oper-status.order-status`"/></set><set>
<parameter name="service-data.oper-status.order-status" value="Deleted"/></set><set>
<parameter name="service-data.oper-status.last-action" value="`$service-data.request-information.request-action`"/></set><set>
<parameter name="service-data." value="" />
</set><set>
<parameter name="ack-final" value="Y"/></set><return status='success'>
- <parameter name="error-code" value="200" /></return></block></method></service-logic> + <parameter name="error-code" value="200" /></return></block></method></service-logic>
|