Skip to content

Commit

Permalink
[pinpoint-apm#592] add bean for test
Browse files Browse the repository at this point in the history
  • Loading branch information
minwoo-jung committed Jun 11, 2015
1 parent bcfa803 commit c54a47f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions web/src/test/resources/applicationContext-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,30 @@
</bean>

<bean id="jobLauncherTestUtils" class="org.springframework.batch.test.JobLauncherTestUtils"/>

<bean id="spanServiceImpl" class="com.navercorp.pinpoint.web.service.SpanServiceImpl">
<property name="sqlMetaDataDao" ref="hbaseSqlMetaDataCompatibility"/>
</bean>

<bean id="hbaseSqlMetaDataCompatibility" class="com.navercorp.pinpoint.web.dao.hbase.HbaseSqlMetaDataCompatibility">
<property name="hbaseSqlMetaDataDao" ref="hbaseSqlMetaDataDao"/>
<property name="hbaseSqlMetaDataPastVersionDao" ref="hbaseSqlMetaDataPastVersionDao"/>
</bean>

<bean id="hbaseSqlMetaDataDao" class="com.navercorp.pinpoint.web.dao.hbase.HbaseSqlMetaDataDao">
<property name="rowKeyDistributorByHashPrefix" ref="metadataRowKeyDistributor2"></property>
<property name="sqlMetaDataMapper" ref="sqlMetaDataMapper2"></property>
</bean>
<bean id="hbaseSqlMetaDataPastVersionDao" class="com.navercorp.pinpoint.web.dao.hbase.HbaseSqlMetaDataPastVersionDao">
<property name="rowKeyDistributorByHashPrefix" ref="metadataRowKeyDistributor"></property>
<property name="sqlMetaDataMapper" ref="sqlMetaDataMapper"></property>
</bean>

<bean id="sqlMetaDataMapper" class="com.navercorp.pinpoint.web.mapper.SqlMetaDataMapper">
<property name="rowKeyDistributorByHashPrefix" ref="metadataRowKeyDistributor"></property>
</bean>

<bean id="sqlMetaDataMapper2" class="com.navercorp.pinpoint.web.mapper.SqlMetaDataMapper">
<property name="rowKeyDistributorByHashPrefix" ref="metadataRowKeyDistributor2"></property>
</bean>
</beans>

0 comments on commit c54a47f

Please # to comment.