1 |
41150
|
sandro.lab
|
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
|
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3 |
|
|
xmlns:p="http://www.springframework.org/schema/p" xmlns="http://www.springframework.org/schema/beans"
|
4 |
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
<!-- NODE SECTION -->
|
8 |
|
|
<bean id="wfNodeFeedEnrichedRecords"
|
9 |
|
|
class="eu.dnetlib.msro.puma.nodes.FeedEnrichedRecordsJobNode"
|
10 |
|
|
scope="prototype"/>
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
<bean id="wfNodeMDStoreDatasourceResolver"
|
14 |
|
|
class="eu.dnetlib.msro.puma.nodes.MDStoreDatasourceResolverJobNode"
|
15 |
|
|
scope="prototype"/>
|
16 |
|
|
|
17 |
41153
|
sandro.lab
|
<bean id="wfNodeFindIndex"
|
18 |
|
|
class="eu.dnetlib.msro.workflows.nodes.index.FindIndexJobNode"
|
19 |
|
|
scope="prototype"/>
|
20 |
41150
|
sandro.lab
|
|
21 |
41153
|
sandro.lab
|
|
22 |
41150
|
sandro.lab
|
<bean id="wfNodeFetchRecordsToIndex"
|
23 |
|
|
class="eu.dnetlib.msro.puma.nodes.FetchRecordsToIndexJobNode"
|
24 |
|
|
scope="prototype"/>
|
25 |
|
|
|
26 |
|
|
<bean id="wfNodeUpdatePUMAIndex"
|
27 |
|
|
class="eu.dnetlib.msro.puma.nodes.UpdatePUMAIndexJobNode"
|
28 |
|
|
p:layoutToRecordStylesheet="classpath:/eu/dnetlib/msro/workflows/xslt/layoutToRecordStylesheet.xsl"
|
29 |
|
|
p:xsltRSFactory-ref="xsltResultSetFactory"
|
30 |
|
|
p:processCountingResultSetFactory-ref="msroProcessCountingResultSetFactory"
|
31 |
|
|
p:defaultIndexId="${service.msro.index.defaultIndex}" scope="prototype"/>
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
<bean id="pumaMongoServer" class="com.mongodb.Mongo">
|
35 |
|
|
<constructor-arg index="0" type="com.mongodb.ServerAddress">
|
36 |
|
|
<bean class="com.mongodb.ServerAddress">
|
37 |
|
|
<constructor-arg index="0"
|
38 |
|
|
value="${services.pumastore.mongodb.host}"/>
|
39 |
|
|
<constructor-arg index="1"
|
40 |
|
|
value="${services.pumastore.mongodb.port}"/>
|
41 |
|
|
</bean>
|
42 |
|
|
</constructor-arg>
|
43 |
|
|
</bean>
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
<bean id="pumaMongoDB" factory-bean="pumaMongoServer"
|
47 |
|
|
factory-method="getDB">
|
48 |
|
|
<constructor-arg index="0"
|
49 |
|
|
value="${services.pumastore.mongodb.db}"/>
|
50 |
|
|
</bean>
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
<bean id="PUMAObjectStore" class="eu.dnetlib.msro.puma.objectstore.PUMAObjectStore" p:db-ref="pumaMongoDB"/>
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
</beans>
|