Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2

    
3
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
       xmlns:p="http://www.springframework.org/schema/p" xmlns="http://www.springframework.org/schema/beans"
5
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
6

    
7

    
8
	<bean id="backLinksPlugin" class="eu.dnetlib.efg.backlinks.BackLinksPlugin" />
9

    
10
	<bean id="backlinkBuilder"
11
	      class="eu.dnetlib.efg.backlinks.MongoBuildBacklinks"
12
	      p:fixLinksXslt="classpath:/eu/dnetlib/efg/backlinks/fixLinksEfg.xslt"
13
	      p:backlinkTemplate-ref="backlinkTemplate"
14
	      p:MAX_NUMBER_OF_RELS="${services.mdstore.backlinks.maxrels}">
15
		<property name="backlinkTypeMatcher">
16
			<bean class="eu.dnetlib.efg.backlinks.PropertyBacklinkTypeMatcherImpl">
17
				<constructor-arg index="0" value="${services.mdstore.backlinks.typerules}"/>
18
			</bean>
19
		</property>
20
		<property name="relationTypes">
21
			<list>
22
				<value>relAvCreation</value>
23
				<value>relCorporate</value>
24
				<value>relNonAVCreation</value>
25
				<value>relPerson</value>
26
				<value>relCollection</value>
27
				<value>relEvent</value>
28
			</list>
29
		</property>
30
		<property name="entityTypes">
31
			<set>
32
				<value>person</value>
33
				<value>avcreation</value>
34
				<value>nonavcreation</value>
35
				<value>corporate</value>
36
				<value>group</value>
37
				<value>collection</value>
38
				<value>decisionEvent</value>
39
				<value>publicationEvent</value>
40
				<value>productionEvent</value>
41
				<value>award</value>
42
				<value>iprEvent</value>
43
			</set>
44
		</property>
45
		<property name="titleTypes">
46
			<!-- REMEMBER TO INSERT VALUES IN LOWER CASE -->
47
			<list>
48
				<value>series title</value>
49
				<value>episode title</value>
50
				<value>main title</value>
51
				<value>original title</value>
52
			</list>
53
		</property>
54
	</bean>
55

    
56
	<bean id="backlinkTemplate"
57
	      class="eu.dnetlib.springutils.stringtemplate.StringTemplateFactory"
58
	      p:template="classpath:/eu/dnetlib/efg/backlinks/backlink.st"
59
	      scope="prototype"/>
60

    
61
</beans>
(1-1/3)