From 2a98583ab8a211566ec8cfd7b70a014c682401c2 Mon Sep 17 00:00:00 2001 From: vempo Date: Thu, 4 Jan 2018 18:46:18 +0200 Subject: Remove enter/exit debug #6 Change-Id: Ic9d9ebfabc52c6d1bd785e6b0f9d1ecc177f996e Issue-ID: SDC-875 Signed-off-by: vempo --- .../heat/services/tree/HeatTreeManagerUtil.java | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'openecomp-be/lib/openecomp-heat-lib/src') diff --git a/openecomp-be/lib/openecomp-heat-lib/src/main/java/org/openecomp/sdc/heat/services/tree/HeatTreeManagerUtil.java b/openecomp-be/lib/openecomp-heat-lib/src/main/java/org/openecomp/sdc/heat/services/tree/HeatTreeManagerUtil.java index 3749846626..607319906d 100644 --- a/openecomp-be/lib/openecomp-heat-lib/src/main/java/org/openecomp/sdc/heat/services/tree/HeatTreeManagerUtil.java +++ b/openecomp-be/lib/openecomp-heat-lib/src/main/java/org/openecomp/sdc/heat/services/tree/HeatTreeManagerUtil.java @@ -29,7 +29,6 @@ import org.openecomp.sdc.heat.datatypes.model.HeatResourcesTypes; import org.openecomp.sdc.heat.datatypes.model.PropertiesMapKeyTypes; import org.openecomp.sdc.heat.datatypes.model.Resource; import org.openecomp.sdc.heat.services.HeatStructureUtil; -import org.openecomp.sdc.logging.context.impl.MdcDataDebugMessage; import org.openecomp.sdc.logging.types.LoggerTragetServiceName; import java.util.Collection; @@ -41,7 +40,6 @@ import java.util.Set; public class HeatTreeManagerUtil { private static final String TYPE = "type"; - private static final MdcDataDebugMessage MDC_DATA_DEBUG_MESSAGE = new MdcDataDebugMessage(); private HeatTreeManagerUtil() { } @@ -71,9 +69,6 @@ public class HeatTreeManagerUtil { */ public static Set getNestedFiles(String filename, HeatOrchestrationTemplate hot, GlobalValidationContext globalContext) { - - MDC_DATA_DEBUG_MESSAGE.debugEntryMessage(null, null); - Set nestedFileList = new HashSet<>(); hot.getResources().values().stream().filter( resource -> resource.getType().endsWith(".yaml") || resource.getType().endsWith(".yml")) @@ -81,8 +76,6 @@ public class HeatTreeManagerUtil { Set resourceDefNestedFiles = getResourceDefNestedFiles(hot); nestedFileList.addAll(resourceDefNestedFiles); - - MDC_DATA_DEBUG_MESSAGE.debugExitMessage(null, null); return nestedFileList; } @@ -96,9 +89,6 @@ public class HeatTreeManagerUtil { */ public static Set getArtifactFiles(String filename, HeatOrchestrationTemplate hot, GlobalValidationContext globalContext) { - - MDC_DATA_DEBUG_MESSAGE.debugEntryMessage(null, null); - Set artifactSet = new HashSet<>(); Collection resourcesValue = hot.getResources() == null ? null : hot.getResources().values(); @@ -111,8 +101,6 @@ public class HeatTreeManagerUtil { filename, globalContext); } } - - MDC_DATA_DEBUG_MESSAGE.debugExitMessage(null, null); return artifactSet; } @@ -134,9 +122,6 @@ public class HeatTreeManagerUtil { } private static Set getResourceDefNestedFiles(HeatOrchestrationTemplate hot) { - - MDC_DATA_DEBUG_MESSAGE.debugEntryMessage(null, null); - Set resourceDefNestedFiles = new HashSet<>(); hot.getResources() .entrySet().stream().filter(entry -> entry.getValue().getType() @@ -148,8 +133,6 @@ public class HeatTreeManagerUtil { .getType())) .forEach(entry -> resourceDefNestedFiles.add( getResourceDef( entry.getValue()).getType())); - - MDC_DATA_DEBUG_MESSAGE.debugExitMessage(null, null); return resourceDefNestedFiles; } @@ -161,9 +144,6 @@ public class HeatTreeManagerUtil { */ @SuppressWarnings("unchecked") public static Resource getResourceDef( Resource resource) { - - MDC_DATA_DEBUG_MESSAGE.debugEntryMessage(null, null); - Resource resourceDef = null; Map resourceDefValueMap = resource.getProperties() == null ? null : (Map) resource.getProperties().get( @@ -178,8 +158,6 @@ public class HeatTreeManagerUtil { } } - - MDC_DATA_DEBUG_MESSAGE.debugExitMessage(null, null); return resourceDef; } -- cgit 1.2.3-korg