diff options
author | vempo <vitaliy.emporopulo@amdocs.com> | 2018-01-04 18:46:01 +0200 |
---|---|---|
committer | Vitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com> | 2018-01-04 18:09:33 +0000 |
commit | 2b959a7fcdbf82ec9534d4b860a6100643eb6447 (patch) | |
tree | 0caa5d8e15a064ca580b8aa9da5300040450f034 /openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src | |
parent | 860f30050eac0e8e3846e5b74130206b9f610463 (diff) |
Remove enter/exit debug #4
Change-Id: I99cef676015533d9cfe66f5a5371da49856500dc
Issue-ID: SDC-875
Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src')
-rw-r--r-- | openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src/main/java/org/openecomp/sdc/validation/util/ValidationUtil.java | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src/main/java/org/openecomp/sdc/validation/util/ValidationUtil.java b/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src/main/java/org/openecomp/sdc/validation/util/ValidationUtil.java index 925949bc69..cbbceabb62 100644 --- a/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src/main/java/org/openecomp/sdc/validation/util/ValidationUtil.java +++ b/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src/main/java/org/openecomp/sdc/validation/util/ValidationUtil.java @@ -18,7 +18,6 @@ import org.openecomp.sdc.heat.datatypes.model.ResourceReferenceFunctions; import org.openecomp.sdc.heat.services.HeatStructureUtil; import org.openecomp.sdc.logging.api.Logger; import org.openecomp.sdc.logging.api.LoggerFactory; -import org.openecomp.sdc.logging.context.impl.MdcDataDebugMessage; import org.openecomp.sdc.logging.context.impl.MdcDataErrorMessage; import org.openecomp.sdc.logging.types.LoggerConstants; import org.openecomp.sdc.logging.types.LoggerErrorCode; @@ -36,8 +35,6 @@ import java.util.regex.Pattern; import static java.util.Objects.nonNull; public class ValidationUtil { - - private static MdcDataDebugMessage mdcDataDebugMessage = new MdcDataDebugMessage(); private static final Logger LOG = LoggerFactory.getLogger(ValidationUtil.class.getName()); private ValidationUtil(){} @@ -125,9 +122,6 @@ public class ValidationUtil { public static Environment validateEnvContent(String envFileName, GlobalValidationContext globalContext) { - - mdcDataDebugMessage.debugEntryMessage("file", envFileName); - Environment envContent; try { Optional<InputStream> fileContent = globalContext.getFileContent(envFileName); @@ -141,10 +135,8 @@ public class ValidationUtil { } } catch (Exception exception) { LOG.debug("",exception); - mdcDataDebugMessage.debugExitMessage("file", envFileName); return null; } - mdcDataDebugMessage.debugExitMessage("file", envFileName); return envContent; } @@ -153,9 +145,6 @@ public class ValidationUtil { GlobalValidationContext globalContext, String propertyName, Object nameValue, String[] regexList) { - - mdcDataDebugMessage.debugEntryMessage("file", fileName); - String propertyValue = getWantedNameFromPropertyValueGetParam(nameValue); if (nonNull(propertyValue) && !evalPattern(propertyValue, regexList)) { globalContext.addMessage( @@ -167,11 +156,8 @@ public class ValidationUtil { resourceEntry.getKey()), LoggerTragetServiceName.VALIDATE_IMAGE_AND_FLAVOR_NAME, LoggerErrorDescription.NAME_NOT_ALIGNED_WITH_GUIDELINES); - mdcDataDebugMessage.debugExitMessage("file", fileName); return true; } - - mdcDataDebugMessage.debugExitMessage("file", fileName); return false; } @@ -212,9 +198,6 @@ public class ValidationUtil { public static HeatOrchestrationTemplate checkHeatOrchestrationPreCondition(String fileName, GlobalValidationContext globalContext) { - - mdcDataDebugMessage.debugEntryMessage("file", fileName); - HeatOrchestrationTemplate heatOrchestrationTemplate; try { Optional<InputStream> fileContent = globalContext.getFileContent(fileName); @@ -231,10 +214,8 @@ public class ValidationUtil { , getParserExceptionReason(exception)), LoggerTragetServiceName.VALIDATE_HEAT_FORMAT, LoggerErrorDescription.INVALID_HEAT_FORMAT); - mdcDataDebugMessage.debugExitMessage("file", fileName); return null; } - mdcDataDebugMessage.debugExitMessage("file", fileName); return heatOrchestrationTemplate; } |