diff options
author | Skip Wonnell <kw5258@att.com> | 2017-08-15 21:18:04 -0500 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2017-08-18 05:46:40 +0000 |
commit | cf4b15ab00249af6f4d05afd75d16bec689f3241 (patch) | |
tree | 14468fef53aecf04700eab421acca88fc8e853d4 /appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure | |
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/Configure')
7 files changed, 325 insertions, 0 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/ConfigBlockConfigure_Failure.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/ConfigBlockConfigure_Failure.properties new file mode 100644 index 000000000..f7866ca95 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/ConfigBlockConfigure_Failure.properties @@ -0,0 +1,51 @@ +### +# ============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-type= +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 + +input.tmp.configureactiondg.DOWNLOAD-CONFIG-DG=DownloadIsbcConfig + + +#ProcessParameterDefinition +APPC.ProcessParameterDefinition.outCome=success + +input.error-code=401 +input.error-message=ISBC Config Failed +# DG properties +APPC.DownloadIsbcConfig.outCome=failure +APPC.GenerateConfig.outCome=success + + +assertEquals.host-ip-address=135.1.1.1 +assertEquals.device-login=root + +assertEquals.device-password=!bootstrap +assertEquals.port-number=22 +assertEquals.protocol=CLI +assertEquals.device-config=DUMMYFILECONTENT +assertEquals.tmp.message=Download Failure : 401 : ISBC Config Failed + + diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/ConfigBlockConfigure_Success.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/ConfigBlockConfigure_Success.properties new file mode 100644 index 000000000..a6d9f747f --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/ConfigBlockConfigure_Success.properties @@ -0,0 +1,48 @@ +### +# ============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-type= +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 + +input.tmp.configureactiondg.DOWNLOAD-CONFIG-DG=DownloadIsbcConfig + + + +# DG properties +APPC.DownloadIsbcConfig.outCome=success +APPC.GenerateConfig.outCome=success +#ProcessParameterDefinition +APPC.ProcessParameterDefinition.outCome=success + +assertEquals.error-code=400 +assertEquals.host-ip-address=135.1.1.1 +assertEquals.device-login=root + +assertEquals.device-password=!bootstrap +assertEquals.port-number=22 +assertEquals.protocol=CLI +assertEquals.device-config=DUMMYFILECONTENT + + diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/Configure_Failure.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/Configure_Failure.properties new file mode 100644 index 000000000..057e77782 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/Configure_Failure.properties @@ -0,0 +1,52 @@ +### +# ============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-type=template +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 + +input.tmp.configureactiondg.DOWNLOAD-CONFIG-DG=DownloadIsbcConfig + +org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.outCome=success +org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.params.assertEquals.fileCategory=config_template + + +input.error-code=401 +input.error-message=ISBC Config Failed +# DG properties +APPC.DownloadIsbcConfig.outCome=failure +APPC.GenerateTemplateConfig.outCome=success +#ProcessParameterDefinition +APPC.ProcessParameterDefinition.outCome=success + +assertEquals.host-ip-address=135.1.1.1 +assertEquals.device-login=root + +assertEquals.device-password=!bootstrap +assertEquals.port-number=22 +assertEquals.protocol=CLI +assertEquals.device-config=DUMMYFILECONTENT +assertEquals.tmp.message=Download Failure : 401 : ISBC Config Failed + + diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/Configure_Success.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/Configure_Success.properties new file mode 100644 index 000000000..3e8398ac3 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/Configure_Success.properties @@ -0,0 +1,50 @@ +### +# ============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-type=template +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 + +input.tmp.configureactiondg.DOWNLOAD-CONFIG-DG=DownloadIsbcConfig + +org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.outCome=success +org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.params.assertEquals.fileCategory=config_template + + +# DG properties +APPC.DownloadIsbcConfig.outCome=success +APPC.GenerateTemplateConfig.outCome=success +#ProcessParameterDefinition +APPC.ProcessParameterDefinition.outCome=success + +assertEquals.error-code=400 +assertEquals.host-ip-address=135.1.1.1 +assertEquals.device-login=root + +assertEquals.device-password=!bootstrap +assertEquals.port-number=22 +assertEquals.protocol=CLI +assertEquals.device-config=DUMMYFILECONTENT + + diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/GenerateConfig_Failure.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/GenerateConfig_Failure.properties new file mode 100644 index 000000000..de7c0eb5d --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/GenerateConfig_Failure.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========================================================= +### + +input.config-type= + +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 + + + + +APPC.GenerateConfig.outCome=failure + +assertNull.host-ip-address +assertNull.device-login +assertNull.device-password +assertNull.port-number +assertNull.protocol +assertNull.device-config + + + + + diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/GenerateTemplateConfig_Failure.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/GenerateTemplateConfig_Failure.properties new file mode 100644 index 000000000..5764c97b4 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/GenerateTemplateConfig_Failure.properties @@ -0,0 +1,47 @@ +### +# ============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-type=template + +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 + +org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.outCome=success +org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.params.assertEquals.fileCategory=config_template + + + +APPC.GenerateTemplateConfig.outCome=failure + +assertNull.host-ip-address +assertNull.device-login +assertNull.device-password +assertNull.port-number +assertNull.protocol +assertNull.device-config + + + + + diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/GetTemplate_Failure.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/GetTemplate_Failure.properties new file mode 100644 index 000000000..170291a67 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/GetTemplate_Failure.properties @@ -0,0 +1,32 @@ +### +# ============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-type=template + +#ProcessParameterDefinition +APPC.ProcessParameterDefinition.outCome=success +org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.outCome=failure +org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.config-template.error-message=Unable to get template +assertEquals.error-code=401 +assertEquals.error-message=Unable to get template + + + + |