From cf4b15ab00249af6f4d05afd75d16bec689f3241 Mon Sep 17 00:00:00 2001 From: Skip Wonnell Date: Tue, 15 Aug 2017 21:18:04 -0500 Subject: Initial add of appc-directed-graph bundles Directed Graph library Additional JIRA Issues: APPC-66, APPC-71, APPC-74 Issue-ID: APPC-65 Change-Id: I1bd643f7675dec19e562e99db65bafa0dcda6ef4 Signed-off-by: Skip Wonnell --- .../UploadConfig_Failure.properties | 67 ++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SaveRunningConfig/UploadConfig_Failure.properties (limited to 'appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SaveRunningConfig/UploadConfig_Failure.properties') 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 -- cgit 1.2.3-korg