diff options
author | 2017-08-15 21:18:04 -0500 | |
---|---|---|
committer | 2017-08-18 05:46:40 +0000 | |
commit | cf4b15ab00249af6f4d05afd75d16bec689f3241 (patch) | |
tree | 14468fef53aecf04700eab421acca88fc8e853d4 /appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig | |
parent | ab6c2c0cd441cf40723016e9a82aeeeb933fec7e (diff) |
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 <kw5258@att.com>
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig')
4 files changed, 136 insertions, 0 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig/Chef_Failure.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig/Chef_Failure.properties new file mode 100644 index 000000000..05ecd134d --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig/Chef_Failure.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.config.vnf-id=ibcx0001v +input.config.vm-name=ibcx0001vm001 +input.config.vnf-type= +input.config.vnf-name= +input.config.protocol=CHEF +input.config.host-ip-address=localhost +input.config.user-name=brinda +input.config.password=brinda123 +input.config.port-number=80 + +org.openecomp.appc.data.services.node.ConfigResourceNode.getConfigFilesByVnfVmNCategory.outCome=failure +org.openecomp.appc.data.services.node.ConfigResourceNode.getConfigFilesByVnfVmNCategory.tmp.deviceconfig.error-message=Couldn't connect to the Server + +assertEquals.dcae-error-message=Couldn't connect to the Server diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig/Chef_Others.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig/Chef_Others.properties new file mode 100644 index 000000000..b0e800fa3 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig/Chef_Others.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.config.vnf-id=ibcx0001v +input.config.vm-name=ibcx0001vm001 +input.config.vnf-type= +input.config.vnf-name= +input.config.protocol=CHEF +input.config.host-ip-address=localhost +input.config.user-name=brinda +input.config.password=brinda123 +input.config.port-number=80 + +org.openecomp.appc.data.services.node.ConfigResourceNode.getConfigFilesByVnfVmNCategory.outCome=Other +org.openecomp.appc.data.services.node.ConfigResourceNode.getConfigFilesByVnfVmNCategory.tmp.deviceconfig.error-message=Couldn't connect to the Server + +assertEquals.dcae-error-message=Unable to Get the Configuration diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig/Chef_Success.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig/Chef_Success.properties new file mode 100644 index 000000000..161a6645e --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig/Chef_Success.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.config.vnf-id=ibcx0001v +input.config.vm-name=ibcx0001vm001 +input.config.vnf-type= +input.config.vnf-name= +input.config.protocol=CHEF +input.config.host-ip-address=localhost +input.config.user-name=brinda +input.config.password=brinda123 +input.config.port-number=80 + +org.openecomp.appc.data.services.node.ConfigResourceNode.getConfigFilesByVnfVmNCategory.outCome=success +org.openecomp.appc.data.services.node.ConfigResourceNode.getConfigFilesByVnfVmNCategory.tmp.deviceconfig.file-content=tcfile://config_chef.txt + +assertNotNull.device-running-config diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig/XML_Success.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig/XML_Success.properties new file mode 100644 index 000000000..161a6645e --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig/XML_Success.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.config.vnf-id=ibcx0001v +input.config.vm-name=ibcx0001vm001 +input.config.vnf-type= +input.config.vnf-name= +input.config.protocol=CHEF +input.config.host-ip-address=localhost +input.config.user-name=brinda +input.config.password=brinda123 +input.config.port-number=80 + +org.openecomp.appc.data.services.node.ConfigResourceNode.getConfigFilesByVnfVmNCategory.outCome=success +org.openecomp.appc.data.services.node.ConfigResourceNode.getConfigFilesByVnfVmNCategory.tmp.deviceconfig.file-content=tcfile://config_chef.txt + +assertNotNull.device-running-config |