Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
	xmlns="http://www.springframework.org/schema/beans"
4
	xmlns:p="http://www.springframework.org/schema/p"
5
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
6

    
7
	<!-- Wf Nodes -->
8
	<bean id="wfNodePimpaUpdate"
9
		class="eu.dnetlib.msro.workflows.nodes.PimpaUpdateJobNode"
10
		scope="prototype" />
11

    
12
	<!-- MDStore plugins -->
13
	<bean id="enrichOpenaireMDstorePlugin" class="eu.dnetlib.data.mdstore.plugins.EnrichOpenairePlugin" />
14

    
15
	<bean id="enrichProjectsMDstorePlugin" class="eu.dnetlib.data.mdstore.plugins.EnrichProjectsPlugin" />
16

    
17
	<bean id="enrichLabsMDstorePlugin" class="eu.dnetlib.data.mdstore.plugins.EnrichLabsPlugin" />
18

    
19
	<bean id="enrichDatasetsMDstorePlugin" class="eu.dnetlib.data.mdstore.plugins.EnrichDatasetsPlugin" />
20

    
21
	<bean id="freezeMDStorePlugin" class="eu.dnetlib.data.mdstore.plugins.FreezeMDStorePlugin" />
22

    
23
	<!-- Affiliations DAO -->
24
	<bean id="affiliationsDao" class="eu.dnetlib.data.db.AffiliationsDao">
25
		<property name="jdbcTemplate">
26
			<bean  id="affiliationsjdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
27
				<property name="dataSource">
28
					<bean class="org.springframework.jdbc.datasource.DriverManagerDataSource"
29
						p:driverClassName="com.mysql.jdbc.Driver" 
30
						p:url="${db.affiliations.url}"
31
						p:username="${db.affiliations.username}"
32
						p:password="${db.affiliations.password}"/>
33
				</property>
34
			</bean>	
35
		</property>
36
	</bean>
37
	
38
	<!-- Other -->
39
	<bean id="pimpaSubFactory" class="eu.dnetlib.clients.pimpa.PimpaStubFactory"
40
		p:serviceUrl="${plugin.enrich.labs.pimpa.url}" />
41
	
42

    
43
</beans>
(2-2/3)