summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/CheckConfigStatus_Failure.properties41
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/CheckConfigStatus_Success.properties41
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/MaxRetries.properties31
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/ParseErrorLogFail.properties34
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/ParseErrorLogSuccess.properties36
5 files changed, 183 insertions, 0 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/CheckConfigStatus_Failure.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/CheckConfigStatus_Failure.properties
new file mode 100644
index 000000000..644b0298d
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/CheckConfigStatus_Failure.properties
@@ -0,0 +1,41 @@
+###
+# ============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
+
+
+
+
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.get.outCome=failure
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.host=135.1.1.1
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.loginId=root
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.password=!bootstrap
+
+
+
+
+
+assertEquals.error-code=401
+assertEquals.error-message=Configuration Failed. No configuration success or error file found on the device
+assertEquals.i=9
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/CheckConfigStatus_Success.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/CheckConfigStatus_Success.properties
new file mode 100644
index 000000000..4d622b212
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/CheckConfigStatus_Success.properties
@@ -0,0 +1,41 @@
+###
+# ============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.configfilereference-success.TARGET-FILE-PATH=/tmp
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.get.outCome=success
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.host=135.1.1.1
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.loginId=root
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.password=!bootstrap
+
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.get.params.assertEquals.fullPathFileName=/tmp
+
+
+
+
+assertEquals.error-code=400
+assertEquals.error-message=SUCCESS - request has been processed successfully
+assertEquals.i=1
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/MaxRetries.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/MaxRetries.properties
new file mode 100644
index 000000000..0d5ddc8db
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/MaxRetries.properties
@@ -0,0 +1,31 @@
+###
+# ============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.configfilereference-success.TARGET-FILE-PATH=SuccessFile
+input.configfilereference-failure.TARGET-FILE-PATH=FailureFile
+
+input.vnf-host-ip-address=135.2.2.2
+
+
+
+assertEquals.error-code=401
+assertEquals.error-message=Configuration Failed. No configuration success or error file found on the device
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/ParseErrorLogFail.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/ParseErrorLogFail.properties
new file mode 100644
index 000000000..2f5d42c94
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/ParseErrorLogFail.properties
@@ -0,0 +1,34 @@
+###
+# ============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.configfilereference-success.TARGET-FILE-PATH=SuccessFile
+input.configfilereference-failure.TARGET-FILE-PATH=FailureFile
+input.configfilereference-log.TARGET-FILE-PATH=FailureLogFile
+input.vnf-host-ip-address=135.1.1.1
+input.fileContents=ERRORLOG
+org.openecomp.sdnc.config.generator.pattern.PatternNode.parseErrorLog.outCome=failure
+org.openecomp.sdnc.config.generator.pattern.PatternNode.parseErrorLog.params.assertEquals.logData=ERRORLOG
+
+org.openecomp.sdnc.config.generator.pattern.PatternNode.parseErrorLog.tmp.patternNode.error-message=Unable to parse Error Log
+
+assertEquals.error-code=401
+assertEquals.error-message=Unable to parse Error Log
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/ParseErrorLogSuccess.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/ParseErrorLogSuccess.properties
new file mode 100644
index 000000000..c40d93f96
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CheckConfigStatus/ParseErrorLogSuccess.properties
@@ -0,0 +1,36 @@
+###
+# ============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.configfilereference-success.TARGET-FILE-PATH=SuccessFile
+input.configfilereference-failure.TARGET-FILE-PATH=FailureFile
+input.configfilereference-log.TARGET-FILE-PATH=FailureLogFile
+input.vnf-host-ip-address=135.1.1.1
+
+input.fileContents=ERRORLOG
+org.openecomp.sdnc.config.generator.pattern.PatternNode.parseErrorLog.outCome=success
+org.openecomp.sdnc.config.generator.pattern.PatternNode.parseErrorLog.tmp.patternNode.parsedError=Download Failure
+org.openecomp.sdnc.config.generator.pattern.PatternNode.parseErrorLog.params.assertEquals.logData=ERRORLOG
+
+assertEquals.error-code=401
+assertEquals.error-message=Configuration has failed.Download Failure
+
+
+
+