diff options
author | Timoney, Dan (dt5972) <dt5972@att.com> | 2018-05-10 17:10:22 -0400 |
---|---|---|
committer | Timoney, Dan (dt5972) <dt5972@att.com> | 2018-05-10 17:10:22 -0400 |
commit | abb39c5b6cd92d50b72be2fcdaff26ad47313eef (patch) | |
tree | 7f05cf7383bef81d0afa287a42cee28abbc49a1f | |
parent | 150f54ebb48c8edba140f7f9093c8a27d0fd8feb (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>
59 files changed, 639 insertions, 639 deletions
diff --git a/lcm/provider/src/main/java/org/onap/ccsdk/sli/northbound/LcmProvider.java b/lcm/provider/src/main/java/org/onap/ccsdk/sli/northbound/LcmProvider.java index 14d3d9e53..787a94e2b 100644 --- a/lcm/provider/src/main/java/org/onap/ccsdk/sli/northbound/LcmProvider.java +++ b/lcm/provider/src/main/java/org/onap/ccsdk/sli/northbound/LcmProvider.java @@ -144,7 +144,7 @@ public class LcmProvider implements AutoCloseable, LCMService { CheckLockOutputBuilder oBuilder = new CheckLockOutputBuilder(); try { - CommonLcmFields retval = callDG("CheckLock", iBuilder.build()); + CommonLcmFields retval = callDG("check-lock", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -166,7 +166,7 @@ public class LcmProvider implements AutoCloseable, LCMService { RebootOutputBuilder oBuilder = new RebootOutputBuilder(); try { - CommonLcmFields retval = callDG("Reboot", iBuilder.build()); + CommonLcmFields retval = callDG("reboot", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -187,7 +187,7 @@ public class LcmProvider implements AutoCloseable, LCMService { UpgradeBackupOutputBuilder oBuilder = new UpgradeBackupOutputBuilder(); try { - CommonLcmFields retval = callDG("UpgradeBackup", iBuilder.build()); + CommonLcmFields retval = callDG("upgrade-backup", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); @@ -209,7 +209,7 @@ public class LcmProvider implements AutoCloseable, LCMService { RollbackOutputBuilder oBuilder = new RollbackOutputBuilder(); try { - CommonLcmFields retval = callDG("Rollback", iBuilder.build()); + CommonLcmFields retval = callDG("rollback", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -230,7 +230,7 @@ public class LcmProvider implements AutoCloseable, LCMService { SyncOutputBuilder oBuilder = new SyncOutputBuilder(); try { - CommonLcmFields retval = callDG("Sync", iBuilder.build()); + CommonLcmFields retval = callDG("sync", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -251,7 +251,7 @@ public class LcmProvider implements AutoCloseable, LCMService { QueryOutputBuilder oBuilder = new QueryOutputBuilder(); try { - CommonLcmFields retval = callDG("Query", iBuilder.build()); + CommonLcmFields retval = callDG("query", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -272,7 +272,7 @@ public class LcmProvider implements AutoCloseable, LCMService { ConfigExportOutputBuilder oBuilder = new ConfigExportOutputBuilder(); try { - CommonLcmFields retval = callDG("ConfigExport", iBuilder.build()); + CommonLcmFields retval = callDG("config-export", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -293,7 +293,7 @@ public class LcmProvider implements AutoCloseable, LCMService { StopApplicationOutputBuilder oBuilder = new StopApplicationOutputBuilder(); try { - CommonLcmFields retval = callDG("StopApplication", iBuilder.build()); + CommonLcmFields retval = callDG("stop-application", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -314,7 +314,7 @@ public class LcmProvider implements AutoCloseable, LCMService { SoftwareUploadOutputBuilder oBuilder = new SoftwareUploadOutputBuilder(); try { - CommonLcmFields retval = callDG("SoftwareUpload", iBuilder.build()); + CommonLcmFields retval = callDG("software-upload", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -335,7 +335,7 @@ public class LcmProvider implements AutoCloseable, LCMService { ResumeTrafficOutputBuilder oBuilder = new ResumeTrafficOutputBuilder(); try { - CommonLcmFields retval = callDG("ResumeTraffic", iBuilder.build()); + CommonLcmFields retval = callDG("resume-traffic", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -356,7 +356,7 @@ public class LcmProvider implements AutoCloseable, LCMService { ConfigureOutputBuilder oBuilder = new ConfigureOutputBuilder(); try { - CommonLcmFields retval = callDG("Configure", iBuilder.build()); + CommonLcmFields retval = callDG("configure", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -377,7 +377,7 @@ public class LcmProvider implements AutoCloseable, LCMService { ActionStatusOutputBuilder oBuilder = new ActionStatusOutputBuilder(); try { - CommonLcmFields retval = callDG("ActionStatus", iBuilder.build()); + CommonLcmFields retval = callDG("action-status", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -398,7 +398,7 @@ public class LcmProvider implements AutoCloseable, LCMService { UpgradePreCheckOutputBuilder oBuilder = new UpgradePreCheckOutputBuilder(); try { - CommonLcmFields retval = callDG("UpgradePreCheck", iBuilder.build()); + CommonLcmFields retval = callDG("upgrade-pre-check", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -419,7 +419,7 @@ public class LcmProvider implements AutoCloseable, LCMService { LiveUpgradeOutputBuilder oBuilder = new LiveUpgradeOutputBuilder(); try { - CommonLcmFields retval = callDG("LiveUpgrade", iBuilder.build()); + CommonLcmFields retval = callDG("live-upgrade", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -440,7 +440,7 @@ public class LcmProvider implements AutoCloseable, LCMService { ConfigModifyOutputBuilder oBuilder = new ConfigModifyOutputBuilder(); try { - CommonLcmFields retval = callDG("ConfigModify", iBuilder.build()); + CommonLcmFields retval = callDG("config-modify", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -461,7 +461,7 @@ public class LcmProvider implements AutoCloseable, LCMService { RestartOutputBuilder oBuilder = new RestartOutputBuilder(); try { - CommonLcmFields retval = callDG("Restart", iBuilder.build()); + CommonLcmFields retval = callDG("restart", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -482,7 +482,7 @@ public class LcmProvider implements AutoCloseable, LCMService { HealthCheckOutputBuilder oBuilder = new HealthCheckOutputBuilder(); try { - CommonLcmFields retval = callDG("HealthCheck", iBuilder.build()); + CommonLcmFields retval = callDG("health-check", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -503,7 +503,7 @@ public class LcmProvider implements AutoCloseable, LCMService { LockOutputBuilder oBuilder = new LockOutputBuilder(); try { - CommonLcmFields retval = callDG("Lock", iBuilder.build()); + CommonLcmFields retval = callDG("lock", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -524,7 +524,7 @@ public class LcmProvider implements AutoCloseable, LCMService { TerminateOutputBuilder oBuilder = new TerminateOutputBuilder(); try { - CommonLcmFields retval = callDG("Terminate", iBuilder.build()); + CommonLcmFields retval = callDG("terminate", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -545,7 +545,7 @@ public class LcmProvider implements AutoCloseable, LCMService { AttachVolumeOutputBuilder oBuilder = new AttachVolumeOutputBuilder(); try { - CommonLcmFields retval = callDG("AttachVolume", iBuilder.build()); + CommonLcmFields retval = callDG("attach-volume", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -566,7 +566,7 @@ public class LcmProvider implements AutoCloseable, LCMService { MigrateOutputBuilder oBuilder = new MigrateOutputBuilder(); try { - CommonLcmFields retval = callDG("Migrate", iBuilder.build()); + CommonLcmFields retval = callDG("migrate", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -587,7 +587,7 @@ public class LcmProvider implements AutoCloseable, LCMService { QuiesceTrafficOutputBuilder oBuilder = new QuiesceTrafficOutputBuilder(); try { - CommonLcmFields retval = callDG("QuiesceTraffic", iBuilder.build()); + CommonLcmFields retval = callDG("quiesce-traffic", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -608,7 +608,7 @@ public class LcmProvider implements AutoCloseable, LCMService { ConfigRestoreOutputBuilder oBuilder = new ConfigRestoreOutputBuilder(); try { - CommonLcmFields retval = callDG("ConfigRestore", iBuilder.build()); + CommonLcmFields retval = callDG("config-restore", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -629,7 +629,7 @@ public class LcmProvider implements AutoCloseable, LCMService { UpgradeBackoutOutputBuilder oBuilder = new UpgradeBackoutOutputBuilder(); try { - CommonLcmFields retval = callDG("UpgradeBackout", iBuilder.build()); + CommonLcmFields retval = callDG("upgrade-backout", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -650,7 +650,7 @@ public class LcmProvider implements AutoCloseable, LCMService { EvacuateOutputBuilder oBuilder = new EvacuateOutputBuilder(); try { - CommonLcmFields retval = callDG("Evacuate", iBuilder.build()); + CommonLcmFields retval = callDG("evacuate", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -671,7 +671,7 @@ public class LcmProvider implements AutoCloseable, LCMService { UnlockOutputBuilder oBuilder = new UnlockOutputBuilder(); try { - CommonLcmFields retval = callDG("Unlock", iBuilder.build()); + CommonLcmFields retval = callDG("unlock", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -692,7 +692,7 @@ public class LcmProvider implements AutoCloseable, LCMService { ConfigBackupDeleteOutputBuilder oBuilder = new ConfigBackupDeleteOutputBuilder(); try { - CommonLcmFields retval = callDG("ConfigBackupDelete", iBuilder.build()); + CommonLcmFields retval = callDG("config-backup-delete", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -713,7 +713,7 @@ public class LcmProvider implements AutoCloseable, LCMService { UpgradeSoftwareOutputBuilder oBuilder = new UpgradeSoftwareOutputBuilder(); try { - CommonLcmFields retval = callDG("UpgradeSoftware", iBuilder.build()); + CommonLcmFields retval = callDG("upgrade-software", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -734,7 +734,7 @@ public class LcmProvider implements AutoCloseable, LCMService { StopOutputBuilder oBuilder = new StopOutputBuilder(); try { - CommonLcmFields retval = callDG("Stop", iBuilder.build()); + CommonLcmFields retval = callDG("stop", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -755,7 +755,7 @@ public class LcmProvider implements AutoCloseable, LCMService { DetachVolumeOutputBuilder oBuilder = new DetachVolumeOutputBuilder(); try { - CommonLcmFields retval = callDG("DetachVolume", iBuilder.build()); + CommonLcmFields retval = callDG("detach-volume", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -776,7 +776,7 @@ public class LcmProvider implements AutoCloseable, LCMService { ConfigScaleOutOutputBuilder oBuilder = new ConfigScaleOutOutputBuilder(); try { - CommonLcmFields retval = callDG("ConfigScaleOut", iBuilder.build()); + CommonLcmFields retval = callDG("config-scale-out", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -797,7 +797,7 @@ public class LcmProvider implements AutoCloseable, LCMService { UpgradePostCheckOutputBuilder oBuilder = new UpgradePostCheckOutputBuilder(); try { - CommonLcmFields retval = callDG("UpgradePostCheck", iBuilder.build()); + CommonLcmFields retval = callDG("upgrade-post-check", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -818,7 +818,7 @@ public class LcmProvider implements AutoCloseable, LCMService { TestOutputBuilder oBuilder = new TestOutputBuilder(); try { - CommonLcmFields retval = callDG("Test", iBuilder.build()); + CommonLcmFields retval = callDG("test", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -839,7 +839,7 @@ public class LcmProvider implements AutoCloseable, LCMService { StartApplicationOutputBuilder oBuilder = new StartApplicationOutputBuilder(); try { - CommonLcmFields retval = callDG("StartApplication", iBuilder.build()); + CommonLcmFields retval = callDG("start-application", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -860,7 +860,7 @@ public class LcmProvider implements AutoCloseable, LCMService { ConfigBackupOutputBuilder oBuilder = new ConfigBackupOutputBuilder(); try { - CommonLcmFields retval = callDG("ConfigBackup", iBuilder.build()); + CommonLcmFields retval = callDG("config-backup", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -881,7 +881,7 @@ public class LcmProvider implements AutoCloseable, LCMService { RebuildOutputBuilder oBuilder = new RebuildOutputBuilder(); try { - CommonLcmFields retval = callDG("Rebuild", iBuilder.build()); + CommonLcmFields retval = callDG("rebuild", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -902,7 +902,7 @@ public class LcmProvider implements AutoCloseable, LCMService { AuditOutputBuilder oBuilder = new AuditOutputBuilder(); try { - CommonLcmFields retval = callDG("Audit", iBuilder.build()); + CommonLcmFields retval = callDG("audit", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -923,7 +923,7 @@ public class LcmProvider implements AutoCloseable, LCMService { StartOutputBuilder oBuilder = new StartOutputBuilder(); try { - CommonLcmFields retval = callDG("Start", iBuilder.build()); + CommonLcmFields retval = callDG("start", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { @@ -944,7 +944,7 @@ public class LcmProvider implements AutoCloseable, LCMService { SnapshotOutputBuilder oBuilder = new SnapshotOutputBuilder(); try { - CommonLcmFields retval = callDG("Snapshot", iBuilder.build()); + CommonLcmFields retval = callDG("snapshot", iBuilder.build()); oBuilder.setStatus(retval.getStatusBuilder().build()); oBuilder.setCommonHeader(retval.getCommonHeaderBuilder().build()); } catch (LcmRpcInvocationException e) { diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_Audit.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_Audit.xml index b122fe646..34c84ed9a 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_Audit.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_Audit.xml @@ -21,7 +21,7 @@ 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='Audit' mode='sync'> + <method rpc='audit' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_ConfigBackupDelete.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_ConfigBackupDelete.xml deleted file mode 100644 index d7758e800..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_ConfigBackupDelete.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='ConfigBackupDelete' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_ConfigExport.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_ConfigExport.xml deleted file mode 100644 index f3b69b3ce..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_ConfigExport.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='ConfigExport' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_ConfigModify.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_ConfigModify.xml deleted file mode 100644 index 09e313e3e..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_ConfigModify.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='ConfigModify' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_ConfigRestore.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_ConfigRestore.xml deleted file mode 100644 index 6ed6d99fc..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_ConfigRestore.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='ConfigRestore' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_ConfigScaleOut.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_ConfigScaleOut.xml deleted file mode 100644 index 3fd12941b..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_ConfigScaleOut.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='ConfigScaleOut' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_Configure.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_Configure.xml index 13805e6d0..a37f0675a 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_Configure.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_Configure.xml @@ -21,7 +21,7 @@ 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='Configure' mode='sync'> + <method rpc='configure' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_DetachVolume.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_DetachVolume.xml deleted file mode 100644 index 78644b745..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_DetachVolume.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='DetachVolume' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_Evacuate.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_Evacuate.xml index ba1bdf1d3..216bd418b 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_Evacuate.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_Evacuate.xml @@ -21,7 +21,7 @@ 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='Evacuate' mode='sync'> + <method rpc='evacuate' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_HealthCheck.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_HealthCheck.xml deleted file mode 100644 index 6b362ce3b..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_HealthCheck.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='HealthCheck' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_LiveUpgrade.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_LiveUpgrade.xml deleted file mode 100644 index 88e850d5a..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_LiveUpgrade.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='LiveUpgrade' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_Lock.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_Lock.xml index f9eee0b04..6479d3ec5 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_Lock.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_Lock.xml @@ -21,7 +21,7 @@ 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='Lock' mode='sync'> + <method rpc='lock' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_Migrate.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_Migrate.xml index c4620d899..9c8959681 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_Migrate.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_Migrate.xml @@ -21,7 +21,7 @@ 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='Migrate' mode='sync'> + <method rpc='migrate' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_Query.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_Query.xml index 8732b977e..5d0312292 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_Query.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_Query.xml @@ -21,7 +21,7 @@ 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='Query' mode='sync'> + <method rpc='query' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_QuiesceTraffic.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_QuiesceTraffic.xml deleted file mode 100644 index e54eeff6c..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_QuiesceTraffic.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='QuiesceTraffic' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_Reboot.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_Reboot.xml index 89b654dfa..f117f9606 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_Reboot.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_Reboot.xml @@ -21,7 +21,7 @@ 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='Reboot' mode='sync'> + <method rpc='reboot' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_Rebuild.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_Rebuild.xml index 90b7e23f0..e721bc5a7 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_Rebuild.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_Rebuild.xml @@ -21,7 +21,7 @@ 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='Rebuild' mode='sync'> + <method rpc='rebuild' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_Restart.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_Restart.xml index c0d545fa3..b47091af2 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_Restart.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_Restart.xml @@ -21,7 +21,7 @@ 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='Restart' mode='sync'> + <method rpc='restart' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_ResumeTraffic.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_ResumeTraffic.xml deleted file mode 100644 index fd7b979ed..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_ResumeTraffic.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='ResumeTraffic' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_Rollback.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_Rollback.xml index 980f263cd..6844d0482 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_Rollback.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_Rollback.xml @@ -21,7 +21,7 @@ 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='Rollback' mode='sync'> + <method rpc='rollback' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_Snapshot.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_Snapshot.xml index 1ef50c516..6d0f8b039 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_Snapshot.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_Snapshot.xml @@ -21,7 +21,7 @@ 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='Snapshot' mode='sync'> + <method rpc='snapshot' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_SoftwareUpload.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_SoftwareUpload.xml deleted file mode 100644 index d372a370d..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_SoftwareUpload.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='SoftwareUpload' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_Start.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_Start.xml index 0e3ae889d..5998614ab 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_Start.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_Start.xml @@ -21,7 +21,7 @@ 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='Start' mode='sync'> + <method rpc='start' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_StartApplication.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_StartApplication.xml deleted file mode 100644 index ff68805be..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_StartApplication.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='StartApplication' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_Stop.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_Stop.xml index 7e2da11bf..f752725de 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_Stop.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_Stop.xml @@ -21,7 +21,7 @@ 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='Stop' mode='sync'> + <method rpc='stop' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_StopApplication.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_StopApplication.xml deleted file mode 100644 index affecdd23..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_StopApplication.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='StopApplication' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_Sync.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_Sync.xml index e33096542..5741175cf 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_Sync.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_Sync.xml @@ -21,7 +21,7 @@ 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='Sync' mode='sync'> + <method rpc='sync' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_Terminate.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_Terminate.xml index 32a800bdf..0f2758a89 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_Terminate.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_Terminate.xml @@ -21,7 +21,7 @@ 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='Terminate' mode='sync'> + <method rpc='terminate' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_Test.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_Test.xml index 4f0e1f3ae..5ce002d0c 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_Test.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_Test.xml @@ -21,7 +21,7 @@ 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='Test' mode='sync'> + <method rpc='test' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_Unlock.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_Unlock.xml index 735d891f7..d506c2fd5 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_Unlock.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_Unlock.xml @@ -21,7 +21,7 @@ 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='Unlock' mode='sync'> + <method rpc='unlock' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_UpgradeBackout.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_UpgradeBackout.xml deleted file mode 100644 index b12054ea0..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_UpgradeBackout.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='UpgradeBackout' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_UpgradeBackup.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_UpgradeBackup.xml deleted file mode 100644 index c1f7afc84..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_UpgradeBackup.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='UpgradeBackup' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_UpgradePostCheck.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_UpgradePostCheck.xml deleted file mode 100644 index 89f3a3c02..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_UpgradePostCheck.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='UpgradePostCheck' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_UpgradePreCheck.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_UpgradePreCheck.xml deleted file mode 100644 index e2ff7991d..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_UpgradePreCheck.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='UpgradePreCheck' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_UpgradeSoftware.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_UpgradeSoftware.xml deleted file mode 100644 index 98642de1e..000000000 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_UpgradeSoftware.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ============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='UpgradeSoftware' mode='sync'> - <set> - <parameter name='status.code' value='400' /> - <parameter name='status.message' value='SUCCESS' /> - </set> - </method> -</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_ConfigBackup.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_action-status.xml index 42ae23561..435a62d95 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_ConfigBackup.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_action-status.xml @@ -21,7 +21,7 @@ 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='ConfigBackup' mode='sync'> + <method rpc='action-status' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_attach-volume.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_attach-volume.xml new file mode 100644 index 000000000..b073f9b7e --- /dev/null +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_attach-volume.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='attach-volume' mode='sync'> + <set> + <parameter name='status.code' value='400' /> + <parameter name='status.message' value='SUCCESS' /> + </set> + </method> +</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_CheckLock.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_check-lock.xml index 8fc467b50..e07bf133d 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_CheckLock.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_check-lock.xml @@ -21,7 +21,7 @@ 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='CheckLock' mode='sync'> + <method rpc='check-lock' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_config-backup-delete.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_config-backup-delete.xml new file mode 100644 index 000000000..5366c30a0 --- /dev/null +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_config-backup-delete.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='config-backup-delete' mode='sync'> + <set> + <parameter name='status.code' value='400' /> + <parameter name='status.message' value='SUCCESS' /> + </set> + </method> +</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_config-backup.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_config-backup.xml new file mode 100644 index 000000000..e32e5fe5b --- /dev/null +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_config-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='config-backup' mode='sync'> + <set> + <parameter name='status.code' value='400' /> + <parameter name='status.message' value='SUCCESS' /> + </set> + </method> +</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_config-export.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_config-export.xml new file mode 100644 index 000000000..fd6596bac --- /dev/null +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_config-export.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='config-export' mode='sync'> + <set> + <parameter name='status.code' value='400' /> + <parameter name='status.message' value='SUCCESS' /> + </set> + </method> +</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_config-modify.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_config-modify.xml new file mode 100644 index 000000000..76782f432 --- /dev/null +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_config-modify.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='config-modify' mode='sync'> + <set> + <parameter name='status.code' value='400' /> + <parameter name='status.message' value='SUCCESS' /> + </set> + </method> +</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_config-restore.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_config-restore.xml new file mode 100644 index 000000000..e0ed71b8a --- /dev/null +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_config-restore.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='config-restore' mode='sync'> + <set> + <parameter name='status.code' value='400' /> + <parameter name='status.message' value='SUCCESS' /> + </set> + </method> +</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_config-scale-out.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_config-scale-out.xml new file mode 100644 index 000000000..5200feb8a --- /dev/null +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_config-scale-out.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='config-scale-out' mode='sync'> + <set> + <parameter name='status.code' value='400' /> + <parameter name='status.message' value='SUCCESS' /> + </set> + </method> +</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_detach-volume.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_detach-volume.xml new file mode 100644 index 000000000..117a3e31a --- /dev/null +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_detach-volume.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='detach-volume' mode='sync'> + <set> + <parameter name='status.code' value='400' /> + <parameter name='status.message' value='SUCCESS' /> + </set> + </method> +</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_ActionStatus.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_health-check.xml index 831071c4d..cf0f773e6 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_ActionStatus.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_health-check.xml @@ -21,7 +21,7 @@ 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='ActionStatus' mode='sync'> + <method rpc='health-check' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_AttachVolume.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_live-upgrade.xml index ab95cf847..02fb050f8 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/LCM_AttachVolume.xml +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_live-upgrade.xml @@ -21,7 +21,7 @@ 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='AttachVolume' mode='sync'> + <method rpc='live-upgrade' mode='sync'> <set> <parameter name='status.code' value='400' /> <parameter name='status.message' value='SUCCESS' /> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_quiesce-traffic.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_quiesce-traffic.xml new file mode 100644 index 000000000..0770b3dfc --- /dev/null +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_quiesce-traffic.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='quiesce-traffic' mode='sync'> + <set> + <parameter name='status.code' value='400' /> + <parameter name='status.message' value='SUCCESS' /> + </set> + </method> +</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_resume-traffic.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_resume-traffic.xml new file mode 100644 index 000000000..7e0f1d6b3 --- /dev/null +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_resume-traffic.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='resume-traffic' mode='sync'> + <set> + <parameter name='status.code' value='400' /> + <parameter name='status.message' value='SUCCESS' /> + </set> + </method> +</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_software-upload.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_software-upload.xml new file mode 100644 index 000000000..a9eb58ac4 --- /dev/null +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_software-upload.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='software-upload' mode='sync'> + <set> + <parameter name='status.code' value='400' /> + <parameter name='status.message' value='SUCCESS' /> + </set> + </method> +</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_start-application.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_start-application.xml new file mode 100644 index 000000000..9b422a83c --- /dev/null +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_start-application.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='start-application' mode='sync'> + <set> + <parameter name='status.code' value='400' /> + <parameter name='status.message' value='SUCCESS' /> + </set> + </method> +</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_stop-application.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_stop-application.xml new file mode 100644 index 000000000..91dc4fca6 --- /dev/null +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_stop-application.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='stop-application' mode='sync'> + <set> + <parameter name='status.code' value='400' /> + <parameter name='status.message' value='SUCCESS' /> + </set> + </method> +</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_update-software.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_update-software.xml new file mode 100644 index 000000000..75440c2a0 --- /dev/null +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_update-software.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-software' mode='sync'> + <set> + <parameter name='status.code' value='400' /> + <parameter name='status.message' value='SUCCESS' /> + </set> + </method> +</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_upgrade-backout.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_upgrade-backout.xml new file mode 100644 index 000000000..d48d6817a --- /dev/null +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_upgrade-backout.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-backout' mode='sync'> + <set> + <parameter name='status.code' value='400' /> + <parameter name='status.message' value='SUCCESS' /> + </set> + </method> +</service-logic> 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> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_upgrade-post-check.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_upgrade-post-check.xml new file mode 100644 index 000000000..ba2798a41 --- /dev/null +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_upgrade-post-check.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-post-check' mode='sync'> + <set> + <parameter name='status.code' value='400' /> + <parameter name='status.message' value='SUCCESS' /> + </set> + </method> +</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/LCM_upgrade-pre-check.xml b/lcm/provider/src/test/resources/graphs/lcm/LCM_upgrade-pre-check.xml new file mode 100644 index 000000000..1aaf18fff --- /dev/null +++ b/lcm/provider/src/test/resources/graphs/lcm/LCM_upgrade-pre-check.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-pre-check' mode='sync'> + <set> + <parameter name='status.code' value='400' /> + <parameter name='status.message' value='SUCCESS' /> + </set> + </method> +</service-logic> diff --git a/lcm/provider/src/test/resources/graphs/lcm/graph.versions b/lcm/provider/src/test/resources/graphs/lcm/graph.versions index e949f496a..4ca21daf3 100644 --- a/lcm/provider/src/test/resources/graphs/lcm/graph.versions +++ b/lcm/provider/src/test/resources/graphs/lcm/graph.versions @@ -1,39 +1,39 @@ -LCM Restart 1.0.0 sync -LCM Rebuild 1.0.0 sync -LCM Migrate 1.0.0 sync -LCM Evacuate 1.0.0 sync -LCM Snapshot 1.0.0 sync -LCM Rollback 1.0.0 sync -LCM Sync 1.0.0 sync -LCM Audit 1.0.0 sync -LCM Stop 1.0.0 sync -LCM Start 1.0.0 sync -LCM Terminate 1.0.0 sync -LCM SoftwareUpload 1.0.0 sync -LCM HealthCheck 1.0.0 sync -LCM LiveUpgrade 1.0.0 sync -LCM Lock 1.0.0 sync -LCM Unlock 1.0.0 sync -LCM Test 1.0.0 sync -LCM CheckLock 1.0.0 sync -LCM Configure 1.0.0 sync -LCM ConfigModify 1.0.0 sync -LCM ConfigScaleOut 1.0.0 sync -LCM ConfigRestore 1.0.0 sync -LCM ConfigBackup 1.0.0 sync -LCM ConfigBackupDelete 1.0.0 sync -LCM ConfigExport 1.0.0 sync -LCM StopApplication 1.0.0 sync -LCM StartApplication 1.0.0 sync -LCM QuiesceTraffic 1.0.0 sync -LCM ResumeTraffic 1.0.0 sync -LCM UpgradePreCheck 1.0.0 sync -LCM UpgradeSoftware 1.0.0 sync -LCM UpgradePostCheck 1.0.0 sync -LCM UpgradeBackup 1.0.0 sync -LCM UpgradeBackout 1.0.0 sync -LCM ActionStatus 1.0.0 sync -LCM Query 1.0.0 sync -LCM Reboot 1.0.0 sync -LCM AttachVolume 1.0.0 sync -LCM DetachVolume 1.0.0 sync +LCM restart 1.0.0 sync +LCM rebuild 1.0.0 sync +LCM migrate 1.0.0 sync +LCM evacuate 1.0.0 sync +LCM snapshot 1.0.0 sync +LCM rollback 1.0.0 sync +LCM sync 1.0.0 sync +LCM audit 1.0.0 sync +LCM stop 1.0.0 sync +LCM start 1.0.0 sync +LCM terminate 1.0.0 sync +LCM software-upload 1.0.0 sync +LCM health-check 1.0.0 sync +LCM live-upgrade 1.0.0 sync +LCM lock 1.0.0 sync +LCM unlock 1.0.0 sync +LCM test 1.0.0 sync +LCM check-lock 1.0.0 sync +LCM configure 1.0.0 sync +LCM config-modify 1.0.0 sync +LCM config-scale-out 1.0.0 sync +LCM config-restore 1.0.0 sync +LCM config-backup 1.0.0 sync +LCM config-backup-delete 1.0.0 sync +LCM config-export 1.0.0 sync +LCM stop-application 1.0.0 sync +LCM start-application 1.0.0 sync +LCM quiesce-traffic 1.0.0 sync +LCM resume-traffic 1.0.0 sync +LCM upgrade-pre-check 1.0.0 sync +LCM upgrade-software 1.0.0 sync +LCM upgrade-post-check 1.0.0 sync +LCM upgrade-backup 1.0.0 sync +LCM upgrade-backout 1.0.0 sync +LCM action-status 1.0.0 sync +LCM query 1.0.0 sync +LCM reboot 1.0.0 sync +LCM attach-volume 1.0.0 sync +LCM detach-volume 1.0.0 sync |