summaryrefslogtreecommitdiffstats
path: root/lcm/provider/src/test/resources/graphs/lcm/LCM_upgrade-backup.xml
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dt5972@att.com>2018-05-10 17:10:22 -0400
committerTimoney, Dan (dt5972) <dt5972@att.com>2018-05-10 17:10:22 -0400
commitabb39c5b6cd92d50b72be2fcdaff26ad47313eef (patch)
tree7f05cf7383bef81d0afa287a42cee28abbc49a1f /lcm/provider/src/test/resources/graphs/lcm/LCM_upgrade-backup.xml
parent150f54ebb48c8edba140f7f9093c8a27d0fd8feb (diff)
Fix DG calls to use correct rpc name
DG calls should expect the name of the DG to be the same as the name of the rpc as defined in the Yang model. LCM was incorrectly expecting names in upper camelcase (e.g. UpgradeSoftware) when the Yang model defines them in lowercase hyphenated (e.g. upgrade-software). Either LCM or DGs need to change, so changed LCM since to be consistent with other MD-SAL applications. Change-Id: I034bc2d93c2f918c807fec7f342d6197f78be7ad Issue-ID: CCSDK-272 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Diffstat (limited to 'lcm/provider/src/test/resources/graphs/lcm/LCM_upgrade-backup.xml')
-rw-r--r--lcm/provider/src/test/resources/graphs/lcm/LCM_upgrade-backup.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_upgrade-backup.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_upgrade-backup.xml
new file mode 100644
index 000000000..d81651a83
--- /dev/null
+++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_upgrade-backup.xml
@@ -0,0 +1,30 @@
+<!--
+ ============LICENSE_START=======================================================
+ openECOMP : SDN-C
+ ================================================================================
+ Copyright (C) 2017 AT&T Intellectual Property. All rights
+ reserved.
+ ================================================================================
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ ============LICENSE_END=========================================================
+ -->
+
+<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='LCM' version='1.0.0'>
+ <method rpc='upgrade-backup' mode='sync'>
+ <set>
+ <parameter name='status.code' value='400' />
+ <parameter name='status.message' value='SUCCESS' />
+ </set>
+ </method>
+</service-logic>