diff options
author | Marcus G K Williams <marcus.williams@intel.com> | 2017-05-02 15:11:04 -0700 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2017-05-16 21:35:04 +0000 |
commit | 8aac2df744820304ee29354333661699e9695939 (patch) | |
tree | d8d59a60e8b3fe72de750b1f8fdd27cb892280c2 /appc-dg/appc-dg-shared/appc-dg-netconf | |
parent | fa622476470f31a518c46926261bd7eecd7a2778 (diff) |
Remove commented methods/fields in APPC
Taking a stab at removing numerous
commented out methods and fields.
Almost all of what is removed is
commented code with no explanation.
Change-Id: I61cb1d7100ae6c75f6d42f500ade0504c97b760c
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
Diffstat (limited to 'appc-dg/appc-dg-shared/appc-dg-netconf')
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) { |