aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/test')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestCheckConfigStatus.java217
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestCommonConfig.java230
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestConfigurationDocumentRequest.java69
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestConfigure.java285
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestDownloadCliConfig.java133
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestDownloadIsbcConfig.java152
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGenerateConfig.java133
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGenerateTemplateConfig.java112
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGetAaiInfo.java146
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGetConfigParams.java277
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGetDeviceRunningConfig.java131
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGetVfModuleInfo.java123
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestProcessParameterDefinition.java254
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestPublishConfiguration.java132
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestSaveRunningConfig.java152
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestSetStatus.java154
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestUpdateAaiInfo.java166
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/mock/instance/MockAaiResource.java249
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/mock/instance/MockConfigureNodeExecutor.java78
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/mock/instance/MockSvcLogicJavaPlugin.java148
-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
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CommonConfiguration/APPC_method_CommonConfiguration_TC2.properties54
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CommonConfiguration/GetConfigParamsFail.properties40
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CommonConfiguration/ISBCTemplateSuccess.properties122
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CommonConfiguration/InvalidRequestAction.properties38
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/ConfigBlockConfigure_Failure.properties51
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/ConfigBlockConfigure_Success.properties48
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/Configure_Failure.properties52
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/Configure_Success.properties50
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/GenerateConfig_Failure.properties45
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/GenerateTemplateConfig_Failure.properties47
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/Configure/GetTemplate_Failure.properties32
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadCliConfig/DownloadCliConfig_Adaptor_Failure.properties40
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadCliConfig/DownloadCliConfig_DB_Failure.properties38
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadCliConfig/DownloadCliConfig_Success.properties69
-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
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GenerateConfig/GenerateConfigNoParams.properties31
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GenerateConfig/GenerateConfigWithParams.properties30
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GenerateTemplateConfig/GenerateTemplateConfigNoParams.properties30
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GenerateTemplateConfig/GenerateTemplateConfigWithParams.properties29
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetAaiInfo/GetInfoSuccess.properties32
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetAaiInfo/GetVServerFail.properties34
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetAaiInfo/GetVnfFail.properties27
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/CliJson.properties49
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/CliString.properties52
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/CommonConfigFail.properties47
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/DefaultTemplate.properties46
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/Json2DGContextFail.properties38
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/Restore.properties53
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/TemplateName.properties46
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig/Chef_Failure.properties34
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig/Chef_Others.properties34
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig/Chef_Success.properties34
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetDeviceRunningConfig/XML_Success.properties34
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetVfModuleInfo/GetVfModuleInfo_Failure.properties44
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetVfModuleInfo/GetVfModuleInfo_Success.properties43
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/GetInstarParamsFail.properties30
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/GetPDFail.properties26
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/MergeParamsFail.properties36
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/NoInstarParams.properties28
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/ProcessPD.properties43
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/SaveMdsalFail.properties45
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/PublishConfiguration/PublishConfig_Failure.properties36
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/PublishConfiguration/PublishConfig_Success.properties34
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SaveRunningConfig/SaveRunningConfig_Failure.properties66
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SaveRunningConfig/SaveRunningConfig_Success.properties63
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SaveRunningConfig/UploadConfig_Failure.properties67
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SetStatus/SetStatus_AaiFailure.properties32
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SetStatus/SetStatus_SaveRunningFailure.properties31
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SetStatus/SetStatus_Success.properties31
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/UpdateAaIInfo/GetVnfcRef_Fail.properties28
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/UpdateAaIInfo/Update_Fail.properties31
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/UpdateAaIInfo/Update_Success.properties28
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC_method_CommonConfiguration_TC1.properties27
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC_method_CommonConfiguration_TC2.properties54
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/ASDC-MESSAGE_method_configuration-document-request_TC1.properties23
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/cli_config_content.txt5
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/config_chef.txt5
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/download_cli_config_template.txt18
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/instar_values.json25
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/isbc_config_parameters.json60
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/noinstarparams_pd.yaml92
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_cli_config.json98
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_json_config.json104
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_parameters_config.json95
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_restore_config.json54
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_template_config.json56
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/pd.yaml75
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/request-param.json21
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/vdbe_data.json27
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/vdbe_template.xml45
97 files changed, 6673 insertions, 0 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestCheckConfigStatus.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestCheckConfigStatus.java
new file mode 100644
index 000000000..631001be9
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestCheckConfigStatus.java
@@ -0,0 +1,217 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg;
+
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Test;
+import org.openecomp.appc.dg.mock.instance.MockConfigureNodeExecutor;
+import org.openecomp.appc.dg.mock.instance.MockSvcLogicJavaPlugin;
+
+/* TODO: move the dgtest to opensource
+import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
+import com.att.sdnctl.dgtestlibrary.DGTestCase;
+import com.att.sdnctl.dgtestlibrary.GraphKey;
+*/
+import org.openecomp.sdnc.sli.SvcLogicContext;
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
+
+public class TestCheckConfigStatus /* extends AbstractDGTestCase */ {
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestCheckConfigStatus.class);
+ public static String CheckConfigStatusXML = "src/main/resources/xml/APPC_CheckConfigStatus.xml";
+
+
+
+/*
+ @Test
+ public void testCheckConfigStatusSuccess() {
+ try {
+
+ String propertyfileName = "APPC/CheckConfigStatus/CheckConfigStatus_Success.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { CheckConfigStatusXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+ GraphKey graphKey = new GraphKey("APPC", null, "CheckConfigStatus", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testCheckConfigStatusFailure() {
+ try {
+
+ String propertyfileName = "APPC/CheckConfigStatus/CheckConfigStatus_Failure.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { CheckConfigStatusXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "CheckConfigStatus", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+
+
+ @Test
+ public void testParseErrorLogFail() {
+ try {
+
+ String propertyfileName = "APPC/CheckConfigStatus/ParseErrorLogFail.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { CheckConfigStatusXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ serviceReferences.put("org.openecomp.appc.ccadaptor.ConfigComponentAdaptor", new MockConfigureNodeExecutor());
+
+ GraphKey graphKey = new GraphKey("APPC", null, "CheckConfigStatus", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ //System.out.println("error-message "+ ctx.getAttribute("error-message"));
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ @Test
+ public void testParseErrorLogSuccess() {
+ try {
+
+ String propertyfileName = "APPC/CheckConfigStatus/ParseErrorLogSuccess.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { CheckConfigStatusXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ serviceReferences.put("org.openecomp.appc.ccadaptor.ConfigComponentAdaptor", new MockConfigureNodeExecutor());
+
+ GraphKey graphKey = new GraphKey("APPC", null, "CheckConfigStatus", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testMaxRetries() {
+ try {
+
+ String propertyfileName = "APPC/CheckConfigStatus/MaxRetries.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { CheckConfigStatusXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ serviceReferences.put("org.openecomp.appc.ccadaptor.ConfigComponentAdaptor", new MockConfigureNodeExecutor());
+
+ GraphKey graphKey = new GraphKey("APPC", null, "CheckConfigStatus", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+*/
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestCommonConfig.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestCommonConfig.java
new file mode 100644
index 000000000..17ad0d651
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestCommonConfig.java
@@ -0,0 +1,230 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Test;
+import org.openecomp.appc.dg.mock.instance.MockConfigureNodeExecutor;
+import org.openecomp.appc.dg.mock.instance.MockSvcLogicJavaPlugin;
+import org.openecomp.sdnc.config.generator.convert.ConvertNode;
+import org.openecomp.sdnc.config.generator.merge.MergeNode;
+/* move to open source
+import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
+import com.att.sdnctl.dgtestlibrary.DGTestCase;
+import com.att.sdnctl.dgtestlibrary.GraphKey;
+*/
+import org.openecomp.sdnc.sli.SvcLogicContext;
+
+public class TestCommonConfig /* extends AbstractDGTestCase */ {
+
+/*
+
+ public String jsonPath = "src/main/resources/json";
+ public String xmlpath = "src/main/resources/xml";
+
+ @Test
+ public void testCommonConfig() {
+ try {
+ //DGXMLGenerator generator = new DGXMLGenerator();
+ //generator.generateXMLFromJSON(jsonPath, xmlpath, null);
+
+ String propertyfileName = "APPC/CommonConfiguration/APPC_method_CommonConfiguration_TC2.properties";
+
+ String commonConfigureXML = "src/main/resources/xml/APPC_CommonConfiguration.xml";
+ String callGraph1XML = "src/main/resources/xml/APPC_GetConfigParams.xml";
+ String callGraph2XML = "src/main/resources/xml/APPC_Configure.xml";
+ String callGraph3XML = "src/main/resources/xml/APPC_SetStatus.xml";
+ String callGraph4XML = "src/main/resources/xml/APPC_DownloadRestconfConfig.xml";
+ String callGraph5XML = "src/main/resources/xml/APPC_GenerateConfig.xml";
+ String callGraph6XML = "src/main/resources/xml/APPC_DownloadXmlConfig.xml";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { commonConfigureXML,
+ callGraph1XML,
+ callGraph2XML,
+ callGraph3XML,
+ callGraph4XML,
+ callGraph5XML,
+ callGraph6XML };
+
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ serviceReferences.put("org.openecomp.sdnc.config.generator.convert.ConvertNode",new org.openecomp.sdnc.config.generator.convert.ConvertNode());
+ serviceReferences.put("org.openecomp.sdnc.config.generator.merge.MergeNode", new org.openecomp.sdnc.config.generator.merge.MergeNode());
+ //serviceReferences.put("com.att.appc.config.generator.node.ConfigResourceNode", new MockConfigResourceNode());
+ serviceReferences.put("org.openecomp.appc.ccadaptor.ConfigComponentAdaptor", new MockConfigureNodeExecutor());
+
+ GraphKey graphKey = new GraphKey("APPC", null, "CommonConfiguration", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+
+
+
+ @Test
+ public void testGetConfigParamsFailure() {
+ try {
+ //DGXMLGenerator generator = new DGXMLGenerator();
+ //generator.generateXMLFromJSON(jsonPath, xmlpath, null);
+
+ String propertyfileName = "APPC/CommonConfiguration/GetConfigParamsFail.properties";
+
+ String commonConfigureXML = "src/main/resources/xml/APPC_CommonConfiguration.xml";
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { commonConfigureXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "CommonConfiguration", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+
+ @Test
+ public void testInvalidRequestAction() {
+ try {
+ //DGXMLGenerator generator = new DGXMLGenerator();
+ //generator.generateXMLFromJSON(jsonPath, xmlpath, null);
+
+ String propertyfileName = "APPC/CommonConfiguration/InvalidRequestAction.properties";
+
+ String commonConfigureXML = "src/main/resources/xml/APPC_CommonConfiguration.xml";
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { commonConfigureXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "CommonConfiguration", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+ @Test
+ public void testCommonConfigISBCTemplateSuccess() {
+ try {
+ //DGXMLGenerator generator = new DGXMLGenerator();
+ //generator.generateXMLFromJSON(jsonPath, xmlpath, null);
+
+ String propertyfileName = "APPC/CommonConfiguration/ISBCTemplateSuccess.properties";
+
+ String commonConfigureXML = "src/main/resources/xml/APPC_CommonConfiguration.xml";
+ String callGraph1XML = "src/main/resources/xml/APPC_GetConfigParams.xml";
+ String callGraph2XML = "src/main/resources/xml/APPC_Configure.xml";
+ String callGraph3XML = "src/main/resources/xml/APPC_SetStatus.xml";
+ String callGraph4XML = "src/main/resources/xml/APPC_GenerateTemplateConfig.xml";
+ String callGraph5XML = "src/main/resources/xml/APPC_CheckConfigStatus.xml";
+ String callGraph6XML = "src/main/resources/xml/APPC_DownloadIsbcConfig.xml";
+ String callGraph7XML = "src/main/resources/xml/APPC_UpdateAaiInfo.xml";
+ String callGraph8XML = "src/main/resources/xml/APPC_GetVfModuleInfo.xml";
+ String callGraph9XML = "src/main/resources/xml/APPC_SaveRunningConfig.xml";
+ String callGraph10XML = "src/main/resources/xml/APPC_GetDeviceRunningConfig.xml";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { commonConfigureXML,
+ callGraph1XML,
+ callGraph2XML,
+ callGraph3XML,
+ callGraph4XML,
+ callGraph5XML,
+ callGraph6XML,
+ callGraph7XML,
+ callGraph8XML,
+ callGraph9XML,
+ callGraph10XML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ serviceReferences.put("org.openecomp.sdnc.config.generator.convert.ConvertNode",new org.openecomp.sdnc.config.generator.convert.ConvertNode());
+ serviceReferences.put("org.openecomp.sdnc.config.generator.merge.MergeNode", new org.openecomp.sdnc.config.generator.merge.MergeNode());
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "CommonConfiguration", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ Map<String, Object> resourceReferences = new HashMap<String, Object>();
+ tc.setResourceReferences(resourceReferences);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+*/
+}
+
+
+
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestConfigurationDocumentRequest.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestConfigurationDocumentRequest.java
new file mode 100644
index 000000000..211c14215
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestConfigurationDocumentRequest.java
@@ -0,0 +1,69 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Test;
+
+/* move to opensource
+import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
+import com.att.sdnctl.dgtestlibrary.DGTestCase;
+import com.att.sdnctl.dgtestlibrary.GraphKey;
+*/
+import org.openecomp.sdnc.sli.SvcLogicContext;
+
+public class TestConfigurationDocumentRequest /* extends AbstractDGTestCase */ {
+
+/*
+ @Test
+ public void testASDCMessage() {
+ try {
+ String propertyfileName = "ASDC-MESSAGE_method_configuration-document-request_TC1.properties";
+
+ String configurationDocumentRequestXML = "src/main/resources/xml/ASDC-MESSAGE_method_configuration-document-request_3.0.0.xml";
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { configurationDocumentRequestXML};
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ serviceReferences.put("org.openecomp.sdnc.config.generator.convert.ConvertNode",new org.openecomp.sdnc.config.generator.convert.ConvertNode());
+ serviceReferences.put("org.openecomp.sdnc.config.generator.merge.MergeNode", new org.openecomp.sdnc.config.generator.merge.MergeNode());
+
+ GraphKey graphKey = new GraphKey("ASDC-MESSAGE", null, "configuration-document-request", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+*/
+
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestConfigure.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestConfigure.java
new file mode 100644
index 000000000..c3928f692
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestConfigure.java
@@ -0,0 +1,285 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg;
+
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Test;
+import org.openecomp.appc.dg.mock.instance.MockConfigureNodeExecutor;
+import org.openecomp.appc.dg.mock.instance.MockSvcLogicJavaPlugin;
+
+/* need to move to open source
+import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
+import com.att.sdnctl.dgtestlibrary.DGTestCase;
+import com.att.sdnctl.dgtestlibrary.GraphKey;
+*/
+import org.openecomp.sdnc.sli.SvcLogicContext;
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
+
+public class TestConfigure /* extends AbstractDGTestCase */ {
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestConfigure.class);
+ public static String ConfigureXML = "src/main/resources/xml/APPC_Configure.xml";
+
+/*
+ @Test
+ public void testTemplateConfigureSuccess() {
+ try {
+
+ String propertyfileName = "APPC/Configure/Configure_Success.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { ConfigureXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testTemplateConfigureFailure() {
+ try {
+
+ String propertyfileName = "APPC/Configure/Configure_Failure.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { ConfigureXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testGetTemplateFailure() {
+ try {
+
+ String propertyfileName = "APPC/Configure/GetTemplate_Failure.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { ConfigureXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+
+ @Test
+ public void testGenerateTemplateConfigFailure() {
+ try {
+
+ String propertyfileName = "APPC/Configure/GenerateTemplateConfig_Failure.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { ConfigureXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ @Test
+ public void testConfigBlockConfigureSuccess() {
+ try {
+
+ String propertyfileName = "APPC/Configure/ConfigBlockConfigure_Success.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { ConfigureXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ @Test
+ public void testConfigBlockConfigureFailure() {
+ try {
+
+ String propertyfileName = "APPC/Configure/ConfigBlockConfigure_Failure.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { ConfigureXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testGenerateConfigFailure() {
+ try {
+
+ String propertyfileName = "APPC/Configure/GenerateConfig_Failure.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { ConfigureXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "Configure", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+*/
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestDownloadCliConfig.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestDownloadCliConfig.java
new file mode 100644
index 000000000..9c03da22d
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestDownloadCliConfig.java
@@ -0,0 +1,133 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Test;
+
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
+/* need to move to opensource
+import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
+import com.att.sdnctl.dgtestlibrary.DGMockUtils;
+import com.att.sdnctl.dgtestlibrary.DGTestCase;
+import com.att.sdnctl.dgtestlibrary.GraphKey;
+*/
+import org.openecomp.sdnc.sli.SvcLogicContext;
+
+public class TestDownloadCliConfig /* extends AbstractDGTestCase */ {
+
+/*
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestDownloadIsbcConfig.class);
+ public static String DownloadCliConfigXML = "src/main/resources/xml/APPC_DownloadCliConfig.xml";
+
+ @Test
+ public void testDownloadCliConfigSuccess() {
+ try {
+ String propertyfileName = "APPC/DownloadCliConfig/DownloadCliConfig_Success.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { DownloadCliConfigXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+ GraphKey graphKey = new GraphKey("APPC", null, "DownloadCliConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ Map<String, Object> resourceReferences = new HashMap<String, Object>();
+ tc.setResourceReferences(resourceReferences);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ //DGMockUtils.printContext(ctx);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ @Test
+ public void testDownloadCliConfigDBFailure() {
+ try {
+
+ String propertyfileName = "APPC/DownloadCliConfig/DownloadCliConfig_DB_Failure.properties";
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { DownloadCliConfigXML };
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+ GraphKey graphKey = new GraphKey("APPC", null, "DownloadCliConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ Map<String, Object> resourceReferences = new HashMap<String, Object>();
+ tc.setResourceReferences(resourceReferences);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ //DGMockUtils.printContext(ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ @Test
+ public void testDownloadCliConfigAdaptorFailure() {
+ try {
+
+ String propertyfileName = "APPC/DownloadCliConfig/DownloadCliConfig_Adaptor_Failure.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { DownloadCliConfigXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+ GraphKey graphKey = new GraphKey("APPC", null, "DownloadCliConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ Map<String, Object> resourceReferences = new HashMap<String, Object>();
+ tc.setResourceReferences(resourceReferences);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ //DGMockUtils.printContext(ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+*/
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestDownloadIsbcConfig.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestDownloadIsbcConfig.java
new file mode 100644
index 000000000..407c76e24
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestDownloadIsbcConfig.java
@@ -0,0 +1,152 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg;
+
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Test;
+import org.openecomp.appc.dg.mock.instance.MockSvcLogicJavaPlugin;
+
+/* need to move to open source
+import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
+import com.att.sdnctl.dgtestlibrary.DGTestCase;
+import com.att.sdnctl.dgtestlibrary.GraphKey;
+*/
+import org.openecomp.sdnc.sli.SvcLogicContext;
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
+
+public class TestDownloadIsbcConfig /* extends AbstractDGTestCase */{
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestDownloadIsbcConfig.class);
+ public static String DownloadIsbcConfigXML = "src/main/resources/xml/APPC_DownloadIsbcConfig.xml";
+
+/*
+ @Test
+ public void testDownloadIsbcConfigSuccess() {
+ try {
+
+ String propertyfileName = "APPC/DownloadIsbcConfig/DownloadIsbcConfig_Success.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { DownloadIsbcConfigXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "DownloadIsbcConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testConfigFileFailure() {
+ try {
+
+ String propertyfileName = "APPC/DownloadIsbcConfig/ConfigFile_Failure.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { DownloadIsbcConfigXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "DownloadIsbcConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testPutFailure() {
+ try {
+
+ String propertyfileName = "APPC/DownloadIsbcConfig/Put_Failure.properties";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { DownloadIsbcConfigXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "DownloadIsbcConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+
+
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+*/
+
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGenerateConfig.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGenerateConfig.java
new file mode 100644
index 000000000..adcfb9f88
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGenerateConfig.java
@@ -0,0 +1,133 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg;
+
+
+import static org.junit.Assert.*;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Before;
+import org.junit.Test;
+import org.mockito.Mockito;
+import org.openecomp.appc.dg.mock.instance.MockConfigureNodeExecutor;
+import org.openecomp.appc.dg.mock.instance.MockSvcLogicJavaPlugin;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.FrameworkUtil;
+import org.powermock.api.mockito.PowerMockito;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
+/* need to move to open source
+import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
+import com.att.sdnctl.dgtestlibrary.DGTestCase;
+import com.att.sdnctl.dgtestlibrary.GraphKey;
+import org.apache.sling.testing.mock.osgi.MockOsgi;
+*/
+import org.openecomp.sdnc.sli.SvcLogicContext;
+import org.openecomp.sdnc.sli.provider.ExecuteNodeExecutor;
+import org.openecomp.sdnc.sli.provider.SvcLogicAdaptorFactory;
+
+
+public class TestGenerateConfig /* extends AbstractDGTestCase */ {
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestGenerateConfig.class);
+ public static String generateConfigXML = "src/main/resources/xml/APPC_GenerateConfig.xml";
+
+/*
+
+ @Test
+ public void testGenerateConfigWithParameters() {
+ try {
+
+ String propertyfileName = "APPC/GenerateConfig/GenerateConfigWithParams.properties";
+ //String generateConfigXML = "src/main/resources/xml/APPC_GenerateConfig.xml";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { generateConfigXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+ serviceReferences.put("org.openecomp.sdnc.config.generator.merge.MergeNode", new org.openecomp.sdnc.config.generator.merge.MergeNode());
+ //serviceReferences.put("com.att.appc.config.generator.node.ConfigResourceNode", new MockConfigResourceNode());
+
+ serviceReferences.put("org.openecomp.appc.data.services.node.ConfigResourceNode", new MockSvcLogicJavaPlugin());
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GenerateConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+
+ @Test
+ public void testGenerateConfigWithNoParameters() {
+ try {
+
+ String propertyfileName = "APPC/GenerateConfig/GenerateConfigNoParams.properties";
+ //String generateConfigXML = "src/main/resources/xml/APPC_GenerateConfig.xml";
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { generateConfigXML };
+
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+ serviceReferences.put("org.openecomp.sdnc.config.generator.merge.MergeNode", new org.openecomp.sdnc.config.generator.merge.MergeNode());
+ //serviceReferences.put("com.att.appc.config.generator.node.ConfigResourceNode", new MockConfigResourceNode());
+
+ serviceReferences.put("org.openecomp.appc.data.services.node.ConfigResourceNode", new MockSvcLogicJavaPlugin());
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GenerateConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+*/
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGenerateTemplateConfig.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGenerateTemplateConfig.java
new file mode 100644
index 000000000..93bf554fe
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGenerateTemplateConfig.java
@@ -0,0 +1,112 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg;
+
+
+import static org.junit.Assert.*;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Test;
+import org.openecomp.appc.dg.mock.instance.MockConfigureNodeExecutor;
+import org.openecomp.appc.dg.mock.instance.MockSvcLogicJavaPlugin;
+
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
+/* need to move to opensource
+import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
+import com.att.sdnctl.dgtestlibrary.DGTestCase;
+import com.att.sdnctl.dgtestlibrary.GraphKey;
+*/
+import org.openecomp.sdnc.sli.SvcLogicContext;
+
+public class TestGenerateTemplateConfig /* extends AbstractDGTestCase */ {
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestGenerateTemplateConfig.class);
+/*
+ public static String generateConfigXML = "src/main/resources/xml/APPC_GenerateTemplateConfig.xml";
+
+ @Test
+ public void testGenerateTemplateConfigWithParameters() {
+ try {
+
+ String propertyfileName = "APPC/GenerateTemplateConfig/GenerateTemplateConfigWithParams.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+ serviceReferences.put("org.openecomp.appc.data.services.node.ConfigResourceNode", new MockSvcLogicJavaPlugin());
+ serviceReferences.put("org.openecomp.sdnc.config.generator.merge.MergeNode", new org.openecomp.sdnc.config.generator.merge.MergeNode());
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { generateConfigXML };
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GenerateTemplateConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+
+ @Test
+ public void testGenerateTemplateConfigWithNoParameters() {
+ try {
+
+ String propertyfileName = "APPC/GenerateTemplateConfig/GenerateTemplateConfigNoParams.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+ serviceReferences.put("org.openecomp.appc.data.services.node.ConfigResourceNode", new MockSvcLogicJavaPlugin());
+ serviceReferences.put("org.openecomp.sdnc.config.generator.merge.MergeNode", new org.openecomp.sdnc.config.generator.merge.MergeNode());
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { generateConfigXML };
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GenerateTemplateConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+*/
+
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGetAaiInfo.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGetAaiInfo.java
new file mode 100644
index 000000000..5dd9ec3f7
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGetAaiInfo.java
@@ -0,0 +1,146 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg;
+
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Test;
+import org.openecomp.appc.dg.mock.instance.MockConfigureNodeExecutor;
+import org.openecomp.appc.dg.mock.instance.MockSvcLogicJavaPlugin;
+
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
+/* need to move to open source
+import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
+import com.att.sdnctl.dgtestlibrary.DGTestCase;
+import com.att.sdnctl.dgtestlibrary.GraphKey;
+*/
+import org.openecomp.sdnc.sli.SvcLogicContext;
+
+
+public class TestGetAaiInfo /* extends AbstractDGTestCase */{
+
+/*
+
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestGetAaiInfo.class);
+ public static String getAaiInfoXML = "src/main/resources/xml/APPC_GetAaiInfo.xml";
+
+
+
+
+ @Test
+ public void testGetSuccess() {
+ try {
+
+
+ String propertyfileName = "APPC/GetAaiInfo/GetInfoSuccess.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getAaiInfoXML};
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetAaiInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testGetVnfFail() {
+ try {
+
+
+ String propertyfileName = "APPC/GetAaiInfo/GetVnfFail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getAaiInfoXML};
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetAaiInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ @Test
+ public void testGetVServerFail() {
+ try {
+
+
+ String propertyfileName = "APPC/GetAaiInfo/GetVServerFail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getAaiInfoXML};
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetAaiInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+*/
+}
+
+
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGetConfigParams.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGetConfigParams.java
new file mode 100644
index 000000000..6926c3229
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGetConfigParams.java
@@ -0,0 +1,277 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg;
+
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Test;
+import org.openecomp.appc.dg.mock.instance.MockConfigureNodeExecutor;
+import org.openecomp.appc.dg.mock.instance.MockSvcLogicJavaPlugin;
+
+/* move to open source
+import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
+import com.att.sdnctl.dgtestlibrary.DGTestCase;
+import com.att.sdnctl.dgtestlibrary.GraphKey;
+*/
+import org.openecomp.sdnc.sli.SvcLogicContext;
+
+
+public class TestGetConfigParams /* extends AbstractDGTestCase */ {
+
+
+/*
+
+ public static String getConfigParamsXML = "src/main/resources/xml/APPC_GetConfigParams.xml";
+
+
+
+ @Test
+ public void testGetConfigParamsWithDefaultTemplate() {
+ try {
+
+ String propertyfileName = "APPC/GetConfigParams/DefaultTemplate.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+ serviceReferences.put("org.openecomp.sdnc.config.generator.convert.ConvertNode", new org.openecomp.sdnc.config.generator.convert.ConvertNode());
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getConfigParamsXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+
+
+
+ @Test
+ public void testGetConfigParamsWithTemplateName() {
+ try {
+
+
+ String propertyfileName = "APPC/GetConfigParams/TemplateName.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+ serviceReferences.put("org.openecomp.sdnc.config.generator.convert.ConvertNode", new org.openecomp.sdnc.config.generator.convert.ConvertNode());
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getConfigParamsXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testGetConfigParamsWithCliString() {
+ try {
+
+ String propertyfileName = "APPC/GetConfigParams/CliString.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+ serviceReferences.put("org.openecomp.sdnc.config.generator.convert.ConvertNode", new org.openecomp.sdnc.config.generator.convert.ConvertNode());
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getConfigParamsXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ @Test
+ public void testGetConfigParamsWithCliJson() {
+ try {
+
+
+ String propertyfileName = "APPC/GetConfigParams/CliJson.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ serviceReferences.put("org.openecomp.sdnc.config.generator.convert.ConvertNode", new org.openecomp.sdnc.config.generator.convert.ConvertNode());
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getConfigParamsXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+
+ @Test
+ public void testGetConfigParamsForRestore() {
+ try {
+ String propertyfileName = "APPC/GetConfigParams/Restore.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ serviceReferences.put("org.openecomp.sdnc.config.generator.convert.ConvertNode", new org.openecomp.sdnc.config.generator.convert.ConvertNode());
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getConfigParamsXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testGetConfigParamsCommonConfigFail() {
+ try {
+ String propertyfileName = "APPC/GetConfigParams/CommonConfigFail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+ serviceReferences.put("org.openecomp.sdnc.config.generator.convert.ConvertNode", new org.openecomp.sdnc.config.generator.convert.ConvertNode());
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getConfigParamsXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+
+ @Test
+ public void testGetConfigParamsJson2DGContextFail() {
+ try {
+ String propertyfileName = "APPC/GetConfigParams/Json2DGContextFail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getConfigParamsXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetConfigParams", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+*/
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGetDeviceRunningConfig.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGetDeviceRunningConfig.java
new file mode 100644
index 000000000..8a5d3d54a
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGetDeviceRunningConfig.java
@@ -0,0 +1,131 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg;
+
+
+import static org.junit.Assert.assertNotNull;
+
+import org.junit.Test;
+
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
+/* need to move to open source
+import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
+import com.att.sdnctl.dgtestlibrary.DGTestCase;
+import com.att.sdnctl.dgtestlibrary.GraphKey;
+*/
+import org.openecomp.sdnc.sli.SvcLogicContext;
+
+public class TestGetDeviceRunningConfig /* extends AbstractDGTestCase */ {
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestGetConfigParams.class);
+/*
+ public String jsonPath = "src/main/resources/json";
+ public String xmlpath = "src/main/resources/xml";
+
+ @Test
+ public void testChefRunningConfigSuccess() {
+ try {
+ logger.info("********************************* testChefRunningConfigSuccess *************************************");
+ //DGMockUtils.generateXMLFile(jsonPath, xmlpath);
+
+ String propertyfileName = "APPC/GetDeviceRunningConfig/Chef_Success.properties";
+
+ String getDeviceRunningConfigXML = "src/main/resources/xml/APPC_GetDeviceRunningConfig.xml";
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getDeviceRunningConfigXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetDeviceRunningConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ assertContextWithProperty(ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ @Test
+ public void testChefRunningConfigFailure() {
+ try {
+
+ logger.info("********************************* testChefRunningConfigFailure *************************************");
+ String propertyfileName = "APPC/GetDeviceRunningConfig/Chef_Failure.properties";
+
+ String getDeviceRunningConfigXML = "src/main/resources/xml/APPC_GetDeviceRunningConfig.xml";
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getDeviceRunningConfigXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetDeviceRunningConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ assertContextWithProperty(ctx);
+
+ //DGMockUtils.printContext(ctx);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ @Test
+ public void testChefRunningConfigOthers() {
+ try {
+ logger.info("********************************* testChefRunningConfigOthers *************************************");
+ String propertyfileName = "APPC/GetDeviceRunningConfig/Chef_Others.properties";
+
+ String getDeviceRunningConfigXML = "src/main/resources/xml/APPC_GetDeviceRunningConfig.xml";
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getDeviceRunningConfigXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetDeviceRunningConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ assertContextWithProperty(ctx);
+
+ //DGMockUtils.printContext(ctx);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+*/
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGetVfModuleInfo.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGetVfModuleInfo.java
new file mode 100644
index 000000000..3e2f34c0f
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestGetVfModuleInfo.java
@@ -0,0 +1,123 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg;
+
+
+import static org.junit.Assert.*;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Before;
+import org.junit.Test;
+import org.mockito.Mockito;
+import org.openecomp.appc.dg.mock.instance.MockConfigureNodeExecutor;
+import org.openecomp.appc.dg.mock.instance.MockSvcLogicJavaPlugin;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.FrameworkUtil;
+import org.powermock.api.mockito.PowerMockito;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
+/* need move to open source
+import org.apache.sling.testing.mock.osgi.MockOsgi;
+import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
+import com.att.sdnctl.dgtestlibrary.DGTestCase;
+import com.att.sdnctl.dgtestlibrary.GraphKey;
+*/
+import org.openecomp.sdnc.sli.SvcLogicContext;
+import org.openecomp.sdnc.sli.provider.ExecuteNodeExecutor;
+import org.openecomp.sdnc.sli.provider.SvcLogicAdaptorFactory;
+
+
+public class TestGetVfModuleInfo /* extends AbstractDGTestCase */ {
+
+ //private final static Logger logger = LoggerFactory.getLogger(TestGetParams.class);
+
+/*
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestGetVfModuleInfo.class);
+ public static String GetVfModuleInfoXML = "src/main/resources/xml/APPC_GetVfModuleInfo.xml";
+
+
+
+ @Test
+ public void testGetVfModuleInfoSuccess() {
+ try {
+
+ String propertyfileName = "APPC/GetVfModuleInfo/GetVfModuleInfo_Success.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { GetVfModuleInfoXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetVfModuleInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+
+
+
+ @Test
+ public void testGetVfModuleInfoFailure() {
+ try {
+
+ String propertyfileName = "APPC/GetVfModuleInfo/GetVfModuleInfo_Failure.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { GetVfModuleInfoXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "GetVfModuleInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+
+*/
+
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestProcessParameterDefinition.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestProcessParameterDefinition.java
new file mode 100644
index 000000000..20d04fde3
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestProcessParameterDefinition.java
@@ -0,0 +1,254 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg;
+
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Test;
+import org.openecomp.appc.dg.mock.instance.MockConfigureNodeExecutor;
+import org.openecomp.appc.dg.mock.instance.MockSvcLogicJavaPlugin;
+
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
+/* move to open source
+import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
+import com.att.sdnctl.dgtestlibrary.DGTestCase;
+import com.att.sdnctl.dgtestlibrary.GraphKey;
+*/
+import org.openecomp.sdnc.sli.SvcLogicContext;
+
+
+public class TestProcessParameterDefinition /* extends AbstractDGTestCase */ {
+
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestProcessParameterDefinition.class);
+ public static String getProcessPDXML = "src/main/resources/xml/APPC_ProcessParameterDefinition.xml";
+
+/*
+
+
+ @Test
+ public void testProcessPD() {
+ try {
+
+
+ String propertyfileName = "APPC/ProcessParameterDefinition/ProcessPD.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ serviceReferences.put("org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode", new org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode());
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getProcessPDXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ //System.out.println(ctx.getAttribute("tmp.allParams.configuration-parameters"));
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+
+ @Test
+ public void testGetPDFail() {
+ try {
+
+
+ String propertyfileName = "APPC/ProcessParameterDefinition/GetPDFail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ serviceReferences.put("org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode", new org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode());
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getProcessPDXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+ @Test
+ public void testNoInstarParams() {
+ try {
+
+
+ String propertyfileName = "APPC/ProcessParameterDefinition/NoInstarParams.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ serviceReferences.put("org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode", new org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode());
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getProcessPDXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testGetInstarParamsFail() {
+ try {
+
+
+ String propertyfileName = "APPC/ProcessParameterDefinition/GetInstarParamsFail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getProcessPDXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testMergeParamsFail() {
+ try {
+
+
+ String propertyfileName = "APPC/ProcessParameterDefinition/MergeParamsFail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getProcessPDXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+
+ @Test
+ public void testSaveMdSal() {
+ try {
+
+
+ String propertyfileName = "APPC/ProcessParameterDefinition/SaveMdsalFail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ serviceReferences.put("org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode", new org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode());
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { getProcessPDXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "ProcessParameterDefinition", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ //System.out.println(ctx.getAttribute("tmp.allParams.configuration-parameters"));
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+*/
+}
+
+
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestPublishConfiguration.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestPublishConfiguration.java
new file mode 100644
index 000000000..bae40347b
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestPublishConfiguration.java
@@ -0,0 +1,132 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg;
+
+
+import static org.junit.Assert.*;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Before;
+import org.junit.Test;
+import org.mockito.Mockito;
+import org.openecomp.appc.dg.mock.instance.MockConfigureNodeExecutor;
+import org.openecomp.appc.dg.mock.instance.MockSvcLogicJavaPlugin;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.FrameworkUtil;
+import org.powermock.api.mockito.PowerMockito;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
+/* need to move to OPENSOURCE
+import org.apache.sling.testing.mock.osgi.MockOsgi;
+import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
+import com.att.sdnctl.dgtestlibrary.DGTestCase;
+import com.att.sdnctl.dgtestlibrary.GraphKey;
+*/
+import org.openecomp.sdnc.sli.SvcLogicContext;
+import org.openecomp.sdnc.sli.provider.ExecuteNodeExecutor;
+import org.openecomp.sdnc.sli.provider.SvcLogicAdaptorFactory;
+
+
+public class TestPublishConfiguration /* extends AbstractDGTestCase */ {
+ //private final static Logger logger = LoggerFactory.getLogger(TestGetParams.class);
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestPublishConfiguration.class);
+ public static String PublishConfigurationXML = "src/main/resources/xml/APPC_PublishConfiguration.xml";
+
+
+/*
+
+ @Test
+ public void TestPublishConfigurationSuccess() {
+ try {
+
+ String propertyfileName = "APPC/PublishConfiguration/PublishConfig_Success.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+ serviceReferences.put("org.openecomp.sdnc.config.generator.convert.ConvertNode", new org.openecomp.sdnc.config.generator.convert.ConvertNode());
+
+
+
+ serviceReferences.put("org.openecomp.sdnc.config.generator.writer.FileWriterNode", new org.openecomp.sdnc.config.generator.writer.FileWriterNode());
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { PublishConfigurationXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "PublishConfiguration", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+ System.out.println("JSON " + ctx.getAttribute("tmp.jsonConversion.jsonContent"));
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+
+
+
+ @Test
+ public void TestPublishConfigurationFailure() {
+ try {
+
+ String propertyfileName = "APPC/PublishConfiguration/PublishConfig_Failure.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { PublishConfigurationXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "PublishConfiguration", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+
+
+*/
+
+
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestSaveRunningConfig.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestSaveRunningConfig.java
new file mode 100644
index 000000000..d093811ec
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestSaveRunningConfig.java
@@ -0,0 +1,152 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg;
+
+
+import static org.junit.Assert.*;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Before;
+import org.junit.Test;
+import org.mockito.Mockito;
+import org.openecomp.appc.dg.mock.instance.MockConfigureNodeExecutor;
+import org.openecomp.appc.dg.mock.instance.MockSvcLogicJavaPlugin;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.FrameworkUtil;
+import org.powermock.api.mockito.PowerMockito;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
+/* need to move to open source
+import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
+import com.att.sdnctl.dgtestlibrary.DGTestCase;
+import com.att.sdnctl.dgtestlibrary.GraphKey;
+import org.apache.sling.testing.mock.osgi.MockOsgi;
+*/
+import org.openecomp.sdnc.sli.SvcLogicContext;
+import org.openecomp.sdnc.sli.provider.ExecuteNodeExecutor;
+import org.openecomp.sdnc.sli.provider.SvcLogicAdaptorFactory;
+
+
+public class TestSaveRunningConfig /* extends AbstractDGTestCase */{
+ //private final static Logger logger = LoggerFactory.getLogger(TestGetParams.class);
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestSaveRunningConfig.class);
+ public static String SaveRunningConfigXML = "src/main/resources/xml/APPC_SaveRunningConfig.xml";
+
+/*
+
+
+ @Test
+ public void testSaveRunningConfigSuccess() {
+ try {
+
+ String propertyfileName = "APPC/SaveRunningConfig/SaveRunningConfig_Success.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { SaveRunningConfigXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "SaveRunningConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+
+
+
+ @Test
+ public void testSaveRunningConfigFailure() {
+ try {
+
+ String propertyfileName = "APPC/SaveRunningConfig/SaveRunningConfig_Failure.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { SaveRunningConfigXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "SaveRunningConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+ @Test
+ public void testSaveRunningUploadConfigFailure() {
+ try {
+
+ String propertyfileName = "APPC/SaveRunningConfig/UploadConfig_Failure.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { SaveRunningConfigXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "SaveRunningConfig", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+
+*/
+
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestSetStatus.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestSetStatus.java
new file mode 100644
index 000000000..76ae2032b
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestSetStatus.java
@@ -0,0 +1,154 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg;
+
+
+import static org.junit.Assert.*;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Before;
+import org.junit.Test;
+import org.mockito.Mockito;
+import org.openecomp.appc.dg.mock.instance.MockConfigureNodeExecutor;
+import org.openecomp.appc.dg.mock.instance.MockSvcLogicJavaPlugin;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.FrameworkUtil;
+import org.powermock.api.mockito.PowerMockito;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
+/* need to move to open source
+import org.apache.sling.testing.mock.osgi.MockOsgi;
+import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
+import com.att.sdnctl.dgtestlibrary.DGTestCase;
+import com.att.sdnctl.dgtestlibrary.GraphKey;
+*/
+import org.openecomp.sdnc.sli.SvcLogicContext;
+import org.openecomp.sdnc.sli.provider.ExecuteNodeExecutor;
+import org.openecomp.sdnc.sli.provider.SvcLogicAdaptorFactory;
+
+
+public class TestSetStatus /* extends AbstractDGTestCase */ {
+ //private final static Logger logger = LoggerFactory.getLogger(TestGetParams.class);
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestSetStatus.class);
+ public static String SetStatusXML = "src/main/resources/xml/APPC_SetStatus.xml";
+
+
+/*
+ @Test
+ public void testSetStatusSuccess() {
+ try {
+
+ String propertyfileName = "APPC/SetStatus/SetStatus_Success.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { SetStatusXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "SetStatus", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+
+
+
+ @Test
+ public void testSetStatusAaiFailure() {
+ try {
+
+ String propertyfileName = "APPC/SetStatus/SetStatus_AaiFailure.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { SetStatusXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "SetStatus", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+
+ @Test
+ public void testSetStatusFailure() {
+ try {
+
+ String propertyfileName = "APPC/SetStatus/SetStatus_SaveRunningFailure.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { SetStatusXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "SetStatus", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+
+*/
+
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestUpdateAaiInfo.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestUpdateAaiInfo.java
new file mode 100644
index 000000000..c5fed9416
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/TestUpdateAaiInfo.java
@@ -0,0 +1,166 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg;
+
+
+import static org.junit.Assert.*;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Before;
+import org.junit.Test;
+import org.mockito.Mockito;
+import org.openecomp.appc.dg.mock.instance.MockAaiResource;
+import org.openecomp.appc.dg.mock.instance.MockConfigureNodeExecutor;
+import org.openecomp.appc.dg.mock.instance.MockSvcLogicJavaPlugin;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.FrameworkUtil;
+import org.powermock.api.mockito.PowerMockito;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
+/* move to open source
+import org.apache.sling.testing.mock.osgi.MockOsgi;
+import com.att.sdnctl.dgtestlibrary.AbstractDGTestCase;
+import com.att.sdnctl.dgtestlibrary.DGTestCase;
+import com.att.sdnctl.dgtestlibrary.GraphKey;
+*/
+import org.openecomp.sdnc.sli.SvcLogicContext;
+import org.openecomp.sdnc.sli.provider.ExecuteNodeExecutor;
+import org.openecomp.sdnc.sli.provider.SvcLogicAdaptorFactory;
+
+
+public class TestUpdateAaiInfo /* extends AbstractDGTestCase */ {
+ //private final static Logger logger = LoggerFactory.getLogger(TestGetParams.class);
+ private static final EELFLogger logger = EELFManager.getInstance().getLogger(TestUpdateAaiInfo.class);
+ public static String UpdateAaiInfoXML = "src/main/resources/xml/APPC_UpdateAaiInfo.xml";
+
+/*
+
+ @Test
+ public void testUpdateAaiInfoSuccess() {
+ try {
+
+ String propertyfileName = "APPC/UpdateAaiInfo/Update_Success.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { UpdateAaiInfoXML };
+
+
+ Map<String, Object> resourceReferences = new HashMap<String, Object>();
+
+
+ resourceReferences.put("org.openecomp.sdnc.sli.aai.AAIService", new MockAaiResource());
+
+ GraphKey graphKey = new GraphKey("APPC", null, "UpdateAaiInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+ tc.setResourceReferences(resourceReferences);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+
+
+ @Test
+ public void testUpdateAaiInfoFail() {
+ try {
+
+ String propertyfileName = "APPC/UpdateAaiInfo/Update_Fail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { UpdateAaiInfoXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "UpdateAaiInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+
+ Map<String, Object> resourceReferences = new HashMap<String, Object>();
+ tc.setResourceReferences(resourceReferences);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+
+
+ @Test
+ public void testGetVnfcRefFail() {
+ try {
+
+ String propertyfileName = "APPC/UpdateAaiInfo/GetVnfcRef_Fail.properties";
+ Map<String, Object> serviceReferences = new HashMap<String, Object>();
+
+
+
+ // Register Call graphs
+ String injectGraphXmls[] = new String[] { UpdateAaiInfoXML };
+
+
+ GraphKey graphKey = new GraphKey("APPC", null, "UpdateAaiInfo", null);
+ DGTestCase tc = new DGTestCase(graphKey);
+ tc.setInjectGraphXmls(injectGraphXmls);
+ tc.setServiceReferences(serviceReferences);
+ tc.setPropertyfileName(propertyfileName);
+
+ Map<String, Object> resourceReferences = new HashMap<String, Object>();
+ tc.setResourceReferences(resourceReferences);
+
+ SvcLogicContext ctx = new SvcLogicContext();
+ processTestCase(tc, ctx);
+
+
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ }
+
+*/
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/mock/instance/MockAaiResource.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/mock/instance/MockAaiResource.java
new file mode 100644
index 000000000..5e55f2f31
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/mock/instance/MockAaiResource.java
@@ -0,0 +1,249 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg.mock.instance;
+
+
+import java.util.Map;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import org.openecomp.sdnc.sli.SvcLogicAdaptor;
+import org.openecomp.sdnc.sli.SvcLogicContext;
+import org.openecomp.sdnc.sli.SvcLogicException;
+import org.openecomp.sdnc.sli.SvcLogicResource;
+import org.openecomp.sdnc.sli.SvcLogicResource.QueryStatus;
+import static org.junit.Assert.*;
+
+public class MockAaiResource implements SvcLogicResource {
+
+ private final static Logger logger = LoggerFactory.getLogger(MockAaiResource.class);
+
+ @Override
+ public QueryStatus isAvailable(String resource, String key, String prefix, SvcLogicContext ctx) throws SvcLogicException {
+
+ return QueryStatus.SUCCESS;
+
+ }
+
+ @Override
+ public QueryStatus exists(String resource, String key, String prefix, SvcLogicContext ctx) throws SvcLogicException {
+
+ return QueryStatus.SUCCESS;
+ }
+
+
+
+ public QueryStatus query(String resource, boolean localOnly, String select, String key, String prefix, String orderBy, SvcLogicContext ctx) throws SvcLogicException {
+
+ if (ctx.getAttribute("j").equals("0") && "tmp.aai-data-vm".equals(prefix)) {
+ logger.info("Mock VM Get query1 called " + ctx.getAttribute("j") );
+
+ assertEquals(resource, "vserver");
+ assertEquals(key, "'vserver-name = $request-parameters.vm[$j].vm-name'");
+
+ ctx.setAttribute("tmp.aai-data-vm.vserver-id", "vserverid1");
+
+ ctx.setAttribute("tmp.aai-data-vm.tenant-id", "tenantid1");
+ ctx.setAttribute("tmp.aai-data-vm.cloud-owner", "att-aic");
+ ctx.setAttribute("tmp.aai-data-vm.cloud-region-id", "cloudregionid1");
+ }
+ else if (ctx.getAttribute("j").equals("1") && "tmp.aai-data-vm".equals(prefix)) {
+ logger.info("Mock VM Get query1 called " + ctx.getAttribute("j") );
+
+ assertEquals(resource, "vserver");
+ assertEquals(key, "'vserver-name = $request-parameters.vm[$j].vm-name'");
+
+
+ ctx.setAttribute("tmp.aai-data-vm.vserver-id", "vserverid2");
+
+ ctx.setAttribute("tmp.aai-data-vm.tenant-id", "tenantid2");
+ ctx.setAttribute("tmp.aai-data-vm.cloud-owner", "att-aic");
+ ctx.setAttribute("tmp.aai-data-vm.cloud-region-id", "cloudregionid2");
+ }
+ else if ("tmp.aai-data-vnfc".equals(prefix)) {
+ logger.info("Mock VNFC Get query1 called " );
+
+ assertEquals(resource, "vnfc");
+ assertEquals(key, "'vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name'");
+
+ return QueryStatus.NOT_FOUND;
+ }
+ return QueryStatus.SUCCESS;
+ }
+
+
+ public QueryStatus query(String resource, boolean localOnly, String select, String key, String prefix, SvcLogicContext ctx) throws SvcLogicException {
+
+ logger.info("Mock query2 called " + ctx.getAttribute("j"));
+
+
+ return QueryStatus.SUCCESS;
+ }
+
+ @Override
+ public QueryStatus reserve(String resource, String select, String key, String prefix, SvcLogicContext ctx) throws SvcLogicException {
+
+ return QueryStatus.SUCCESS;
+ }
+
+ @Override
+ public QueryStatus save(String resource, boolean force, boolean localOnly, String key, Map<String, String> parms, String prefix, SvcLogicContext ctx) throws SvcLogicException {
+
+ logger.info("Mock Save called");
+ if (ctx.getAttribute("j").equals("0") &&
+ ctx.getAttribute("k").equals("0") &&
+ "tmp.vnfc-sys-controller".equals(prefix)) {
+
+ assertEquals(resource, "vnfc");
+
+ assertEquals(key, "'vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name'");
+
+
+ assertEquals(parms.get("prov-status"), "NVTPROV");
+ assertEquals(parms.get("orchestration-status"), "CONFIGURED");
+ assertEquals(parms.get("in-maint"), "false");
+ assertEquals(parms.get("is-closed-loop"), "false");
+
+
+ assertEquals(parms.get("vnfc-function-code"), "funccode");
+ assertEquals(parms.get("vnfc-type"), "vnfctype");
+ assertEquals(parms.get("ipaddress-v4-oam-vip"), "135.1.1.1");
+ assertEquals(parms.get("group-notation"), "groupnotation");
+
+ assertEquals(parms.get("relationship-list.relationship[0].related-to"), "vserver");
+ assertEquals(parms.get("relationship-list.relationship[0].relationship-data[0].relationship-key"), "vserver.vserver-id");
+ assertEquals(parms.get("relationship-list.relationship[0].relationship-data[0].relationship-value"), "vserverid1");
+
+
+ assertEquals(parms.get("relationship-list.relationship[0].relationship-data[1].relationship-key"), "tenant.tenant-id");
+ assertEquals(parms.get("relationship-list.relationship[0].relationship-data[1].relationship-value"), "tenantid1");
+
+
+ assertEquals(parms.get("relationship-list.relationship[0].relationship-data[2].relationship-key"), "cloud-region.cloud-owner");
+ assertEquals(parms.get("relationship-list.relationship[0].relationship-data[2].relationship-value"), "att-aic");
+
+
+ assertEquals(parms.get("relationship-list.relationship[0].relationship-data[3].relationship-key"), "cloud-region.cloud-region-id");
+ assertEquals(parms.get("relationship-list.relationship[0].relationship-data[3].relationship-value"), "cloudregionid1");
+
+
+ assertEquals(parms.get("relationship-list.relationship[1].related-to"), "generic-vnf");
+ assertEquals(parms.get("relationship-list.relationship[1].relationship-data[0].relationship-key"), "generic-vnf.vnf-id");
+ assertEquals(parms.get("relationship-list.relationship[1].relationship-data[0].relationship-value"), "ibcx0001v");
+
+
+ assertEquals(parms.get("relationship-list.relationship[2].related-to"), "vf-module");
+ assertEquals(parms.get("relationship-list.relationship[2].relationship-data[0].relationship-key"), "generic-vnf.vnf-id");
+ assertEquals(parms.get("relationship-list.relationship[2].relationship-data[0].relationship-value"), "ibcx0001v");
+
+ assertEquals(parms.get("relationship-list.relationship[2].relationship-data[1].relationship-key"), "vf-module.vf-module-id");
+ assertEquals(parms.get("relationship-list.relationship[2].relationship-data[1].relationship-value"), "1");
+
+ }
+ else if (ctx.getAttribute("j").equals("1") &&
+ ctx.getAttribute("k").equals("0") &&
+ "tmp.vnfc-sys-controller".equals(prefix)) {
+
+ assertEquals(resource, "vnfc");
+
+ assertEquals(key, "'vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name'");
+
+
+ assertEquals(parms.get("prov-status"), "NVTPROV");
+ assertEquals(parms.get("orchestration-status"), "CONFIGURED");
+ assertEquals(parms.get("in-maint"), "false");
+ assertEquals(parms.get("is-closed-loop"), "false");
+
+
+ assertEquals(parms.get("vnfc-function-code"), "funccode1");
+ assertEquals(parms.get("vnfc-type"), "vnfctype1");
+ assertEquals(parms.get("ipaddress-v4-oam-vip"), "135.2.2.2");
+ assertEquals(parms.get("group-notation"), "groupnotation1");
+
+ assertEquals(parms.get("relationship-list.relationship[0].related-to"), "vserver");
+ assertEquals(parms.get("relationship-list.relationship[0].relationship-data[0].relationship-key"), "vserver.vserver-id");
+ assertEquals(parms.get("relationship-list.relationship[0].relationship-data[0].relationship-value"), "vserverid2");
+
+
+ assertEquals(parms.get("relationship-list.relationship[0].relationship-data[1].relationship-key"), "tenant.tenant-id");
+ assertEquals(parms.get("relationship-list.relationship[0].relationship-data[1].relationship-value"), "tenantid2");
+
+
+ assertEquals(parms.get("relationship-list.relationship[0].relationship-data[2].relationship-key"), "cloud-region.cloud-owner");
+ assertEquals(parms.get("relationship-list.relationship[0].relationship-data[2].relationship-value"), "att-aic");
+
+
+ assertEquals(parms.get("relationship-list.relationship[0].relationship-data[3].relationship-key"), "cloud-region.cloud-region-id");
+ assertEquals(parms.get("relationship-list.relationship[0].relationship-data[3].relationship-value"), "cloudregionid2");
+
+
+ assertEquals(parms.get("relationship-list.relationship[1].related-to"), "generic-vnf");
+ assertEquals(parms.get("relationship-list.relationship[1].relationship-data[0].relationship-key"), "generic-vnf.vnf-id");
+ assertEquals(parms.get("relationship-list.relationship[1].relationship-data[0].relationship-value"), "ibcx0001v");
+
+
+ assertEquals(parms.get("relationship-list.relationship[2].related-to"), "vf-module");
+ assertEquals(parms.get("relationship-list.relationship[2].relationship-data[0].relationship-key"), "generic-vnf.vnf-id");
+ assertEquals(parms.get("relationship-list.relationship[2].relationship-data[0].relationship-value"), "ibcx0001v");
+
+ assertEquals(parms.get("relationship-list.relationship[2].relationship-data[1].relationship-key"), "vf-module.vf-module-id");
+ assertEquals(parms.get("relationship-list.relationship[2].relationship-data[1].relationship-value"), "1");
+ }
+ return QueryStatus.SUCCESS;
+ }
+
+ @Override
+ public QueryStatus release(String resource, String key, SvcLogicContext ctx) throws SvcLogicException {
+
+ return QueryStatus.SUCCESS;
+ }
+
+ @Override
+ public QueryStatus delete(String resource, String key, SvcLogicContext ctx) throws SvcLogicException {
+
+ return QueryStatus.SUCCESS;
+ }
+
+
+
+ @Override
+ public QueryStatus notify(String resource, String action, String key, SvcLogicContext ctx) throws SvcLogicException {
+
+
+
+ return QueryStatus.SUCCESS;
+ }
+
+
+ public QueryStatus update(String resource, String key,
+ Map<String, String> parms, String prefix, SvcLogicContext ctx)
+ throws SvcLogicException {
+
+ return QueryStatus.SUCCESS;
+ }
+
+}
+
+
+
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/mock/instance/MockConfigureNodeExecutor.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/mock/instance/MockConfigureNodeExecutor.java
new file mode 100644
index 000000000..165c39905
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/mock/instance/MockConfigureNodeExecutor.java
@@ -0,0 +1,78 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg.mock.instance;
+
+
+import java.util.Map;
+
+import org.openecomp.sdnc.sli.SvcLogicAdaptor;
+import org.openecomp.sdnc.sli.SvcLogicContext;
+
+public class MockConfigureNodeExecutor implements SvcLogicAdaptor{
+
+ @Override
+ public ConfigStatus configure(String key, Map<String, String> parameters, SvcLogicContext ctx) {
+
+
+ if ( "get".equals(key)) {
+
+ if ("135.1.1.1".equals(parameters.get("host") )) {
+ String fullPathFileName = parameters.get("fullPathFileName");
+ if (("SuccessFile").equals(fullPathFileName ) )
+ return ConfigStatus.FAILURE;
+ if (("FailureFile").equals(fullPathFileName ) )
+ return ConfigStatus.SUCCESS;
+ if (("FailureLogFile").equals(fullPathFileName ) )
+ return ConfigStatus.SUCCESS;
+ }
+ else if ("135.2.2.2".equals(parameters.get("host")) ) {
+ String fullPathFileName = parameters.get("fullPathFileName");
+ if (("SuccessFile").equals(fullPathFileName ) )
+ return ConfigStatus.FAILURE;
+ if (("FailureFile").equals(fullPathFileName ) )
+ return ConfigStatus.FAILURE;
+
+ }
+
+ return ConfigStatus.SUCCESS;
+ }
+ else {
+ ctx.setAttribute("Status", "Success");
+
+ return ConfigStatus.SUCCESS;
+ }
+ }
+
+ @Override
+ public ConfigStatus activate(String key, SvcLogicContext ctx) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public ConfigStatus deactivate(String key, SvcLogicContext ctx) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+
+
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/mock/instance/MockSvcLogicJavaPlugin.java b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/mock/instance/MockSvcLogicJavaPlugin.java
new file mode 100644
index 000000000..e13212600
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/java/org/openecomp/appc/dg/mock/instance/MockSvcLogicJavaPlugin.java
@@ -0,0 +1,148 @@
+/*-
+ * ============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=========================================================
+ */
+
+package org.openecomp.appc.dg.mock.instance;
+
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.util.Map;
+
+import org.apache.commons.lang.StringUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import org.openecomp.sdnc.sli.SvcLogicContext;
+import org.openecomp.sdnc.sli.SvcLogicException;
+import org.openecomp.sdnc.sli.SvcLogicJavaPlugin;
+
+public class MockSvcLogicJavaPlugin implements SvcLogicJavaPlugin{
+ private final static Logger logger = LoggerFactory.getLogger(MockSvcLogicJavaPlugin.class);
+ public static String INPUT_PARAM_RESPONSE_PREFIX = "responsePrefix";
+ public static String OUTPUT_STATUS_SUCCESS = "success";
+ public static String OUTPUT_STATUS_FAILURE = "failure";
+ public static String OUTPUT_PARAM_STATUS = "status";
+
+
+ public void mountDevice(Map<String, String> inParams, SvcLogicContext ctx) throws SvcLogicException{
+ logger.info("Executed MountDevice Plugin");
+ }
+
+ public void downloadDeviceConfiguration(Map<String, String> inParams, SvcLogicContext ctx) throws SvcLogicException{
+ ctx.setAttribute("downloadStatus", "success");
+ logger.info("Executed Download Device Configuration Plugin");
+ throw new SvcLogicException("failed in Download..");
+ }
+
+
+
+
+ public void getCommonConfigInfo(Map<String, String> inParams, SvcLogicContext ctx) throws SvcLogicException, FileNotFoundException, IOException {
+ logger.info("Mock getCommonConfigInfo Called....");
+
+
+ /***
+ ctx.setAttribute("device-authentication.USER-NAME", "root");
+
+ String responsePrefix = inParams.get(INPUT_PARAM_RESPONSE_PREFIX);
+ responsePrefix = StringUtils.isNotBlank(responsePrefix) ? (responsePrefix+".") : "";
+
+
+ ctx.setAttribute(responsePrefix +OUTPUT_PARAM_STATUS,
+ OUTPUT_STATUS_SUCCESS);
+
+ **/
+
+ }
+
+
+ public void getConfigFileReference(Map<String, String> inParams, SvcLogicContext ctx) throws SvcLogicException {
+ logger.info("Mock getConfigFileReference Called....");
+ }
+
+
+
+ public void getTemplate(Map<String, String> inParams, SvcLogicContext ctx) throws SvcLogicException {
+
+ logger.info("Mock getTemplate Called....");
+ }
+
+
+
+ public void saveConfigFiles(Map<String, String> inParams, SvcLogicContext ctx) throws SvcLogicException {
+
+ logger.info("Mock saveConfigFiles called...");
+
+ }
+
+
+
+ public void updateUploadConfig(Map<String, String> inParams, SvcLogicContext ctx) throws SvcLogicException {
+
+ logger.info("Mock updateUploadConfig called...");
+ }
+
+
+
+
+ public void savePrepareRelationship(Map<String, String> inParams, SvcLogicContext ctx) throws SvcLogicException {
+ logger.info("Mock savePrepareRelationship called...");
+ }
+
+
+
+
+
+ public void saveConfigBlock(Map<String, String> inParams, SvcLogicContext ctx) throws SvcLogicException {
+ logger.info("Mock saveConfigBlock called...");
+
+ if (StringUtils.isBlank(ctx.getAttribute("configuration-params"))) {
+ logger.info("No params...");
+ ctx.setAttribute("file-category", "device_configuration");
+ ctx.setAttribute("deviceconfig-file-content", "deviceConfig");
+
+ } else {
+ logger.info("Config params exist...");
+ ctx.setAttribute("file-category", "device_configuration");
+ ctx.setAttribute("file-category1", "configuration_block");
+ ctx.setAttribute("file-category2", "config_data");
+
+ }
+
+ }
+
+ public void saveTemplateConfig(Map<String, String> inParams, SvcLogicContext ctx) throws SvcLogicException {
+
+ logger.info("Mock saveTemplateConfig called...");
+
+ if (StringUtils.isBlank(ctx.getAttribute("configuration-params"))) {
+ logger.info("No params...");
+ ctx.setAttribute("file-category", "device_configuration");
+ ctx.setAttribute("deviceconfig-file-content", "deviceConfig");
+
+ } else {
+ logger.info("Config params exist...");
+ ctx.setAttribute("file-category", "device_configuration");
+ ctx.setAttribute("file-category1", "config_data");
+
+ }
+
+
+ }
+}
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
+
+
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CommonConfiguration/APPC_method_CommonConfiguration_TC2.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CommonConfiguration/APPC_method_CommonConfiguration_TC2.properties
new file mode 100644
index 000000000..c1eb82f07
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CommonConfiguration/APPC_method_CommonConfiguration_TC2.properties
@@ -0,0 +1,54 @@
+###
+# ============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.input.action-identifiers.vnf-id=VDBE
+input.input.action-identifiers.service-instance-id=Instance1234
+input.input.common-header.request-id=12345
+input.input.common-header.originator-id=MSO
+input.input.api-ver=2.11
+input.input.action=Configure
+input.input.payload=tcfile://payload_json_config.json
+
+
+# Property for org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo Execute Action
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.commonConfigInfo.status=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.VNF-TYPE = vUSP - Metaswitch vSBC
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.MODULE = appc
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DG-RPC = getDeviceRunningConfig
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.configureactiondg.CONFIGURE-ACTION-DG-ID = 8
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.configureactiondg.VNF-TYPE = vUSP - Metaswitch vSBC
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.configureactiondg.DOWNLOAD-CONFIG-DG = DownloadIsbcConfig
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.outCome=success
+
+
+# DG APPC.DownloadIsbcConfig properties
+APPC.DownloadIsbcConfig.outCome=success
+#APPC.DownloadIsbcConfig.outCome=not-found
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CommonConfiguration/GetConfigParamsFail.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CommonConfiguration/GetConfigParamsFail.properties
new file mode 100644
index 000000000..12ea74d92
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CommonConfiguration/GetConfigParamsFail.properties
@@ -0,0 +1,40 @@
+###
+# ============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.input.action-identifiers.vnf-id=isbc
+input.input.action-identifiers.service-instance-id=Instance1234
+input.input.common-header.request-id=12345
+input.input.common-header.originator-id=MSO
+input.input.api-ver=2.11
+input.input.action=Configure
+input.input.payload=tcfile://payload_parameters_config.json
+
+
+
+APPC.GetConfigParams.outCome=failure
+APPC.SetStatus.outCome=failure
+
+input.error-code=401
+input.error-message=GetConfigParams Failed
+
+
+assertEquals.output.status.code=401
+assertEquals.output.status.message=GetConfigParams Failed
+assertNull.output.payload.upload-config-id
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CommonConfiguration/ISBCTemplateSuccess.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CommonConfiguration/ISBCTemplateSuccess.properties
new file mode 100644
index 000000000..8e0000bc6
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CommonConfiguration/ISBCTemplateSuccess.properties
@@ -0,0 +1,122 @@
+###
+# ============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.input.action-identifiers.vnf-id=isbc
+input.input.action-identifiers.service-instance-id=Instance1234
+input.input.common-header.request-id=12345
+input.input.common-header.originator-id=MSO
+input.input.api-ver=2.11
+input.input.action=Configure
+input.input.payload=tcfile://payload_parameters_config.json
+
+
+#GetConfigParams
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.VNF-TYPE = vUSP - Metaswitch vSBC
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.MODULE = appc
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DG-RPC = getDeviceRunningConfig
+
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.configureactiondg.DOWNLOAD-CONFIG-DG=DownloadIsbcConfig
+
+#Configure
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.config-template.file-content=tcfile://vdbe_template.xml
+org.openecomp.appc.data.services.node.ConfigResourceNode.saveTemplateConfig.outCome=success
+
+
+org.openecomp.appc.config.generator.node.ConfigResourceNode
+#DownloadISBCConfig
+org.openecomp.appc.data.services.node.ConfigResourceNode.getConfigFileReference.outCome=success
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.put.outCome=success
+
+configfilereference-success.TARGET-FILE-PATH=SuccessFile
+configfilereference-failure.TARGET-FILE-PATH=FailureFile
+configfilereference-log.TARGET-FILE-PATH=FailureLogFile
+
+#CheckConfigStatus
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.get.outCome=success
+
+#SetStatus
+
+
+
+#GetDeviceRunningConfig
+config-template.outCome=SUCCESS
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.GetCliRunningConfig.outCome=success
+input.cliOutput=DEVICERUNNINGCONFIG
+
+
+#SaveRunningConfig
+org.openecomp.appc.data.services.node.ConfigResourceNode.updateUploadConfig.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.updateUploadConfig.tmp.uploadconfigmax.uploadconfigid=100
+
+org.openecomp.appc.dg.common.JsonDgUtil.generateOutputPayloadFromContext.outCome=success
+org.openecomp.appc.dg.common.JsonDgUtil.generateOutputPayloadFromContext.output.payload={ \\"upload-config-id\\" : [100] }
+
+
+#GetAaiInfo
+APPC.GetAaiInfo.outCome=success
+
+#ProcessParameterDefinition
+APPC.ProcessParameterDefinition.outCome=success
+
+
+#UpdateAAIInfo
+
+tmp.aai-data-vm.outCome=SUCCESS
+tmp.aai-data-vm.vserver-id=vserverid
+tmp.aai-data-vm.tenant-id=tenantid
+tmp.aai-data-vm.cloud-region-id=cloudregionid
+
+
+tmp.aai-data-vm.relationship-list.relationship_length=2
+tmp.aai-data-vm.relationship-list.relationship[0].related-to=vserver
+tmp.aai-data-vm.relationship-list.relationship[1].related-to=vf-module
+
+tmp.aai-data-vm.relationship-list.relationship[0].relationship-data_length=2
+tmp.aai-data-vm.relationship-list.relationship[1].relationship-data_length=2
+
+tmp.aai-data-vm.relationship-list.relationship[0].relationship-data[0].relationship-key=vnfc
+tmp.aai-data-vm.relationship-list.relationship[0].relationship-data[1].relationship-key=generic-vnf
+
+
+
+tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[0].relationship-key=vnfc
+tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[1].relationship-key=vf-module.vf-module-id
+
+tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[1].relationship-value=100
+
+tmp.aai-data-vnfc.outCome=NOT_FOUND
+tmp.vnfc-sys-controller.outCome=SUCCESS
+
+assertEquals.error-code=400
+assertEquals.error-message=SUCCESS - request has been processed successfully
+assertEquals.output.status.code=400
+assertEquals.output.status.message=SUCCESS - request has been processed successfully
+#assertEquals.output.payload={ \\"upload-config-id\\" : [100] }
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CommonConfiguration/InvalidRequestAction.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CommonConfiguration/InvalidRequestAction.properties
new file mode 100644
index 000000000..4a9398b25
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/CommonConfiguration/InvalidRequestAction.properties
@@ -0,0 +1,38 @@
+###
+# ============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.input.action-identifiers.vnf-id=isbc
+input.input.action-identifiers.service-instance-id=Instance1234
+input.input.common-header.request-id=12345
+input.input.common-header.originator-id=MSO
+input.input.api-ver=2.11
+input.input.action=ModifyConfig
+input.request-action=ModifyConfig
+
+
+
+APPC.GetConfigParams.outCome=success
+APPC.SetStatus.outCome=failure
+
+
+
+assertEquals.output.status.code=401
+assertEquals.output.status.message=Invalid action ModifyConfig
+assertNull.output.payload.upload-config-id
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
+
+
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadCliConfig/DownloadCliConfig_Adaptor_Failure.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadCliConfig/DownloadCliConfig_Adaptor_Failure.properties
new file mode 100644
index 000000000..447c51385
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadCliConfig/DownloadCliConfig_Adaptor_Failure.properties
@@ -0,0 +1,40 @@
+###
+# ============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.device-config=tcfile:///cli_config_content.txt
+input.host-ip-address=135.1.1.1
+input.device-login=root
+input.device-password = !bootstrap
+input.port-number = 22
+input.vnf-type = vUSP - Metaswitch vSBC
+
+download-config-template.assertEquals.vnf-type = vUSP - Metaswitch vSBC
+
+download-config-template.download-config-template.TEMPLATE=tcfile:///download_cli_config_template.txt
+download-config-template.outCome=SUCCESS
+
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.DownloadCliConfig.outCome=failure
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.DownloadCliConfig.error-code = 200
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.DownloadCliConfig.error-message = Device Not Found
+
+assertEquals.error-code=401
+assertNotNull.error-message
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadCliConfig/DownloadCliConfig_DB_Failure.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadCliConfig/DownloadCliConfig_DB_Failure.properties
new file mode 100644
index 000000000..146760c4d
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadCliConfig/DownloadCliConfig_DB_Failure.properties
@@ -0,0 +1,38 @@
+###
+# ============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.device-config=tcfile:///cli_config_content.txt
+input.host-ip-address=135.1.1.1
+input.device-login=root
+input.device-password = !bootstrap
+input.port-number = 22
+input.vnf-type = vUSP - Metaswitch vSBC
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getDownloadConfigTemplateByVnf.outCome=failure
+org.openecomp.appc.data.services.node.ConfigResourceNode.getDownloadConfigTemplateByVnf.tmp.downloadConfigTemplate.error-message=No record for VNF Type
+
+download-config-template.assertEquals.vnf-type = vUSP - Metaswitch vSBC
+download-config-template.outCome=FAILURE
+
+
+assertEquals.error-code=401
+assertNotNull.error-message
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadCliConfig/DownloadCliConfig_Success.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadCliConfig/DownloadCliConfig_Success.properties
new file mode 100644
index 000000000..3ebd399fb
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/DownloadCliConfig/DownloadCliConfig_Success.properties
@@ -0,0 +1,69 @@
+###
+# ============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=========================================================
+###
+
+# To initialise DG Context before execution
+# input.<Context Variable Name>= XXXXX
+input.host-ip-address=135.1.1.1
+input.device-login=root
+input.device-password = !bootstrap
+input.port-number = 22
+input.vnf-type = vUSP - Metaswitch vSBC
+# To populate the context variable from file content
+input.device-config=tcfile:///cli_config_content.txt
+
+# SQL Resource Node
+#----------------------------
+#<get-resource
+# plugin='org.openecomp.sdnc.sli.resource.sql.SqlResource'
+# resource='SQL'
+# key="SELECT TEMPLATE FROM DOWNLOAD_CONFIG_TEMPLATE WHERE vnf_type = $vnf-type ;"
+# force='true'
+# pfx='download-config-template'>
+
+# To define the SQL execution Status <Prefix>.outCome= SUCCESS | FAILURE | NOT_FOUND
+download-config-template.outCome=SUCCESS
+# To assert SQL execution node context param <Prefix>.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
+download-config-template.assertEquals.vnf-type = vUSP - Metaswitch vSBC
+# To Populate the SQL executionoutput <Prefix>.<Context Variable Name>= XXXXX, In this case
+# after executing SQL query, I expect the response should be stored in the DG context variable name download-config-template.TEMPLATE
+download-config-template.download-config-template.TEMPLATE=tcfile:///download_cli_config_template.txt
+
+# Configure Node
+#----------------------------
+#<configure adaptor='org.openecomp.appc.ccadaptor.ConfigComponentAdaptor' key='DownloadCliConfig'>
+#<parameter name="Download_config_template" value="`$download-config-template.TEMPLATE`"/>
+#<parameter name="Config_contents" value="`$device-config`"/>
+#<parameter name="Host_ip_address" value="`$host-ip-address`" />
+#<parameter name="User_name" value="`$device-login`" />
+#<parameter name="Password" value="`$device-password`" />
+#<parameter name="Port_number" value="`$port-number`" />
+
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.DownloadCliConfig.outCome=success
+# To assert execution/configure node context param <Plugin Name>.<Key / Method Name>.params.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.DownloadCliConfig.params.assertEquals.Port_number=22
+# To assert execution/configure node context param <Plugin Name>.<Key / Method Name>.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
+org.openecomp.appc.ccadaptor.ConfigComponentAdaptor.DownloadCliConfig.assertEquals.vnf-type = vUSP - Metaswitch vSBC
+
+# To assert DG Context after execution
+# <assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
+assertNull.error-code
+assertNull.error-message
+
+
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
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GenerateConfig/GenerateConfigNoParams.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GenerateConfig/GenerateConfigNoParams.properties
new file mode 100644
index 000000000..071330213
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GenerateConfig/GenerateConfigNoParams.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.configuration=tcfile://vdbe_template.xml
+input.configuration-params=
+
+
+assertEquals.file-category=device_configuration
+assertNull.file-category1
+assertNull.file-category2
+
+
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GenerateConfig/GenerateConfigWithParams.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GenerateConfig/GenerateConfigWithParams.properties
new file mode 100644
index 000000000..42861fe49
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GenerateConfig/GenerateConfigWithParams.properties
@@ -0,0 +1,30 @@
+###
+# ============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.configuration=tcfile://vdbe_template.xml
+input.configuration-params=tcfile://vdbe_data.json
+
+assertEquals.file-category=device_configuration
+assertEquals.file-category1=configuration_block
+assertEquals.file-category2=config_data
+assertNotNull.tmp.merge.mergedData
+
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GenerateTemplateConfig/GenerateTemplateConfigNoParams.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GenerateTemplateConfig/GenerateTemplateConfigNoParams.properties
new file mode 100644
index 000000000..bb9961997
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GenerateTemplateConfig/GenerateTemplateConfigNoParams.properties
@@ -0,0 +1,30 @@
+###
+# ============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-template.file-content=tcfile://vdbe_template.xml
+input.configuration-params=
+
+
+assertEquals.file-category=device_configuration
+assertNull.file-category1
+assertNull.tmp.merge.mergedData
+
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GenerateTemplateConfig/GenerateTemplateConfigWithParams.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GenerateTemplateConfig/GenerateTemplateConfigWithParams.properties
new file mode 100644
index 000000000..f1525f932
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GenerateTemplateConfig/GenerateTemplateConfigWithParams.properties
@@ -0,0 +1,29 @@
+###
+# ============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-template.file-content=tcfile://vdbe_template.xml
+input.configuration-params=tcfile://vdbe_data.json
+
+
+assertEquals.file-category=device_configuration
+assertEquals.file-category1=config_data
+assertNotNull.tmp.merge.mergedData
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetAaiInfo/GetInfoSuccess.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetAaiInfo/GetInfoSuccess.properties
new file mode 100644
index 000000000..943982970
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetAaiInfo/GetInfoSuccess.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=========================================================
+###
+
+org.openecomp.appc.aai.client.node.AAIResourceNode.getVnfInfo.outCome=success
+org.openecomp.appc.aai.client.node.AAIResourceNode.getVnfInfo.tmp.vnfInfo.vnf.vnf-type=ISBC
+org.openecomp.appc.aai.client.node.AAIResourceNode.getVnfInfo.tmp.vnfInfo.vnf.vnf-name=testISBC
+
+
+org.openecomp.appc.aai.client.node.AAIResourceNode.getAllVServersVnfcsInfo.outCome=success
+assertEquals.vnf-type=ISBC
+assertEquals.vnf-name=testISBC
+assertNull.error-code
+assertNull.error-message
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetAaiInfo/GetVServerFail.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetAaiInfo/GetVServerFail.properties
new file mode 100644
index 000000000..3ad1d5f1b
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetAaiInfo/GetVServerFail.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=========================================================
+###
+
+org.openecomp.appc.aai.client.node.AAIResourceNode.getVnfInfo.outCome=success
+org.openecomp.appc.aai.client.node.AAIResourceNode.getVnfInfo.tmp.vnfInfo.vnf.vnf-type=ISBC
+org.openecomp.appc.aai.client.node.AAIResourceNode.getVnfInfo.tmp.vnfInfo.vnf.vnf-name=testISBC
+
+
+org.openecomp.appc.aai.client.node.AAIResourceNode.getAllVServersVnfcsInfo.outCome=failure
+
+org.openecomp.appc.aai.client.node.AAIResourceNode.getAllVServersVnfcsInfo.tmp.vnfInfo.error-message=VServer not found
+
+assertEquals.vnf-type=ISBC
+assertEquals.vnf-name=testISBC
+assertEquals.error-code=401
+assertEquals.error-message=VServer not found
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetAaiInfo/GetVnfFail.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetAaiInfo/GetVnfFail.properties
new file mode 100644
index 000000000..0cb21671c
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetAaiInfo/GetVnfFail.properties
@@ -0,0 +1,27 @@
+###
+# ============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.aai.client.node.AAIResourceNode.getVnfInfo.outCome=failure
+org.openecomp.appc.aai.client.node.AAIResourceNode.getVnfInfo.tmp.vnfInfo.error-message=VNF not found
+
+assertEquals.error-code=401
+assertEquals.error-message=VNF not found
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/CliJson.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/CliJson.properties
new file mode 100644
index 000000000..ffa77594a
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/CliJson.properties
@@ -0,0 +1,49 @@
+###
+# ============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.input.action-identifiers.vnf-id=VDBE
+input.input.action-identifiers.service-instance-id=Instance1234
+input.input.common-header.request-id=12345
+input.input.common-header.originator-id=MSO
+input.input.api-ver=2.11
+input.input.action=Configure
+input.input.payload=tcfile://payload_json_config.json
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.VNF-TYPE = vUSP - Metaswitch vSBC
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.MODULE = appc
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DG-RPC = getDeviceRunningConfig
+
+APPC.GetAaiInfo.outCome=success
+
+assertNull.config-type
+assertEquals.device-authentication.USER-NAME=root
+assertEquals.template-name=
+assertNotNull.configuration
+assertNotNull.configuration-params
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/CliString.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/CliString.properties
new file mode 100644
index 000000000..0049359aa
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/CliString.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.input.action-identifiers.vnf-id=VDBE
+input.input.action-identifiers.service-instance-id=Instance1234
+input.input.common-header.request-id=12345
+input.input.common-header.originator-id=MSO
+input.input.api-ver=2.11
+input.input.action=Configure
+input.input.payload=tcfile://payload_cli_config.json
+
+
+APPC.GetAaiInfo.outCome=success
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.VNF-TYPE = vUSP - Metaswitch vSBC
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.MODULE = appc
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DG-RPC = getDeviceRunningConfig
+
+
+assertNull.config-type
+assertEquals.device-authentication.USER-NAME=root
+assertEquals.template-name=
+assertNotNull.configuration
+assertNotNull.configuration-params
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/CommonConfigFail.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/CommonConfigFail.properties
new file mode 100644
index 000000000..8d79c5c10
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/CommonConfigFail.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.input.action-identifiers.vnf-id=VDBE
+input.input.action-identifiers.service-instance-id=Instance1234
+input.input.common-header.request-id=12345
+input.input.common-header.originator-id=MSO
+input.input.api-ver=2.11
+input.input.action=Configure
+input.input.payload=tcfile://payload_restore_config.json
+
+
+
+APPC.GetAaiInfo.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.outCome=failure
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.commonConfigInfo.error-message=getCommonConfigInfoFailure
+
+
+assertEquals.config-type=template
+assertEquals.template-name=
+assertEquals.configuration-params=
+assertEquals.error-code=401
+assertEquals.error-message=getCommonConfigInfoFailure
+
+
+
+
+
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/DefaultTemplate.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/DefaultTemplate.properties
new file mode 100644
index 000000000..ebf08159c
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/DefaultTemplate.properties
@@ -0,0 +1,46 @@
+###
+# ============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.input.action-identifiers.vnf-id=VDBE
+input.input.action-identifiers.service-instance-id=Instance1234
+input.input.common-header.request-id=12345
+input.input.common-header.originator-id=MSO
+input.input.api-ver=2.11
+input.input.action=Configure
+input.input.payload=tcfile://payload_parameters_config.json
+
+
+APPC.GetAaiInfo.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.VNF-TYPE = vUSP - Metaswitch vSBC
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.MODULE = appc
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DG-RPC = getDeviceRunningConfig
+
+assertEquals.config-type=template
+assertEquals.device-authentication.USER-NAME=root
+assertNotNull.configuration-params
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/Json2DGContextFail.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/Json2DGContextFail.properties
new file mode 100644
index 000000000..915f08d2a
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/Json2DGContextFail.properties
@@ -0,0 +1,38 @@
+###
+# ============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.input.action-identifiers.vnf-id=VDBE
+input.input.action-identifiers.service-instance-id=Instance1234
+input.input.common-header.request-id=12345
+input.input.common-header.originator-id=MSO
+input.input.api-ver=2.11
+input.input.action=Configure
+input.input.payload=tcfile://payload_restore_config.json
+
+
+
+org.openecomp.sdnc.config.generator.convert.ConvertNode.convertJson2DGContext.outCome=failure
+org.openecomp.sdnc.config.generator.convert.ConvertNode.convertJson2DGContext.tmp.convertnode.error-message=Conversion to DG Context Failed
+assertEquals.error-code=401
+assertEquals.error-message=Conversion to DG Context Failed
+
+
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/Restore.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/Restore.properties
new file mode 100644
index 000000000..54dbf6e62
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/Restore.properties
@@ -0,0 +1,53 @@
+###
+# ============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.input.action-identifiers.vnf-id=VDBE
+input.input.action-identifiers.service-instance-id=Instance1234
+input.input.common-header.request-id=12345
+input.input.common-header.originator-id=MSO
+input.input.api-ver=2.11
+input.input.action=Configure
+input.input.payload=tcfile://payload_restore_config.json
+
+
+
+APPC.GetAaiInfo.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.VNF-TYPE = vUSP - Metaswitch vSBC
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.MODULE = appc
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DG-RPC = getDeviceRunningConfig
+
+
+assertEquals.config-type=template
+assertEquals.device-authentication.USER-NAME=root
+assertEquals.template-name=
+assertNull.configuration
+assertEquals.configuration-params=
+
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/TemplateName.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/TemplateName.properties
new file mode 100644
index 000000000..209faccb7
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetConfigParams/TemplateName.properties
@@ -0,0 +1,46 @@
+###
+# ============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.input.action-identifiers.vnf-id=VDBE
+input.input.action-identifiers.service-instance-id=Instance1234
+input.input.common-header.request-id=12345
+input.input.common-header.originator-id=MSO
+input.input.api-ver=2.11
+input.input.action=Configure
+input.input.payload=tcfile://payload_template_config.json
+
+
+APPC.GetAaiInfo.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.VNF-TYPE = vUSP - Metaswitch vSBC
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.MODULE = appc
+org.openecomp.appc.data.services.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DG-RPC = getDeviceRunningConfig
+
+assertEquals.config-type=template
+assertEquals.device-authentication.USER-NAME=root
+assertEquals.template-name=vISBC-ssc-change_template1
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
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetVfModuleInfo/GetVfModuleInfo_Failure.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetVfModuleInfo/GetVfModuleInfo_Failure.properties
new file mode 100644
index 000000000..e8538078d
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetVfModuleInfo/GetVfModuleInfo_Failure.properties
@@ -0,0 +1,44 @@
+###
+# ============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.tmp.aai-data-vm.relationship-list.relationship_length=2
+input.tmp.aai-data-vm.relationship-list.relationship[0].related-to=vserver
+input.tmp.aai-data-vm.relationship-list.relationship[1].related-to=vf-module
+
+input.tmp.aai-data-vm.relationship-list.relationship[0].relationship-data_length=2
+input.tmp.aai-data-vm.relationship-list.relationship[1].relationship-data_length=2
+
+input.tmp.aai-data-vm.relationship-list.relationship[0].relationship-data[0].relationship-key=vnfc
+input.tmp.aai-data-vm.relationship-list.relationship[0].relationship-data[1].relationship-key=generic-vnf
+
+
+
+input.tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[0].relationship-key=vnfc
+input.tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[1].relationship-key=tenant
+
+input.tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[1].relationship-value=100
+
+
+
+assertNull.tmp.vf-module-id
+assertEquals.aai-error-message=Unable to get VF Module Id Info.
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetVfModuleInfo/GetVfModuleInfo_Success.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetVfModuleInfo/GetVfModuleInfo_Success.properties
new file mode 100644
index 000000000..34964c575
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/GetVfModuleInfo/GetVfModuleInfo_Success.properties
@@ -0,0 +1,43 @@
+###
+# ============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.tmp.aai-data-vm.relationship-list.relationship_length=2
+input.tmp.aai-data-vm.relationship-list.relationship[0].related-to=vserver
+input.tmp.aai-data-vm.relationship-list.relationship[1].related-to=vf-module
+
+input.tmp.aai-data-vm.relationship-list.relationship[0].relationship-data_length=2
+input.tmp.aai-data-vm.relationship-list.relationship[1].relationship-data_length=2
+
+input.tmp.aai-data-vm.relationship-list.relationship[0].relationship-data[0].relationship-key=vnfc
+input.tmp.aai-data-vm.relationship-list.relationship[0].relationship-data[1].relationship-key=generic-vnf
+
+
+
+input.tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[0].relationship-key=vnfc
+input.tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[1].relationship-key=vf-module.vf-module-id
+
+input.tmp.aai-data-vm.relationship-list.relationship[1].relationship-data[1].relationship-value=100
+
+
+
+assertEquals.tmp.vf-module-id=100
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/GetInstarParamsFail.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/GetInstarParamsFail.properties
new file mode 100644
index 000000000..4219bfbce
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/GetInstarParamsFail.properties
@@ -0,0 +1,30 @@
+###
+# ============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.configuration-params=tcfile://request-param.json
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.parameter-definitions.file-content=tcfile://pd.yaml
+
+org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode.processExternalSystemParamKeys.outCome=failure
+org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode.processExternalSystemParamKeys.tmp.instarParams.error-message=Unable to get Instar Params
+
+
+assertEquals.error-code=401
+assertEquals.error-message=Unable to get Instar Params
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/GetPDFail.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/GetPDFail.properties
new file mode 100644
index 000000000..1263f232d
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/GetPDFail.properties
@@ -0,0 +1,26 @@
+###
+# ============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.configuration-params=tcfile://request-param.json
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.outCome=failure
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.parameter-definitions.error-message=PD file Not found
+
+assertNull.error-code
+assertNull.error-message
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/MergeParamsFail.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/MergeParamsFail.properties
new file mode 100644
index 000000000..776256368
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/MergeParamsFail.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.configuration-params=tcfile://request-param.json
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.parameter-definitions.file-content=tcfile://pd.yaml
+
+org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode.processExternalSystemParamKeys.outCome=success
+
+org.openecomp.appc.instar.node.InstarClientNode.getInstarInfo.outCome=success
+
+org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode.processExternalSystemParamKeys.outCome=success
+org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode.processExternalSystemParamKeys.INSTAR.keys=["LOCAL_CORE_ALT_IP_ADDR","REMOTE_ACCESS_IP_ADDR"]
+org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode.mergeJsonData.outCome=failure
+org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode.mergeJsonData.tmp.allParams.error-message=Unable to Merge Params
+
+
+assertEquals.error-code=401
+assertEquals.error-message=Unable to Merge Params
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/NoInstarParams.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/NoInstarParams.properties
new file mode 100644
index 000000000..b28e6beda
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/NoInstarParams.properties
@@ -0,0 +1,28 @@
+###
+# ============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.configuration-params=tcfile://request-param.json
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.parameter-definitions.file-content=tcfile://noinstarparams_pd.yaml
+
+
+
+assertEquals.configuration-params={ "LOCAL_ACCESS_IP_ADDR": "192.168.30.1", "LOCAL_BILLING_IP_ADDR": "192.168.30.1","REMOTE_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254","REMOTE_BILLING_IP_ADDR": "192.168.30.1","CORE_NETWORK_PLEN": "32"}
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/ProcessPD.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/ProcessPD.properties
new file mode 100644
index 000000000..e60208030
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/ProcessPD.properties
@@ -0,0 +1,43 @@
+###
+# ============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.configuration-params=tcfile://request-param.json
+input.request-id=requestid
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.parameter-definitions.file-content=tcfile://pd.yaml
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.parameter-yang.file-content=tcfile://pd.yaml
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.parameter-yang.config-file-id=1234
+
+org.openecomp.appc.instar.node.InstarClientNode.getInstarInfo.outCome=success
+org.openecomp.appc.instar.node.InstarClientNode.getInstarInfo.tmp.instarValues.INSTAR-KEY-VALUES=tcfile://instar_values.json
+
+
+#To assert execution/configure node context param <Plugin Name>.<Key / Method Name>.params.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
+org.openecomp.appc.dg.common.VNFConfigurator.storeConfig.outCome=success
+org.openecomp.appc.dg.common.VNFConfigurator.storeConfig.params.assertEquals.uniqueId=1234
+org.openecomp.appc.dg.common.VNFConfigurator.storeConfig.params.assertEquals.requestId=requestid
+org.openecomp.appc.dg.common.VNFConfigurator.storeConfig.params.assertEquals.configJSON={"LOCAL_BILLING_IP_ADDR":"192.168.30.1","LOCAL_ACCESS_IP_ADDR":"192.168.30.1","CORE_NETWORK_PLEN":"32","LOCAL_CORE_ALT_IP_ADDR":"DummyInstarIP1","REMOTE_CORE_ALT_IP_ADDR":"fd00:f4d5:ea06:1:0:110:136:254","REMOTE_ACCESS_IP_ADDR":"DummyInstarIP2","REMOTE_BILLING_IP_ADDR":"192.168.30.1"}
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.saveConfigTransactionLog.outCome=true
+org.openecomp.appc.dg.common.DCAEReporterPlugin.report.outCome=true
+
+assertEquals.configuration-params={"LOCAL_BILLING_IP_ADDR":"192.168.30.1","LOCAL_ACCESS_IP_ADDR":"192.168.30.1","CORE_NETWORK_PLEN":"32","LOCAL_CORE_ALT_IP_ADDR":"DummyInstarIP1","REMOTE_CORE_ALT_IP_ADDR":"fd00:f4d5:ea06:1:0:110:136:254","REMOTE_ACCESS_IP_ADDR":"DummyInstarIP2","REMOTE_BILLING_IP_ADDR":"192.168.30.1"}
+
+assertEquals.INSTAR.keys=["LOCAL_CORE_ALT_IP_ADDR","REMOTE_ACCESS_IP_ADDR"]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/SaveMdsalFail.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/SaveMdsalFail.properties
new file mode 100644
index 000000000..4584f69b0
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/ProcessParameterDefinition/SaveMdsalFail.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.configuration-params=tcfile://request-param.json
+input.request-id=requestid
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.parameter-definitions.file-content=tcfile://pd.yaml
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.parameter-yang.file-content=tcfile://pd.yaml
+org.openecomp.appc.data.services.node.ConfigResourceNode.getTemplate.parameter-yang.config-file-id=1234
+
+org.openecomp.appc.instar.node.InstarClientNode.getInstarInfo.outCome=success
+org.openecomp.appc.instar.node.InstarClientNode.getInstarInfo.tmp.instarValues.INSTAR-KEY-VALUES=tcfile://instar_values.json
+
+
+#To assert execution/configure node context param <Plugin Name>.<Key / Method Name>.params.<assertEquals | assertNull | assertNull >.<Context Variable Name>= XXXXX
+org.openecomp.appc.dg.common.VNFConfigurator.storeConfig.outCome=failure
+org.openecomp.appc.dg.common.VNFConfigurator.storeConfig.tmp.mdSalSave.ERROR_MESSAGE=MDSAL ERROR
+org.openecomp.appc.dg.common.VNFConfigurator.storeConfig.params.assertEquals.uniqueId=1234
+org.openecomp.appc.dg.common.VNFConfigurator.storeConfig.params.assertEquals.requestId=requestid
+org.openecomp.appc.dg.common.VNFConfigurator.storeConfig.params.assertEquals.configJSON={"LOCAL_BILLING_IP_ADDR":"192.168.30.1","LOCAL_ACCESS_IP_ADDR":"192.168.30.1","CORE_NETWORK_PLEN":"32","LOCAL_CORE_ALT_IP_ADDR":"DummyInstarIP1","REMOTE_CORE_ALT_IP_ADDR":"fd00:f4d5:ea06:1:0:110:136:254","REMOTE_ACCESS_IP_ADDR":"DummyInstarIP2","REMOTE_BILLING_IP_ADDR":"192.168.30.1"}
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.saveConfigTransactionLog.outCome=true
+org.openecomp.appc.dg.common.DCAEReporterPlugin.report.outCome=true
+
+assertEquals.configuration-params={"LOCAL_BILLING_IP_ADDR":"192.168.30.1","LOCAL_ACCESS_IP_ADDR":"192.168.30.1","CORE_NETWORK_PLEN":"32","LOCAL_CORE_ALT_IP_ADDR":"DummyInstarIP1","REMOTE_CORE_ALT_IP_ADDR":"fd00:f4d5:ea06:1:0:110:136:254","REMOTE_ACCESS_IP_ADDR":"DummyInstarIP2","REMOTE_BILLING_IP_ADDR":"192.168.30.1"}
+
+assertEquals.INSTAR.keys=["LOCAL_CORE_ALT_IP_ADDR","REMOTE_ACCESS_IP_ADDR"]
+assertEquals.dcae-error-message=MDSAL ERROR
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/PublishConfiguration/PublishConfig_Failure.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/PublishConfiguration/PublishConfig_Failure.properties
new file mode 100644
index 000000000..4e2dccfd5
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/PublishConfiguration/PublishConfig_Failure.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.vnf-id=ibcx0001v
+input.tmp.uploadConfigInfo.VNF-ID=ibcx0001v
+input.tmp.uploadConfigInfo.UPLOAD-CONFIG-ID=12434
+input.tmp.uploadConfigInfo.FILE-CONTENT=configData
+input.tmp.uploadConfigInfo.tmStamp=567890
+
+
+org.openecomp.sdnc.config.generator.convert.ConvertNode.convertContextToJson.outCome=failure
+org.openecomp.sdnc.config.generator.convert.ConvertNode.convertContextToJson.tmp.jsonConversion.error-message=Conversion Error
+org.openecomp.appc.dg.common.JsonDgUtil.generateOutputPayloadFromContext.outCome=success
+org.openecomp.appc.dg.common.JsonDgUtil.generateOutputPayloadFromContext.output.payload={ \\"upload-config-id\\" : [100] }
+
+assertEquals.output.payload.upload-config-id[0]=12434
+
+assertEquals.dcae-error-message=Error from convertContextToJson - Conversion Error
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/PublishConfiguration/PublishConfig_Success.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/PublishConfiguration/PublishConfig_Success.properties
new file mode 100644
index 000000000..bf851ed37
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/PublishConfiguration/PublishConfig_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.vnf-id=ibcx0001v
+input.tmp.uploadConfigInfo.VNF-ID=ibcx0001v
+input.tmp.uploadConfigInfo.UPLOAD-CONFIG-ID=12434
+input.tmp.uploadConfigInfo.FILE-CONTENT=configData
+input.tmp.uploadConfigInfo.UPLOAD-TIMESTAMP=567890
+
+
+org.openecomp.appc.dg.common.JsonDgUtil.generateOutputPayloadFromContext.outCome=success
+org.openecomp.appc.dg.common.JsonDgUtil.generateOutputPayloadFromContext.output.payload={ \\"upload-config-id\\" : [100] }
+
+assertEquals.output.payload.upload-config-id[0]=12434
+
+assertEquals.tmp.fileName=/opt/app/bvc/cvaas/ibcx0001v_567890_appc001.json
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SaveRunningConfig/SaveRunningConfig_Failure.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SaveRunningConfig/SaveRunningConfig_Failure.properties
new file mode 100644
index 000000000..868f9ac91
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SaveRunningConfig/SaveRunningConfig_Failure.properties
@@ -0,0 +1,66 @@
+###
+# ============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=failure
+
+
+input.dcae-error-message=Error while getting device config
+
+
+
+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 get the running config.
+
+
+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 get the running config.
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SaveRunningConfig/SaveRunningConfig_Success.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SaveRunningConfig/SaveRunningConfig_Success.properties
new file mode 100644
index 000000000..316ad559e
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SaveRunningConfig/SaveRunningConfig_Success.properties
@@ -0,0 +1,63 @@
+###
+# ============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
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.updateUploadConfig.outCome=success
+org.openecomp.appc.data.services.node.ConfigResourceNode.updateUploadConfig.tmp.uploadconfigmax.uploadconfigid=100
+
+
+
+# DG properties
+APPC.GetDeviceRunningConfig.outCome=success
+APPC.PublishConfiguration.outCome=success
+
+com.att.sdnctl.prop.PropertiesNode.readProperties=success
+assertNull.dcae-error-message
+
+
+
+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
+
+
+
+
+
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
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SetStatus/SetStatus_AaiFailure.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SetStatus/SetStatus_AaiFailure.properties
new file mode 100644
index 000000000..07df12b90
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SetStatus/SetStatus_AaiFailure.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=========================================================
+###
+
+org.openecomp.appc.dg.common.DCAEReporterPlugin.report.outcome=success
+input.error-code=400
+input.request-action=Configure
+input.aai-error-message=Get from A&AI Failed
+# DG properties
+APPC.UpdateAaiInfo.outCome=failure
+APPC.SaveRunningConfig.outCome=success
+
+
+
+
+assertEquals.error-code=400
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SetStatus/SetStatus_SaveRunningFailure.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SetStatus/SetStatus_SaveRunningFailure.properties
new file mode 100644
index 000000000..0de2b09f4
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SetStatus/SetStatus_SaveRunningFailure.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=========================================================
+###
+
+org.openecomp.appc.dg.common.DCAEReporterPlugin.report.outcome=success
+input.error-code=400
+input.request-action=Configure
+
+# DG properties
+APPC.UpdateAaiInfo.outCome=success
+APPC.SaveRunningConfig.outCome=failure
+
+assertNull.dcae-error-message
+assertEquals.error-code=400
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SetStatus/SetStatus_Success.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SetStatus/SetStatus_Success.properties
new file mode 100644
index 000000000..af4eb91bc
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/SetStatus/SetStatus_Success.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=========================================================
+###
+
+org.openecomp.appc.dg.common.DCAEReporterPlugin.report.outcome=success
+input.error-code=400
+input.request-action=Configure
+
+# DG properties
+APPC.UpdateAaiInfo.outCome=success
+APPC.SaveRunningConfig.outCome=success
+
+assertNull.dcae-error-message
+assertEquals.error-code=400
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/UpdateAaIInfo/GetVnfcRef_Fail.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/UpdateAaIInfo/GetVnfcRef_Fail.properties
new file mode 100644
index 000000000..e906379df
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/UpdateAaIInfo/GetVnfcRef_Fail.properties
@@ -0,0 +1,28 @@
+###
+# ============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.getVnfcReference.outCome=failure
+org.openecomp.appc.data.services.node.ConfigResourceNode.getVnfcReference.vnfc-reference[0].error-message=VnfcRef Record not found
+
+
+
+assertEquals.dcae-error-message=Unable to Update A&AI. VnfcRef Record not found
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/UpdateAaIInfo/Update_Fail.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/UpdateAaIInfo/Update_Fail.properties
new file mode 100644
index 000000000..1c50c2d25
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/UpdateAaIInfo/Update_Fail.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=========================================================
+###
+
+org.openecomp.appc.data.services.node.ConfigResourceNode.getVnfcReference.outCome=success
+
+org.openecomp.appc.aai.client.node.AAIResourceNode.updateVnfAndVServerStatus.outCome=failure
+org.openecomp.appc.aai.client.node.AAIResourceNode.updateVnfAndVServerStatus.tmp.vnfInfo.error-message=A&AI Update for VServer failed.
+
+org.openecomp.appc.aai.client.node.AAIResourceNode.addVnfcs.outCome=failure
+org.openecomp.appc.aai.client.node.AAIResourceNode.addVnfcs.tmp.vnfInfo.error-message=A&AI Insert for vnfc failed.
+
+assertEquals.dcae-error-message=A&AI Update for VServer failed.A&AI Insert for vnfc failed.
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/UpdateAaIInfo/Update_Success.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/UpdateAaIInfo/Update_Success.properties
new file mode 100644
index 000000000..62b1395dc
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC/UpdateAaIInfo/Update_Success.properties
@@ -0,0 +1,28 @@
+###
+# ============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.getVnfcReference.outCome=success
+
+org.openecomp.appc.aai.client.node.AAIResourceNode.addVnfcs.outCome=success
+
+org.openecomp.appc.aai.client.node.AAIResourceNode.updateVnfAndVServerStatus.outCome=success
+assertNull.dcae-error-message
+
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC_method_CommonConfiguration_TC1.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC_method_CommonConfiguration_TC1.properties
new file mode 100644
index 000000000..fba26b34a
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC_method_CommonConfiguration_TC1.properties
@@ -0,0 +1,27 @@
+###
+# ============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.input.action-identifiers.vnf-id=VDBE
+input.input.action-identifiers.service-instance-id=Instance1234
+input.input.common-header.request-id=12345
+input.input.common-header.originator-id=MSO
+input.input.api-ver=2.11
+input.input.action=Configure
+input.input.payload=tcfile://payload_json_config.json
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC_method_CommonConfiguration_TC2.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC_method_CommonConfiguration_TC2.properties
new file mode 100644
index 000000000..b65597f50
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/APPC_method_CommonConfiguration_TC2.properties
@@ -0,0 +1,54 @@
+###
+# ============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.input.action-identifiers.vnf-id=VDBE
+input.input.action-identifiers.service-instance-id=Instance1234
+input.input.common-header.request-id=12345
+input.input.common-header.originator-id=MSO
+input.input.api-ver=2.11
+input.input.action=Configure
+input.input.payload=tcfile://payload_json_config.json
+
+
+# Property for com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo Execute Action
+com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.tmp.commonConfigInfo.status=success
+com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.DEVICE-AUTHENTICATION-ID = 3
+com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.VNF-TYPE=vUSP - Metaswitch vSBC
+com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.USER-NAME=root
+com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PASSWORD = !bootstrap
+com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.device-authentication.PORT-NUMBER = 22
+
+com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DEVICE-INTERFACE-PROTOCOL-ID = 4
+com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.VNF-TYPE = vUSP - Metaswitch vSBC
+com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.PROTOCOL = CLI
+com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.MODULE = appc
+com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.tmp.deviceinterfaceprotocol.DG-RPC = getDeviceRunningConfig
+
+com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.tmp.configureactiondg.CONFIGURE-ACTION-DG-ID = 8
+com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.tmp.configureactiondg.VNF-TYPE = vUSP - Metaswitch vSBC
+com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.tmp.configureactiondg.DOWNLOAD-CONFIG-DG = DownloadIsbcConfig
+
+com.att.appc.config.generator.node.ConfigResourceNode.getCommonConfigInfo.outCome=success
+
+
+# DG APPC.DownloadIsbcConfig properties
+APPC.DownloadIsbcConfig.outCome=success
+#APPC.DownloadIsbcConfig.outCome=not-found
+
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/ASDC-MESSAGE_method_configuration-document-request_TC1.properties b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/ASDC-MESSAGE_method_configuration-document-request_TC1.properties
new file mode 100644
index 000000000..ffbdff81c
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/ASDC-MESSAGE_method_configuration-document-request_TC1.properties
@@ -0,0 +1,23 @@
+###
+# ============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=========================================================
+###
+
+asdc-reference.configuration-document-request-input.document-parameters.artifact-contents=tcfile://vdbe_template.xml
+asdc-reference.outCome=SUCCESS
+tmp.asdc-artifacts.outCome=SUCCESS
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/cli_config_content.txt b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/cli_config_content.txt
new file mode 100644
index 000000000..90f301a4f
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/cli_config_content.txt
@@ -0,0 +1,5 @@
+config
+system
+service-interface serv1
+ipv4
+gateway-ip-address 192.168.30.44 \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/config_chef.txt b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/config_chef.txt
new file mode 100644
index 000000000..6fbe5e762
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/config_chef.txt
@@ -0,0 +1,5 @@
+config
+system
+service-interface serv1
+ipv4
+gateway-ip-address 192.168.30.1 \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/download_cli_config_template.txt b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/download_cli_config_template.txt
new file mode 100644
index 000000000..41a5fa612
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/download_cli_config_template.txt
@@ -0,0 +1,18 @@
+Login_Prompt: Matches "Login as:"
+ Password_Prompt: Matches "Password:"
+ Request_Prompt: Ends_With "~#"
+ Request: "sdc"
+ Response: Ends_With ":"
+ Request: "1"
+ Response: Ends_With ":"
+ Request: "1"
+ Response: Ends_With "#"
+ Request: "paging-options disable"
+ Response: Ends_With "#"
+ Request: "show config"
+ Response: Ends_With "#"
+ Request: "exit"
+ Response: Ends_With ":"
+ Request: "0"
+ Response: Ends_With "#"
+ Request: "exit" \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/instar_values.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/instar_values.json
new file mode 100644
index 000000000..6d053cf7d
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/instar_values.json
@@ -0,0 +1,25 @@
+/*-
+ * ============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=========================================================
+ */
+
+{
+ "LOCAL_CORE_ALT_IP_ADDR": "DummyInstarIP1",
+ "REMOTE_ACCESS_IP_ADDR": "DummyInstarIP2"
+
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/isbc_config_parameters.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/isbc_config_parameters.json
new file mode 100644
index 000000000..217f9d67c
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/isbc_config_parameters.json
@@ -0,0 +1,60 @@
+/*-
+ * ============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=========================================================
+ */
+
+{
+ "request-parameters": {
+ "vnf-type": "ISBC",
+ "vnf-host-ip-address": "135.21.166.39",
+ "service-instance-id": "ibcx0001vm001",
+ "site-location": "Middletown",
+ "vnf-name": "ibcx0001v",
+ "vm": [
+ {
+ "vm-name": "ibcx0001vm001",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm001ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "ipaddress-v4-oam-vip": "12.1.1.1",
+ "pair-number": "ibcx0001vm001ssc001pair"
+ }
+ ]
+ },
+ {
+ "vm-name": "ibcx0001vm002",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm002ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "pair-number": "ibcx0001vm002ssc001pair"
+ }
+ ]
+ }
+ ]
+ },
+ "configuration-parameters": {
+ "node0_hostname" : "appc-host",
+ "node0_backup_router_address": "2001:1890:1253::192:168:100:1",
+ "node0_tacplus_server_name1": "servername1",
+ "node0_tacplus_server_name2": "servername2"
+ }
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/noinstarparams_pd.yaml b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/noinstarparams_pd.yaml
new file mode 100644
index 000000000..5cf518101
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/noinstarparams_pd.yaml
@@ -0,0 +1,92 @@
+---
+kind: "Property Definition"
+version: "V1"
+parameters:
+- name: "LOCAL_ACCESS_IP_ADDR"
+ description: null
+ type: null
+ list: false
+ required: false
+ source: null
+ class-type: "interface-ip-address"
+ default-value: "192.168.30.1"
+ assigned-value: "192.168.30.1"
+ path: null
+ request-keys:
+ - key-id: "address_fqdn"
+ key-value: "m001dbj001p1n004v006"
+ - key-id: "address_type"
+ key-value: "v4"
+ response-keys: null
+- name: "LOCAL_CORE_ALT_IP_ADDR"
+ description: null
+ type: null
+ list: false
+ required: false
+ source: null
+ class-type: null
+ default-value: "fd00:f4d5:ea06:1:0:110:136:254"
+ assigned-value: "fd00:f4d5:ea06:1:0:110:136:254"
+ path: null
+ request-keys: null
+ response-keys: null
+- name: "LOCAL_BILLING_IP_ADDR"
+ description: null
+ type: null
+ list: false
+ required: false
+ source: null
+ class-type: null
+ default-value: "192.168.30.1"
+ assigned-value: "192.168.30.1"
+ path: null
+ request-keys: null
+ response-keys: null
+- name: "REMOTE_ACCESS_IP_ADDR"
+ description: null
+ type: null
+ list: false
+ required: false
+ source: null
+ class-type: null
+ default-value: "192.168.30.1"
+ assigned-value: "192.168.30.1"
+ path: null
+ request-keys: null
+ response-keys: null
+- name: "REMOTE_CORE_ALT_IP_ADDR"
+ description: null
+ type: null
+ list: false
+ required: false
+ source: null
+ class-type: null
+ default-value: "fd00:f4d5:ea06:1:0:110:136:254"
+ assigned-value: "fd00:f4d5:ea06:1:0:110:136:254"
+ path: null
+ request-keys: null
+ response-keys: null
+- name: "REMOTE_BILLING_IP_ADDR"
+ description: null
+ type: null
+ list: false
+ required: false
+ source: null
+ class-type: null
+ default-value: "192.168.30.1"
+ assigned-value: "192.168.30.1"
+ path: null
+ request-keys: null
+ response-keys: null
+- name: "CORE_NETWORK_PLEN"
+ description: null
+ type: null
+ list: false
+ required: false
+ source: null
+ class-type: null
+ default-value: "32"
+ assigned-value: "32"
+ path: null
+ request-keys: null
+ response-keys: null
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_cli_config.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_cli_config.json
new file mode 100644
index 000000000..8d872e173
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_cli_config.json
@@ -0,0 +1,98 @@
+/*-
+ * ============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=========================================================
+ */
+
+{
+ "request-parameters": {
+ "vnf-type": "ISBC",
+ "vnf-host-ip-address": "135.21.166.39",
+ "service-instance-id": "ibcx0001vm001",
+ "site-location": "Middletown",
+ "vnf-name": "ibcx0001v",
+ "vm": [
+ {
+ "vm-name": "ibcx0001vm001",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm001ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "ipaddress-v4-oam-vip": "12.1.1.1",
+ "group-notation": "ibcx0001vm001ssc001pair"
+ }
+ ]
+ },
+ {
+ "vm-name": "ibcx0001vm002",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm002ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "group-notation": "ibcx0001vm002ssc001pair"
+ }
+ ]
+ }
+ ]
+ },
+ "configuration": {
+ "configuration-string": "config\r\nsystem\r\nservice-interface serv1\r\nipv4\r\ngateway-ip-address 12.12.12.12\r\n"
+ },
+ "configuration-parameters": {
+ "LOCAL_ACCESS_IP_ADDR": "192.168.30.1",
+ "LOCAL_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "LOCAL_BILLING_IP_ADDR": "192.168.30.1",
+ "REMOTE_ACCESS_IP_ADDR": "192.168.30.1",
+ "REMOTE_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "REMOTE_BILLING_IP_ADDR": "192.168.30.1",
+ "CORE_NETWORK_PLEN": "32",
+ "CORE_NETWORK_ALT_PLEN": "126",
+ "CORE_NETWORK_DEFAULT_GATEWAY": "192.168.30.1",
+ "CORE_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254",
+ "ACCESS_NETWORK_PLEN": "32",
+ "ACCESS_NETWORK_ALT_PLEN": "126",
+ "ACCESS_NETWORK_DEFAULT_GATEWAY": "135.25.69.147",
+ "ACCESS_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254",
+ "BILLING_NETWORK_PLEN": "32",
+ "BILLING_NETWORK_DEFAULT_GATEWAY": "135.25.69.147",
+ "VIRT_CORE_IP_ADDR": "135.25.69.147",
+ "VIRT_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "VIRT_ACCESS_IP_ADDR": "135.25.69.147",
+ "VIRT_ACCESS_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "VIRT_BILLING_IP_ADDR": "135.25.69.147",
+ "DNS_SERVERS": "135.25.69.147",
+ "SNMP_CLIENT_1": "135.25.69.147",
+ "SNMP_CLIENT_2": "135.25.69.147",
+ "SNMP_COMMUNITY_STRING_CLIENT1": "135.25.69.147",
+ "SNMP_COMMUNITY_STRING_CLIENT2": "135.25.69.147",
+ "BILLING_SERVER_1": "135.25.69.147",
+ "BILLING_SERVER_2": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR1": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR2": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR3": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR4": "135.25.69.147",
+ "OAM_VIP_HOSTNAME": "135.25.69.147",
+ "DG_APP_SERVER1": "135.25.69.147",
+ "DG_APP_SERVER2": "135.25.69.147",
+ "CTS_IP_RANGE": "135.25.69.147",
+ "CTS_PREFIX_LENGTH": "26",
+ "LICENSE_KEY": "AQGpAQA/AQAEAAANBAIAGY1mwTCGq0adcFTpiuwgDxAFwlmxPP8TYmQDAAEBBAAABQAEVwMAAAYABFhR3QAHAARXAwAAAgFkAQAoAQABBAIAB0MwMjc1MTgDAAL//wYAB0wwMTEwMDEHAAQAAAABCQABAAIBNgEBMwEAAQECAAEAAwAEAAGGoAQABP////8FAASAADTfBgAE/////wcAFAEABkcuNzI5QQIABAAAE4gDAAEBBwARAQADQU1SAgAEAAATiAMAAQEHABQBAAZBTVItV0ICAAQAABOIAwABAQsABAABhqAMAB4BABBJTlNUX0lTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX0lTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19IQV9WSVJUAgAEAAAAZAMAAQG8N/Kba2f53+Rj7bN0En1MmpFrvPo+QBSk0smG9XCVZ8lmwYTCggTSLdHDG8kR1/AsSz7nr3v87H+4GIuY+Ktjw7Ug1a8xhBRUabSjz5pOm34ZZwG8uC38sbgVfIXEZJd+jukvAijyRqnrud5MX24vozW/tVMYj4GHCmrdc176tA==",
+ "LIC_SERVER_BYPASS_URI": "file:///var/opt/MetaSwitch/craft/ftp/META-L011001-20170316.byp"
+ }
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_json_config.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_json_config.json
new file mode 100644
index 000000000..e29080aab
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_json_config.json
@@ -0,0 +1,104 @@
+/*-
+ * ============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=========================================================
+ */
+
+{
+ "request-parameters": {
+ "vnf-type": "ISBC",
+ "vnf-host-ip-address": "135.21.166.39",
+ "service-instance-id": "ibcx0001vm001",
+ "site-location": "Middletown",
+ "vnf-name": "ibcx0001v",
+ "vm": [
+ {
+ "vm-name": "ibcx0001vm001",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm001ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "ipaddress-v4-oam-vip": "12.1.1.1",
+ "group-notation": "ibcx0001vm001ssc001pair"
+ }
+ ]
+ },
+ {
+ "vm-name": "ibcx0001vm002",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm002ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "group-notation": "ibcx0001vm002ssc001pair"
+ }
+ ]
+ }
+ ]
+ },
+ "configuration": {
+ "configuration-json": {
+ "config": {
+ "group": {
+ "interface": "interface1"
+ }
+ }
+ }
+ },
+ "configuration-parameters": {
+ "LOCAL_ACCESS_IP_ADDR": "192.168.30.1",
+ "LOCAL_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "LOCAL_BILLING_IP_ADDR": "192.168.30.1",
+ "REMOTE_ACCESS_IP_ADDR": "192.168.30.1",
+ "REMOTE_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "REMOTE_BILLING_IP_ADDR": "192.168.30.1",
+ "CORE_NETWORK_PLEN": "32",
+ "CORE_NETWORK_ALT_PLEN": "126",
+ "CORE_NETWORK_DEFAULT_GATEWAY": "192.168.30.1",
+ "CORE_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254",
+ "ACCESS_NETWORK_PLEN": "32",
+ "ACCESS_NETWORK_ALT_PLEN": "126",
+ "ACCESS_NETWORK_DEFAULT_GATEWAY": "135.25.69.147",
+ "ACCESS_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254",
+ "BILLING_NETWORK_PLEN": "32",
+ "BILLING_NETWORK_DEFAULT_GATEWAY": "135.25.69.147",
+ "VIRT_CORE_IP_ADDR": "135.25.69.147",
+ "VIRT_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "VIRT_ACCESS_IP_ADDR": "135.25.69.147",
+ "VIRT_ACCESS_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "VIRT_BILLING_IP_ADDR": "135.25.69.147",
+ "DNS_SERVERS": "135.25.69.147",
+ "SNMP_CLIENT_1": "135.25.69.147",
+ "SNMP_CLIENT_2": "135.25.69.147",
+ "SNMP_COMMUNITY_STRING_CLIENT1": "135.25.69.147",
+ "SNMP_COMMUNITY_STRING_CLIENT2": "135.25.69.147",
+ "BILLING_SERVER_1": "135.25.69.147",
+ "BILLING_SERVER_2": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR1": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR2": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR3": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR4": "135.25.69.147",
+ "OAM_VIP_HOSTNAME": "135.25.69.147",
+ "DG_APP_SERVER1": "135.25.69.147",
+ "DG_APP_SERVER2": "135.25.69.147",
+ "CTS_IP_RANGE": "135.25.69.147",
+ "CTS_PREFIX_LENGTH": "26",
+ "LICENSE_KEY": "AQGpAQA/AQAEAAANBAIAGY1mwTCGq0adcFTpiuwgDxAFwlmxPP8TYmQDAAEBBAAABQAEVwMAAAYABFhR3QAHAARXAwAAAgFkAQAoAQABBAIAB0MwMjc1MTgDAAL//wYAB0wwMTEwMDEHAAQAAAABCQABAAIBNgEBMwEAAQECAAEAAwAEAAGGoAQABP////8FAASAADTfBgAE/////wcAFAEABkcuNzI5QQIABAAAE4gDAAEBBwARAQADQU1SAgAEAAATiAMAAQEHABQBAAZBTVItV0ICAAQAABOIAwABAQsABAABhqAMAB4BABBJTlNUX0lTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX0lTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19IQV9WSVJUAgAEAAAAZAMAAQG8N/Kba2f53+Rj7bN0En1MmpFrvPo+QBSk0smG9XCVZ8lmwYTCggTSLdHDG8kR1/AsSz7nr3v87H+4GIuY+Ktjw7Ug1a8xhBRUabSjz5pOm34ZZwG8uC38sbgVfIXEZJd+jukvAijyRqnrud5MX24vozW/tVMYj4GHCmrdc176tA==",
+ "LIC_SERVER_BYPASS_URI": "file:///var/opt/MetaSwitch/craft/ftp/META-L011001-20170316.byp"
+ }
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_parameters_config.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_parameters_config.json
new file mode 100644
index 000000000..968db23e3
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_parameters_config.json
@@ -0,0 +1,95 @@
+/*-
+ * ============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=========================================================
+ */
+
+{
+ "request-parameters": {
+ "vnf-type": "ISBC",
+ "vnf-host-ip-address": "135.21.166.39",
+ "service-instance-id": "ibcx0001vm001",
+ "site-location": "Middletown",
+ "vnf-name": "ibcx0001v",
+ "vm": [
+ {
+ "vm-name": "ibcx0001vm001",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm001ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "ipaddress-v4-oam-vip": "12.1.1.1",
+ "pair-number": "ibcx0001vm001ssc001pair"
+ }
+ ]
+ },
+ {
+ "vm-name": "ibcx0001vm002",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm002ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "pair-number": "ibcx0001vm002ssc001pair"
+ }
+ ]
+ }
+ ]
+ },
+ "configuration-parameters": {
+ "LOCAL_ACCESS_IP_ADDR": "192.168.30.1",
+ "LOCAL_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "LOCAL_BILLING_IP_ADDR": "192.168.30.1",
+ "REMOTE_ACCESS_IP_ADDR": "192.168.30.1",
+ "REMOTE_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "REMOTE_BILLING_IP_ADDR": "192.168.30.1",
+ "CORE_NETWORK_PLEN": "32",
+ "CORE_NETWORK_ALT_PLEN": "126",
+ "CORE_NETWORK_DEFAULT_GATEWAY": "192.168.30.1",
+ "CORE_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254",
+ "ACCESS_NETWORK_PLEN": "32",
+ "ACCESS_NETWORK_ALT_PLEN": "126",
+ "ACCESS_NETWORK_DEFAULT_GATEWAY": "135.25.69.147",
+ "ACCESS_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254",
+ "BILLING_NETWORK_PLEN": "32",
+ "BILLING_NETWORK_DEFAULT_GATEWAY": "135.25.69.147",
+ "VIRT_CORE_IP_ADDR": "135.25.69.147",
+ "VIRT_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "VIRT_ACCESS_IP_ADDR": "135.25.69.147",
+ "VIRT_ACCESS_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254",
+ "VIRT_BILLING_IP_ADDR": "135.25.69.147",
+ "DNS_SERVERS": "135.25.69.147",
+ "SNMP_CLIENT_1": "135.25.69.147",
+ "SNMP_CLIENT_2": "135.25.69.147",
+ "SNMP_COMMUNITY_STRING_CLIENT1": "135.25.69.147",
+ "SNMP_COMMUNITY_STRING_CLIENT2": "135.25.69.147",
+ "BILLING_SERVER_1": "135.25.69.147",
+ "BILLING_SERVER_2": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR1": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR2": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR3": "135.25.69.147",
+ "IMS_CORE_ALT_IP_ADDR4": "135.25.69.147",
+ "OAM_VIP_HOSTNAME": "135.25.69.147",
+ "DG_APP_SERVER1": "135.25.69.147",
+ "DG_APP_SERVER2": "135.25.69.147",
+ "CTS_IP_RANGE": "135.25.69.147",
+ "CTS_PREFIX_LENGTH": "26",
+ "LICENSE_KEY": "AQGpAQA/AQAEAAANBAIAGY1mwTCGq0adcFTpiuwgDxAFwlmxPP8TYmQDAAEBBAAABQAEVwMAAAYABFhR3QAHAARXAwAAAgFkAQAoAQABBAIAB0MwMjc1MTgDAAL//wYAB0wwMTEwMDEHAAQAAAABCQABAAIBNgEBMwEAAQECAAEAAwAEAAGGoAQABP////8FAASAADTfBgAE/////wcAFAEABkcuNzI5QQIABAAAE4gDAAEBBwARAQADQU1SAgAEAAATiAMAAQEHABQBAAZBTVItV0ICAAQAABOIAwABAQsABAABhqAMAB4BABBJTlNUX0lTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX0lTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19IQV9WSVJUAgAEAAAAZAMAAQG8N/Kba2f53+Rj7bN0En1MmpFrvPo+QBSk0smG9XCVZ8lmwYTCggTSLdHDG8kR1/AsSz7nr3v87H+4GIuY+Ktjw7Ug1a8xhBRUabSjz5pOm34ZZwG8uC38sbgVfIXEZJd+jukvAijyRqnrud5MX24vozW/tVMYj4GHCmrdc176tA==",
+ "LIC_SERVER_BYPASS_URI": "file:///var/opt/MetaSwitch/craft/ftp/META-L011001-20170316.byp"
+ }
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_restore_config.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_restore_config.json
new file mode 100644
index 000000000..4f282963b
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_restore_config.json
@@ -0,0 +1,54 @@
+/*-
+ * ============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=========================================================
+ */
+
+{
+ "request-parameters": {
+ "vnf-type": "ISBC",
+ "vnf-host-ip-address": "135.21.166.39",
+ "service-instance-id": "ibcx0001vm001",
+ "site-location": "Middletown",
+ "vnf-name": "ibcx0001v",
+ "vm": [
+ {
+ "vm-name": "ibcx0001vm001",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm001ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "ipaddress-v4-oam-vip": "12.1.1.1",
+ "pair-number": "ibcx0001vm001ssc001pair"
+ }
+ ]
+ },
+ {
+ "vm-name": "ibcx0001vm002",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm002ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "pair-number": "ibcx0001vm002ssc001pair"
+ }
+ ]
+ }
+ ]
+ }
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_template_config.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_template_config.json
new file mode 100644
index 000000000..edd5be344
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_template_config.json
@@ -0,0 +1,56 @@
+/*-
+ * ============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=========================================================
+ */
+
+{
+ "request-parameters": {
+ "vnf-type": "ISBC",
+ "vnf-host-ip-address": "135.21.166.39",
+ "service-instance-id": "ibcx0001vm001",
+ "site-location": "Middletown",
+ "vnf-name": "ibcx0001v",
+ "vm": [
+ {
+ "vm-name": "ibcx0001vm001",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm001ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "ipaddress-v4-oam-vip": "12.1.1.1",
+ "group-notation": "ibcx0001vm001ssc001pair"
+ }
+ ]
+ },
+ {
+ "vm-name": "ibcx0001vm002",
+ "vnfc": [
+ {
+ "vnfc-name": "ibcx0001vm002ssc001",
+ "vnfc-function-code": "ssc",
+ "vnfc-type": "vISBC – ssc",
+ "group-notation": "ibcx0001vm002ssc001pair"
+ }
+ ]
+ }
+ ],
+ "template-name": "vISBC-ssc-change_template1"
+
+ }
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/pd.yaml b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/pd.yaml
new file mode 100644
index 000000000..3eb302eb3
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/pd.yaml
@@ -0,0 +1,75 @@
+---
+kind: "Property Definition"
+version: "V1"
+vnf-parameter-list:
+- name: "LOCAL_ACCESS_IP_ADDR"
+ description: null
+ type: null
+ required: false
+ source: "INSTAR"
+ rule-type: "interface-ip-address"
+ default: "192.168.30.1"
+ request-keys:
+ - key-name: "address_fqdn"
+ key-value: "m001dbj001p1n004v006"
+ - key-name: "address_type"
+ key-value: "v4"
+ response-keys: null
+- name: "LOCAL_CORE_ALT_IP_ADDR"
+ description: null
+ type: null
+ required: false
+ source: "INSTAR"
+ rule-type: null
+ default: "fd00:f4d5:ea06:1:0:110:136:254"
+ request-keys:
+ - key-name: "address_fqdn"
+ key-value: "m001dbj001p1n004v006"
+ - key-name: "address_type"
+ key-value: "v4"
+ response-keys: null
+- name: "LOCAL_BILLING_IP_ADDR"
+ description: null
+ type: null
+ required: false
+ source: null
+ rule-type: null
+ default: "192.168.30.1"
+ request-keys: null
+ response-keys: null
+- name: "REMOTE_ACCESS_IP_ADDR"
+ description: null
+ type: null
+ required: false
+ source: "INSTAR"
+ rule-type: null
+ default: "192.168.30.1"
+ request-keys: null
+ response-keys: null
+- name: "REMOTE_CORE_ALT_IP_ADDR"
+ description: null
+ type: null
+ required: false
+ source: null
+ rule-type: null
+ default: "fd00:f4d5:ea06:1:0:110:136:254"
+ request-keys: null
+ response-keys: null
+- name: "REMOTE_BILLING_IP_ADDR"
+ description: null
+ type: null
+ required: false
+ source: "INSTAR"
+ rule-type: null
+ default: "192.168.30.1"
+ request-keys: null
+ response-keys: null
+- name: "CORE_NETWORK_PLEN"
+ description: null
+ type: null
+ required: false
+ source: null
+ rule-type: null
+ default: "32"
+ request-keys: null
+ response-keys: null
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/request-param.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/request-param.json
new file mode 100644
index 000000000..68f9c9fe4
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/request-param.json
@@ -0,0 +1,21 @@
+/*-
+ * ============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=========================================================
+ */
+
+{ "LOCAL_ACCESS_IP_ADDR": "192.168.30.1", "LOCAL_BILLING_IP_ADDR": "192.168.30.1","REMOTE_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254","REMOTE_BILLING_IP_ADDR": "192.168.30.1","CORE_NETWORK_PLEN": "32"}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/vdbe_data.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/vdbe_data.json
new file mode 100644
index 000000000..c1e17a17a
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/vdbe_data.json
@@ -0,0 +1,27 @@
+/*-
+ * ============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=========================================================
+ */
+
+{
+ "node0_hostname" : "appc-host",
+ "node0_backup_router_address": "2001:1890:1253::192:168:100:1",
+ "node0_tacplus_server_name1": "servername1",
+ "node0_tacplus_server_name2": "servername2"
+
+}
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/vdbe_template.xml b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/vdbe_template.xml
new file mode 100644
index 000000000..8d8c89cb8
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/vdbe_template.xml
@@ -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=========================================================
+ -->
+
+<configuration xmlns="http://xml.juniper.net/xnm/1.1/xnm"
+ xmlns:a="http://xml.juniper.net/junos/15.1X49/junos">
+ <version>15.1X49-D50.3</version>
+ <groups>
+ <name>node0</name>
+ <system>
+ <host-name>$node0_hostname</host-name>
+ <backup-router>
+ <address>$node0_backup_router_address</address>
+ <destination>0.0.0.0/0</destination>
+ </backup-router>
+ <tacplus-server>
+ <name>$node0_tacplus_server_name1</name>
+ <source-address>$node0_tacplus_server_source_address1
+ </source-address>
+ </tacplus-server>
+ <tacplus-server>
+ <name>$node0_tacplus_server_name2</name>
+ <source-address>$node0_tacplus_server_source_address1
+ </source-address>
+ </tacplus-server>
+ </system>
+ </groups>
+
+</configuration>