aboutsummaryrefslogtreecommitdiffstats
path: root/appc-dg/appc-dg-shared
diff options
context:
space:
mode:
Diffstat (limited to 'appc-dg/appc-dg-shared')
-rw-r--r--appc-dg/appc-dg-shared/appc-dg-netconf/src/main/java/org/openecomp/appc/dg/netconf/impl/NetconfClientPluginImpl.java6
-rw-r--r--appc-dg/appc-dg-shared/appc-dg-netconf/src/main/java/org/openecomp/appc/dg/netconf/impl/NetconfDBPluginImpl.java2
-rw-r--r--appc-dg/appc-dg-shared/appc-dg-ssh/src/main/java/org/openecomp/appc/dg/ssh/SshService.java7
3 files changed, 0 insertions, 15 deletions
diff --git a/appc-dg/appc-dg-shared/appc-dg-netconf/src/main/java/org/openecomp/appc/dg/netconf/impl/NetconfClientPluginImpl.java b/appc-dg/appc-dg-shared/appc-dg-netconf/src/main/java/org/openecomp/appc/dg/netconf/impl/NetconfClientPluginImpl.java
index 875300ddb..abae77f68 100644
--- a/appc-dg/appc-dg-shared/appc-dg-netconf/src/main/java/org/openecomp/appc/dg/netconf/impl/NetconfClientPluginImpl.java
+++ b/appc-dg/appc-dg-shared/appc-dg-netconf/src/main/java/org/openecomp/appc/dg/netconf/impl/NetconfClientPluginImpl.java
@@ -203,8 +203,6 @@ public class NetconfClientPluginImpl implements NetconfClientPlugin {
client.connect(connectionDetails);
String configuration = client.getConfiguration();
if(configuration !=null){
- // logger.info("*************************************Configuration Output*************************************");
- // logger.info(configuration);
String fullConfig = ctx.getAttribute("fullConfig");
fullConfig = fullConfig==null?"":fullConfig;
ctx.setAttribute("fullConfig",fullConfig + configuration);
@@ -217,10 +215,6 @@ public class NetconfClientPluginImpl implements NetconfClientPlugin {
}else{
ctx.setAttribute("getConfig_Result","failure");
}
- //store configuration in database
- /*NetconfJDBC dsImpl = new NetconfJDBCImpl();
- dsImpl.logDeviceInteraction(null,null,getCurrentDateTime(),configuration);*/
-
} catch (Exception e) {
ctx.setAttribute("getConfig_Result","failure");
logger.error("Error " + e.getMessage());
diff --git a/appc-dg/appc-dg-shared/appc-dg-netconf/src/main/java/org/openecomp/appc/dg/netconf/impl/NetconfDBPluginImpl.java b/appc-dg/appc-dg-shared/appc-dg-netconf/src/main/java/org/openecomp/appc/dg/netconf/impl/NetconfDBPluginImpl.java
index 6fdfcc14c..a11b36f0f 100644
--- a/appc-dg/appc-dg-shared/appc-dg-netconf/src/main/java/org/openecomp/appc/dg/netconf/impl/NetconfDBPluginImpl.java
+++ b/appc-dg/appc-dg-shared/appc-dg-netconf/src/main/java/org/openecomp/appc/dg/netconf/impl/NetconfDBPluginImpl.java
@@ -77,8 +77,6 @@ public class NetconfDBPluginImpl implements NetconfDBPlugin {
logger.error("Missing configuration for " + params.get(Constants.VNF_TYPE_FIELD_NAME));
throw new APPCException("Missing configuration for " + params.get(Constants.VNF_TYPE_FIELD_NAME) + " in " + Constants.DEVICE_AUTHENTICATION_TABLE_NAME);
}
- // fileContent = dsImpl.retrieveConfigFileName(params.get(Constants.CONFIGURATION_FILE_FIELD_NAME));
- // ctx.setAttribute(Constants.FILE_CONTENT_FIELD_NAME, fileContent);
ctx.setAttribute(Constants.CONNECTION_DETAILS_FIELD_NAME, mapper.writeValueAsString(connectionDetails));
ctx.setAttribute("retrieveVMDSConfiguration_Result","success");
} catch(APPCException e) {
diff --git a/appc-dg/appc-dg-shared/appc-dg-ssh/src/main/java/org/openecomp/appc/dg/ssh/SshService.java b/appc-dg/appc-dg-shared/appc-dg-ssh/src/main/java/org/openecomp/appc/dg/ssh/SshService.java
index 0d2927ec3..780423bc3 100644
--- a/appc-dg/appc-dg-shared/appc-dg-ssh/src/main/java/org/openecomp/appc/dg/ssh/SshService.java
+++ b/appc-dg/appc-dg-shared/appc-dg-ssh/src/main/java/org/openecomp/appc/dg/ssh/SshService.java
@@ -42,13 +42,6 @@ public interface SshService extends SvcLogicJavaPlugin {
*/
String PARAM_IN_command = "command";
- /*
- String PARAM_IN_host = "host";
- String PARAM_IN_port = "port";
- String PARAM_IN_username = "username";
- String PARAM_IN_password = "password";
- */
-
/**
* Input parameter for SSH command timeout
*/