Created
May 10, 2012 02:04
-
-
Save amir20/2650483 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/report-libs-di/src/main/resources/config/di-dataImport-spring.xml b/report-libs-di/src/main/resources/config/di-dataImport-spring.xml | |
index baf3624..d659694 100644 | |
--- a/report-libs-di/src/main/resources/config/di-dataImport-spring.xml | |
+++ b/report-libs-di/src/main/resources/config/di-dataImport-spring.xml | |
@@ -10,7 +10,11 @@ | |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd" | |
default-autowire="byName"> | |
- <import resource="classpath:config/berthaClientContext.xml"/> | |
+ <bean id="berthaClient" class="org.jboss.resteasy.client.spring.RestClientProxyFactoryBean" | |
+ lazy-init="true"> | |
+ <property name="serviceInterface" value="opower.batch.api.execution.BerthaJobExecutionEndpoint"/> | |
+ <property name="baseUri" value="${bertha.client.url}"/> | |
+ </bean> | |
<!-- General data import settings --> | |
<bean abstract="true" id="DataImporter" class="poseur.di.io.TransactionalDataImporter"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment