diff options
Diffstat (limited to 'appc-dg/appc-dg-shared/appc-dg-netconf/src/main')
2 files changed, 0 insertions, 8 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) { |