diff options
author | Tal Gitelman <tg851x@intl.att.com> | 2017-08-07 17:59:54 +0300 |
---|---|---|
committer | Tal Gitelman <tg851x@intl.att.com> | 2017-08-07 17:59:54 +0300 |
commit | ba229230144f00d35d55e31a80ca2576bd831448 (patch) | |
tree | db7d3de38fad8dfea7ceb28708a0f0456e4155ce /asdctool | |
parent | 976626d62ae4f55f9d9f0e96bc954102dd38e726 (diff) |
[SDC] sync
Change-Id: I150c22c816c52cc142e8d0f3c92e5df7ecea4e3c
Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'asdctool')
-rw-r--r-- | asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfiguration.java | 7 | ||||
-rw-r--r-- | asdctool/src/main/resources/config/logback.xml | 24 |
2 files changed, 0 insertions, 31 deletions
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfiguration.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfiguration.java index 80e80ab472..0e6b2c7d16 100644 --- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfiguration.java +++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfiguration.java @@ -16,8 +16,6 @@ import org.openecomp.sdc.be.dao.jsongraph.TitanDao; import org.openecomp.sdc.be.dao.titan.TitanGraphClient; import org.openecomp.sdc.be.model.DerivedNodeTypeResolver; import org.openecomp.sdc.be.model.jsontitan.operations.*; -import org.openecomp.sdc.be.model.operations.api.ToscaDefinitionPathCalculator; -import org.openecomp.sdc.be.model.operations.impl.ToscaDefinitionPathCalculatorImpl; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @@ -114,11 +112,6 @@ public class ValidationToolConfiguration { return new CategoryOperation(); } - @Bean(name = "tosca-path-calculator") - public ToscaDefinitionPathCalculator pathCalculator() { - return new ToscaDefinitionPathCalculatorImpl(); - } - @Bean(name = "artifacts-operation") public ArtifactsOperations artifactsOperation() { return new ArtifactsOperations(); diff --git a/asdctool/src/main/resources/config/logback.xml b/asdctool/src/main/resources/config/logback.xml index dadc5254a5..603d894317 100644 --- a/asdctool/src/main/resources/config/logback.xml +++ b/asdctool/src/main/resources/config/logback.xml @@ -45,34 +45,10 @@ </encoder> </appender> - <appender name="MALFORMED_DATA" - class="ch.qos.logback.core.rolling.RollingFileAppender"> - <file>${HOME}/asdctool/logs/${ECOMP-component-name}/${ECOMP-subcomponent-name}/malformed-data.log</file> - - <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> - <fileNamePattern>${HOME}/asdctool/logs/${ECOMP-component-name}/${ECOMP-subcomponent-name}/malformed-data.log.%i - </fileNamePattern> - <minIndex>1</minIndex> - <maxIndex>10</maxIndex> - </rollingPolicy> - - <triggeringPolicy - class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> - <maxFileSize>20MB</maxFileSize> - </triggeringPolicy> - <encoder> - <pattern>${default-log-pattern}</pattern> - </encoder> - </appender> - - <root level="INFO"> <appender-ref ref="DEBUG_ROLLING" /> </root> <logger name="org.openecomp.sdc" level="INFO" /> - <logger name="org.openecomp.sdc.be.model.operations.migration" level="ERROR" > - <appender-ref ref="MALFORMED_DATA"/> - </logger> <logger name="org.openecomp.sdc.asdctool.migration" level="INFO" > <appender-ref ref="STDOUT"/> |