You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ol...@apache.org on 2017/05/18 03:49:50 UTC
[3/7] archiva-redback-core git commit: remove non used code
remove non used code
Signed-off-by: olivier lamy <ol...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/archiva-redback-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/archiva-redback-core/commit/2a027a21
Tree: http://git-wip-us.apache.org/repos/asf/archiva-redback-core/tree/2a027a21
Diff: http://git-wip-us.apache.org/repos/asf/archiva-redback-core/diff/2a027a21
Branch: refs/heads/master
Commit: 2a027a21546d0049b72db9c41f5cb56f4b1566ea
Parents: a54f10d
Author: olivier lamy <ol...@apache.org>
Authored: Thu May 11 17:17:56 2017 +1000
Committer: olivier lamy <ol...@apache.org>
Committed: Thu May 11 17:17:56 2017 +1000
----------------------------------------------------------------------
.../redback/rest/services/AbstractRestServicesTest.java | 11 -----------
.../src/test/resources/log4j2-test.xml | 2 +-
2 files changed, 1 insertion(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/archiva-redback-core/blob/2a027a21/redback-integrations/redback-rest/redback-rest-services/src/test/java/org/apache/archiva/redback/rest/services/AbstractRestServicesTest.java
----------------------------------------------------------------------
diff --git a/redback-integrations/redback-rest/redback-rest-services/src/test/java/org/apache/archiva/redback/rest/services/AbstractRestServicesTest.java b/redback-integrations/redback-rest/redback-rest-services/src/test/java/org/apache/archiva/redback/rest/services/AbstractRestServicesTest.java
index 451f99f..ac4c802 100644
--- a/redback-integrations/redback-rest/redback-rest-services/src/test/java/org/apache/archiva/redback/rest/services/AbstractRestServicesTest.java
+++ b/redback-integrations/redback-rest/redback-rest-services/src/test/java/org/apache/archiva/redback/rest/services/AbstractRestServicesTest.java
@@ -103,22 +103,11 @@ public abstract class AbstractRestServicesTest
server = new Server();
serverConnector = new ServerConnector( server, new HttpConnectionFactory());
server.addConnector(serverConnector);
- /*
- ApplicationParameter applicationParameter = new ApplicationParameter();
- applicationParameter.setName( "contextConfigLocation" );
- applicationParameter.setValue( getSpringConfigLocation() );
- context.addApplicationParameter( applicationParameter );
- context.addApplicationListener( ContextLoaderListener.class.getName() );
-
- Tomcat.addServlet( context, "cxf", new CXFServlet() );
- context.addServletMapping( "/" + getRestServicesPath() + "/*", "cxf" );
- */
ServletHolder servletHolder = new ServletHolder( new CXFServlet() );
ServletContextHandler context = new ServletContextHandler(ServletContextHandler.SESSIONS);
context.setSessionHandler( new SessionHandler( ) );
- context.setContextPath( "/" );
context.addServlet( servletHolder, "/" + getRestServicesPath() + "/*" );
context.setInitParameter( "contextConfigLocation", getSpringConfigLocation() );
context.addEventListener(new ContextLoaderListener());
http://git-wip-us.apache.org/repos/asf/archiva-redback-core/blob/2a027a21/redback-integrations/redback-rest/redback-rest-services/src/test/resources/log4j2-test.xml
----------------------------------------------------------------------
diff --git a/redback-integrations/redback-rest/redback-rest-services/src/test/resources/log4j2-test.xml b/redback-integrations/redback-rest/redback-rest-services/src/test/resources/log4j2-test.xml
index e058bdb..5f8bb09 100644
--- a/redback-integrations/redback-rest/redback-rest-services/src/test/resources/log4j2-test.xml
+++ b/redback-integrations/redback-rest/redback-rest-services/src/test/resources/log4j2-test.xml
@@ -31,7 +31,7 @@
<logger name="org.springframework" level="error"/>
<logger name="org.apache.archiva.redback.components.cache" level="error"/>
<logger name="org.apache.archiva.redback.rest.services.interceptors" level="debug"/>
- <logger name="org.apache.archiva.redback.rest.services" level="debug"/>
+ <logger name="org.apache.archiva.redback.rest.services" level="info"/>
<logger name="org.apache.catalina" level="off" />
<logger name="JPOX" level="ERROR"/>
<root level="info">