1 |
49379
|
panagiotis
|
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
3 |
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4 |
51330
|
panagiotis
|
xmlns:tx="http://www.springframework.org/schema/tx"
|
5 |
49931
|
panagiotis
|
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
6 |
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
7 |
51586
|
panagiotis
|
|
8 |
49931
|
panagiotis
|
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
|
9 |
|
|
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
|
10 |
|
|
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd">
|
11 |
49379
|
panagiotis
|
|
12 |
|
|
<import resource="classpath*:/application-context.xml"/>
|
13 |
|
|
|
14 |
50570
|
panagiotis
|
<import resource="classpath*:/eu/dnetlib/soap/cxf/applicationContext-eprbuilders.xml"/>
|
15 |
|
|
<import resource="classpath*:/eu/dnetlib/clients/ws/springContext-locatorFactory.xml"/>
|
16 |
|
|
<import resource="classpath*:/gr/uoa/di/driver/util/springContext-locators.xml"/>
|
17 |
|
|
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-lookupFactory.xml"/>
|
18 |
|
|
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-lookupClients.xml"/>
|
19 |
|
|
<import resource="classpath*:/eu/dnetlib/enabling/hcm/springContext-hcmService.xml"/>
|
20 |
|
|
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-commons.xml"/>
|
21 |
49379
|
panagiotis
|
|
22 |
53003
|
panagiotis
|
<!--<import resource="classpath*:/gr/uoa/di/driver/app/springContext-registrator.xml"/>-->
|
23 |
49379
|
panagiotis
|
|
24 |
51586
|
panagiotis
|
|
25 |
53003
|
panagiotis
|
|
26 |
|
|
|
27 |
51525
|
panagiotis
|
<bean id="maillib" class="eu.dnetlib.utils.MailLibrary" init-method="init">
|
28 |
|
|
<property name="mailhost" value="${services.validator.mail.host}"/>
|
29 |
|
|
<property name="smtpPort" value="${services.validator.mail.port}"/>
|
30 |
|
|
<property name="authenticate" value="${services.validator.mail.authenticate}"/>
|
31 |
|
|
<property name="username" value="${services.validator.mail.username}"/>
|
32 |
|
|
<property name="password" value="${services.validator.mail.password}"/>
|
33 |
|
|
<property name="from" value="${services.validator.mail.fromAddress}"/>
|
34 |
|
|
<property name="replyTo" value="${services.validator.mail.replyToAddress}"/>
|
35 |
|
|
<property name="mode" value="${services.validator.mail.mode}"/>
|
36 |
|
|
<property name="debug" value="${services.validator.mail.debug}"/>
|
37 |
|
|
</bean>
|
38 |
|
|
|
39 |
54525
|
panagiotis
|
<bean class="eu.dnetlib.repo.manager.config.CascadingPropertyLoader"
|
40 |
51330
|
panagiotis
|
id="propertyLoader">
|
41 |
|
|
<property name="order" value="2"/>
|
42 |
49379
|
panagiotis
|
<property name="properties">
|
43 |
|
|
<bean class="eu.dnetlib.conf.WebappContextProperyFactory">
|
44 |
|
|
<property name="propertyFetcher">
|
45 |
51330
|
panagiotis
|
<bean class="eu.dnetlib.conf.PropertyFetcher"/>
|
46 |
49379
|
panagiotis
|
</property>
|
47 |
|
|
</bean>
|
48 |
|
|
</property>
|
49 |
51330
|
panagiotis
|
<property name="ignoreUnresolvablePlaceholders" value="true"/>
|
50 |
49379
|
panagiotis
|
<property name="locations">
|
51 |
|
|
<list>
|
52 |
|
|
<value>classpath*:/gr/**/springContext-*.properties</value>
|
53 |
|
|
<value>classpath*:/eu/**/springContext-*.properties</value>
|
54 |
|
|
|
55 |
52781
|
panagiotis
|
<value>classpath*:/application.properties</value>
|
56 |
|
|
<value>classpath*:/email-texts.properties</value>
|
57 |
49379
|
panagiotis
|
|
58 |
|
|
<value>classpath*:dnet-site-wizard.properties</value>
|
59 |
|
|
<value>classpath*:dnet-site-override.properties</value>
|
60 |
|
|
<value>classpath*:dnet-wizard.properties</value>
|
61 |
|
|
<value>classpath*:dnet-override.properties</value>
|
62 |
|
|
<value>classpath*:dnet-validator-wizard.properties</value>
|
63 |
|
|
<value>classpath*:dnet-validator-override.properties</value>
|
64 |
|
|
<value>classpath*:dnet-site-force-override.properties</value>
|
65 |
|
|
<value>classpath*:dnet-force-override.properties</value>
|
66 |
|
|
</list>
|
67 |
|
|
</property>
|
68 |
|
|
</bean>
|
69 |
|
|
|
70 |
49898
|
panagiotis
|
<bean id="repomanager.dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
|
71 |
|
|
<property name="driverClassName" value="${repomanager.db.driverClassName}" />
|
72 |
|
|
<property name="url" value="${repomanager.db.url}" />
|
73 |
|
|
<property name="username" value="${repomanager.db.username}" />
|
74 |
|
|
<property name="password" value="${repomanager.db.password}" />
|
75 |
|
|
<property name="maxIdle" value="10" />
|
76 |
|
|
<property name="maxActive" value="100" />
|
77 |
|
|
<property name="maxWait" value="10000" />
|
78 |
|
|
<property name="validationQuery" value="SELECT 1;" />
|
79 |
|
|
<property name="testOnBorrow" value="true" />
|
80 |
|
|
<property name="testOnReturn" value="true" />
|
81 |
|
|
<property name="testWhileIdle" value="true" />
|
82 |
|
|
<property name="timeBetweenEvictionRunsMillis" value="1200000" />
|
83 |
|
|
<property name="minEvictableIdleTimeMillis" value="1800000" />
|
84 |
|
|
<property name="numTestsPerEvictionRun" value="5" />
|
85 |
|
|
<property name="poolPreparedStatements" value="true" />
|
86 |
|
|
<property name="defaultAutoCommit" value="true" />
|
87 |
|
|
</bean>
|
88 |
|
|
|
89 |
|
|
<tx:annotation-driven transaction-manager="txManager"/>
|
90 |
|
|
|
91 |
|
|
<bean id="txManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
|
92 |
|
|
<property name="dataSource" ref="repomanager.dataSource"/>
|
93 |
|
|
</bean>
|
94 |
|
|
|
95 |
49931
|
panagiotis
|
<mvc:resources mapping="swagger-ui.html" location="classpath:/META-INF/resources/"/>
|
96 |
|
|
<mvc:resources mapping="/webjars/**" location="classpath:/META-INF/resources/webjars/"/>
|
97 |
54525
|
panagiotis
|
<bean class="eu.dnetlib.repo.manager.config.SwaggerConfig"/>
|
98 |
51525
|
panagiotis
|
|
99 |
51239
|
panagiotis
|
</beans>
|