]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - integration-tests/org.argeo.slc.it.webapp/src/test/resources/org/argeo/slc/it/webapp/applicationContext.xml
Change port for integration tests
[gpl/argeo-slc.git] / integration-tests / org.argeo.slc.it.webapp / src / test / resources / org / argeo / slc / it / webapp / applicationContext.xml
index 8c1dcb7f66279906b496d542c56987aa497c619c..0e01c02c635139592ad83c45dac7d6771fbf41d4 100644 (file)
@@ -1,17 +1,34 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+
 <beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xmlns:aop="http://www.springframework.org/schema/aop"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
        xmlns:tx="http://www.springframework.org/schema/tx"
        xsi:schemaLocation="
         http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"
        default-lazy-init="true">
 
-       <import resource="classpath:org/argeo/slc/castor/spring.xml" />
+       <import resource="classpath:org/argeo/slc/server/client/spring.xml" />
 
        <!-- Http client -->
-       <bean id="slcDefault.serverHttpClient"
-               class="org.argeo.slc.server.client.SlcServerHttpClient" lazy-init="true">
-               <property name="unmarshaller" ref="slcDefault.castor.marshaller" />
+       <bean id="serverHttpClient" parent="slcTemplate.serverHttpClient">
+               <property name="baseUrl" value="http://localhost:7080/org.argeo.slc.webapp/" />
        </bean>
+
 </beans>
\ No newline at end of file