You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2012/07/03 11:56:52 UTC
svn commit: r1356650 - in /incubator/syncope/trunk:
console/src/main/resources/applicationContext.xml
core/src/test/java/org/apache/syncope/core/rest/ReportTestITCase.java
core/src/test/resources/restClientContext.xml
Author: ilgrosso
Date: Tue Jul 3 09:56:51 2012
New Revision: 1356650
URL: http://svn.apache.org/viewvc?rev=1356650&view=rev
Log:
ThreadSafeClientConnManager deprecated, moving to PoolingClientConnectionManager
Modified:
incubator/syncope/trunk/console/src/main/resources/applicationContext.xml
incubator/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/ReportTestITCase.java
incubator/syncope/trunk/core/src/test/resources/restClientContext.xml
Modified: incubator/syncope/trunk/console/src/main/resources/applicationContext.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/console/src/main/resources/applicationContext.xml?rev=1356650&r1=1356649&r2=1356650&view=diff
==============================================================================
--- incubator/syncope/trunk/console/src/main/resources/applicationContext.xml (original)
+++ incubator/syncope/trunk/console/src/main/resources/applicationContext.xml Tue Jul 3 09:56:51 2012
@@ -68,7 +68,7 @@ under the License.
<property name="objectMapper" ref="jacksonObjectMapper"/>
</bean>
- <bean id="httpClientConnManager" class="org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager"/>
+ <bean id="httpClientConnManager" class="org.apache.http.impl.conn.PoolingClientConnectionManager"/>
<bean id="httpClientParams" class="org.apache.syncope.client.http.HttpClientParams">
<property name="parameters">
Modified: incubator/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/ReportTestITCase.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/ReportTestITCase.java?rev=1356650&r1=1356649&r2=1356650&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/ReportTestITCase.java (original)
+++ incubator/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/ReportTestITCase.java Tue Jul 3 09:56:51 2012
@@ -34,7 +34,7 @@ import org.apache.http.client.methods.Ht
import org.apache.http.client.protocol.ClientContext;
import org.apache.http.impl.auth.BasicScheme;
import org.apache.http.impl.client.BasicAuthCache;
-import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager;
+import org.apache.http.impl.conn.PoolingClientConnectionManager;
import org.apache.http.protocol.BasicHttpContext;
import org.apache.http.util.EntityUtils;
import org.junit.Test;
@@ -215,7 +215,7 @@ public class ReportTestITCase extends Ab
maxit = 10;
// issueSYNCOPE89
- ((ThreadSafeClientConnManager) client.getConnectionManager()).setDefaultMaxPerRoute(10);
+ ((PoolingClientConnectionManager) client.getConnectionManager()).setDefaultMaxPerRoute(10);
HttpGet getMethod = new HttpGet(BASE_URL + "report/execution/export/" + postExecIds.iterator().next());
Modified: incubator/syncope/trunk/core/src/test/resources/restClientContext.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/resources/restClientContext.xml?rev=1356650&r1=1356649&r2=1356650&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/resources/restClientContext.xml (original)
+++ incubator/syncope/trunk/core/src/test/resources/restClientContext.xml Tue Jul 3 09:56:51 2012
@@ -23,7 +23,7 @@ under the License.
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
- <bean id="httpClientConnManager" class="org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager"/>
+ <bean id="httpClientConnManager" class="org.apache.http.impl.conn.PoolingClientConnectionManager"/>
<bean id="httpClientParams" class="org.apache.syncope.client.http.HttpClientParams">
<property name="parameters">