aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/xml
diff options
context:
space:
mode:
authorprakash.e <prakash.e@huawei.com>2019-04-23 18:14:51 +0530
committerDan Timoney <dtimoney@att.com>2019-04-24 18:08:57 +0000
commit64bbbabf87a6bd22f48166c4b86d98e36f2474d2 (patch)
tree3adc63e261057179e3c53c08aa2cfce9e50cb8a9 /platform-logic/generic-resource-api/src/main/xml
parent6af3bff51edbde8e84262c4ec32aaa09527b7211 (diff)
SDWAN vpn-site-res delete DG duplicate removal
In SDWAN vip-site-resource-delete DG, Duplicat validation of vnf-id is deleted where requiredParameters method is called for validation and again validating for NULL check with the same input. Change-Id: Ic28da8a0d4f03203d0535ac7fa696b725011242f Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 0e235c74665b23535ab9a715684c700de8d910cb
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/xml')
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_vnf-topology-operation-vpn-site-resource-delete.xml9
1 files changed, 0 insertions, 9 deletions
diff --git a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_vnf-topology-operation-vpn-site-resource-delete.xml b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_vnf-topology-operation-vpn-site-resource-delete.xml
index 41bab8f3..87e6c528 100644
--- a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_vnf-topology-operation-vpn-site-resource-delete.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_vnf-topology-operation-vpn-site-resource-delete.xml
@@ -6,15 +6,6 @@
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >
<parameter name="vnf-topology-operation-input.vnf-information.vnf-id" value="$vnf-topology-operation-input.vnf-information.vnf-id"/>
</execute>
- <switch test="`$vnf-topology-operation-input.vnf-information.vnf-id`">
- <outcome value=''>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="vnf-request-input.vnf-input-parameters.name is a required input" />
- </return>
- </outcome>
- </switch>
<switch test='`$service-data.vnfs.vnf_length`'>
<outcome value=''>
<return status='failure'>