aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadIsbcConfig
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadIsbcConfig')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadIsbcConfig/ConfigFile_Failure.properties33
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadIsbcConfig/DownloadIsbcConfig_Success.properties45
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadIsbcConfig/Put_Failure.properties39
3 files changed, 117 insertions, 0 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadIsbcConfig/ConfigFile_Failure.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadIsbcConfig/ConfigFile_Failure.properties
new file mode 100644
index 000000000..d049fa8af
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadIsbcConfig/ConfigFile_Failure.properties
@@ -0,0 +1,33 @@
+###
+# ============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=========================================================
+###
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getConfigFileReference.outCome=failure
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getConfigFileReference.tmp.configfilereference.error-message=Failed to read Config files
+
+c
+# DG properties
+APPC.CheckConfigStatus.outCome=success
+
+
+
+assertEquals.error-code=401
+assertEquals.error-message=Failed to read Config files
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadIsbcConfig/DownloadIsbcConfig_Success.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadIsbcConfig/DownloadIsbcConfig_Success.properties
new file mode 100644
index 000000000..695b87c89
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadIsbcConfig/DownloadIsbcConfig_Success.properties
@@ -0,0 +1,45 @@
+###
+# ============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=========================================================
+###
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getConfigFileReference.outCome=success
+
+
+input.vnf-host-ip-address=135.1.1.1
+input.device-authentication.USER-NAME=root
+input.device-authentication.PASSWORD = !bootstrap
+input.deviceconfig-file-content=DUMMYFILECONTENT
+input.configfilereference-deviceconfig.TARGET-FILE-PATH=/tmp
+
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.put.outCome=success
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.host=135.1.1.1
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.loginId=root
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.password=!bootstrap
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.data=DUMMYFILECONTENT
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.fullPathFileName=/tmp
+
+# DG properties
+APPC.CheckConfigStatus.outCome=success
+
+
+
+assertNull.error-code
+assertNull.error-message
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadIsbcConfig/Put_Failure.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadIsbcConfig/Put_Failure.properties
new file mode 100644
index 000000000..23163d126
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadIsbcConfig/Put_Failure.properties
@@ -0,0 +1,39 @@
+###
+# ============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-host-ip-address=135.1.1.1
+input.device-authentication.USER-NAME=root
+input.device-authentication.PASSWORD = !bootstrap
+input.deviceconfig-file-content=DUMMYFILECONTENT
+input.configfilereference-deviceconfig.TARGET-FILE-PATH=/tmp
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getConfigFileReference.outCome=success
+
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.put.outCome=failure
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.host=135.1.1.1
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.loginId=root
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.password=!bootstrap
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.data=DUMMYFILECONTENT
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.put.params.assertEquals.fullPathFileName=/tmp
+
+
+assertEquals.error-code=401
+
+