summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SaveRunningConfig/UploadConfig_Failure.properties
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SaveRunningConfig/UploadConfig_Failure.properties')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SaveRunningConfig/UploadConfig_Failure.properties67
1 files changed, 67 insertions, 0 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SaveRunningConfig/UploadConfig_Failure.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SaveRunningConfig/UploadConfig_Failure.properties
new file mode 100644
index 000000000..930856150
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SaveRunningConfig/UploadConfig_Failure.properties
@@ -0,0 +1,67 @@
+###
+# ============LICENSE_START=======================================================
+# ONAP : APP-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=========================================================
+###
+
+input.vnf-id=ibcx0001v
+input.vm-name=ibcx0001vm001
+input.vm-name=ibcx0001vm001
+input.vnf-type=ISBC
+
+input.vnf-host-ip-address=135.1.1.1
+
+input.device-authentication.USER-NAME=root
+input.device-authentication.PASSWORD = !bootstrap
+input.device-authentication.PORT-NUMBER = 22
+input.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
+input.deviceconfig-file-content=DUMMYFILECONTENT
+
+c
+
+# DG properties
+APPC.GetDeviceRunningConfig.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.updateUploadConfig.outCome=failure
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.updateUploadConfig.tmp.uploadconfig.error-message=SQLERROR
+
+
+
+
+
+assertEquals.config.vnf-id=ibcx0001v
+assertEquals.config.vm-name=ibcx0001vm001
+
+assertEquals.config.vnf-type=ISBC
+
+assertEquals.config.host-ip-address=135.1.1.1
+
+assertEquals.config.user-name=root
+assertEquals.config.password = !bootstrap
+assertEquals.config.port-number = 22
+assertEquals.config.protocol = CLI
+
+
+assertNull.output.payload.upload-config-id[0]
+
+org.openecomp.appc.dg.common.DCAEReporterPlugin.report.outCome=success
+org.openecomp.appc.dg.common.DCAEReporterPlugin.report.params.assertEquals.output.status.dgerror.code=501
+org.openecomp.appc.dg.common.DCAEReporterPlugin.report.params.assertEquals.output.status.message=501:Configuration is successful but unable to save the running config.SQLERROR
+
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.saveConfigTransactionLog.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.saveConfigTransactionLog.params.assertEquals.message=501:Configuration is successful but unable to save the running config.SQLERROR