From 8aac2df744820304ee29354333661699e9695939 Mon Sep 17 00:00:00 2001 From: Marcus G K Williams Date: Tue, 2 May 2017 15:11:04 -0700 Subject: 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 --- .../src/main/java/org/openecomp/appc/provider/AppcProvider.java | 3 +-- .../src/main/java/org/openecomp/appc/provider/AppcProviderClient.java | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'appc-provider/appc-provider-bundle/src') diff --git a/appc-provider/appc-provider-bundle/src/main/java/org/openecomp/appc/provider/AppcProvider.java b/appc-provider/appc-provider-bundle/src/main/java/org/openecomp/appc/provider/AppcProvider.java index bdfb4fe56..c65cc656e 100644 --- a/appc-provider/appc-provider-bundle/src/main/java/org/openecomp/appc/provider/AppcProvider.java +++ b/appc-provider/appc-provider-bundle/src/main/java/org/openecomp/appc/provider/AppcProvider.java @@ -246,8 +246,7 @@ public Future> modifyConfig(ModifyConfigInput inpu VnfResource vnf = input.getVnfResource(); TopologyService topology = new TopologyService(this); - // RpcResult result = topology.restart(hdr, vnf); - return null;// Futures.immediateFuture(result); + return null; } /** diff --git a/appc-provider/appc-provider-bundle/src/main/java/org/openecomp/appc/provider/AppcProviderClient.java b/appc-provider/appc-provider-bundle/src/main/java/org/openecomp/appc/provider/AppcProviderClient.java index 713f3dcbe..0224784d6 100644 --- a/appc-provider/appc-provider-bundle/src/main/java/org/openecomp/appc/provider/AppcProviderClient.java +++ b/appc-provider/appc-provider-bundle/src/main/java/org/openecomp/appc/provider/AppcProviderClient.java @@ -72,9 +72,6 @@ public class AppcProviderClient { LOG.debug("Parameters returned by SLI: " + StringHelper.propertiesToString(respProps)); metricsLogger.info("Parameters returned by SLI: " + StringHelper.propertiesToString(respProps)); - // No impact on flow. Not sure why it is here - // if ("failure".equalsIgnoreCase(respProps.getProperty("SvcLogic.status"))) { return (respProps); } - return respProps; } } -- cgit 1.2.3-korg