Skip to content

Instantly share code, notes, and snippets.

@amir20
Created May 10, 2012 02:04
Show Gist options
  • Save amir20/2650483 to your computer and use it in GitHub Desktop.
Save amir20/2650483 to your computer and use it in GitHub Desktop.
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