Revision 54842
Added by Panagiotis Kanakakis about 5 years ago
applicationContext.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
<beans xmlns="http://www.springframework.org/schema/beans" |
3 | 3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 |
xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx"
|
|
4 |
xmlns:tx="http://www.springframework.org/schema/tx" |
|
5 | 5 |
xmlns:mvc="http://www.springframework.org/schema/mvc" |
6 | 6 |
xsi:schemaLocation="http://www.springframework.org/schema/beans |
7 |
|
|
7 | 8 |
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd |
8 |
http://www.springframework.org/schema/context |
|
9 |
http://www.springframework.org/schema/context/spring-context-4.0.xsd |
|
10 | 9 |
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd |
11 | 10 |
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd"> |
12 | 11 |
|
13 | 12 |
<import resource="classpath*:/application-context.xml"/> |
14 | 13 |
|
15 |
<!-- <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>--> |
|
16 |
|
|
17 |
<import resource="classpath:META-INF/cxf/cxf.xml"/> |
|
18 |
|
|
19 |
<import resource="classpath:META-INF/cxf/cxf-extension-jaxws.xml"/> |
|
20 |
<import resource="classpath:META-INF/cxf/cxf-servlet.xml"/> |
|
21 |
<import resource="classpath*:/cxf.xml"/> |
|
22 |
<import resource="classpath*:/eu/dnetlib/repos/ehcacher/springContext-repos-ehcacher.xml"/> |
|
23 | 14 |
<import resource="classpath*:/eu/dnetlib/soap/cxf/applicationContext-eprbuilders.xml"/> |
24 | 15 |
<import resource="classpath*:/eu/dnetlib/clients/ws/springContext-locatorFactory.xml"/> |
25 |
<import resource="classpath*:/eu/dnetlib/users/springContext-users-ldap.xml"/> |
|
26 | 16 |
<import resource="classpath*:/gr/uoa/di/driver/util/springContext-locators.xml"/> |
27 | 17 |
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-lookupFactory.xml"/> |
28 | 18 |
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-lookupClients.xml"/> |
29 | 19 |
<import resource="classpath*:/eu/dnetlib/enabling/hcm/springContext-hcmService.xml"/> |
30 | 20 |
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-commons.xml"/> |
31 |
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-registrator.xml"/> |
|
32 | 21 |
|
33 |
<import resource="classpath*:/eu/dnetlib/repos/springContext-repos-dms-cached.xml"/> |
|
34 |
<context:property-placeholder location="classpath*:/eu/**/application.properties" /> |
|
22 |
<!--<import resource="classpath*:/gr/uoa/di/driver/app/springContext-registrator.xml"/>--> |
|
35 | 23 |
|
36 |
<bean class="eu.dnetlib.repo.manager.service.config.CascadingPropertyLoader" id="propertyLoader"> |
|
37 |
<property name="order" value="2" /> |
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
<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 |
<bean class="eu.dnetlib.repo.manager.config.CascadingPropertyLoader" |
|
40 |
id="propertyLoader"> |
|
41 |
<property name="order" value="2"/> |
|
38 | 42 |
<property name="properties"> |
39 | 43 |
<bean class="eu.dnetlib.conf.WebappContextProperyFactory"> |
40 | 44 |
<property name="propertyFetcher"> |
41 |
<bean class="eu.dnetlib.conf.PropertyFetcher" />
|
|
45 |
<bean class="eu.dnetlib.conf.PropertyFetcher"/> |
|
42 | 46 |
</property> |
43 | 47 |
</bean> |
44 | 48 |
</property> |
45 |
<property name="ignoreUnresolvablePlaceholders" value="true" />
|
|
49 |
<property name="ignoreUnresolvablePlaceholders" value="true"/> |
|
46 | 50 |
<property name="locations"> |
47 | 51 |
<list> |
48 | 52 |
<value>classpath*:/gr/**/springContext-*.properties</value> |
49 | 53 |
<value>classpath*:/eu/**/springContext-*.properties</value> |
50 | 54 |
|
51 |
<value>classpath*:/eu/dnetlib/repo/manager/service/email-texts.properties</value> |
|
55 |
<value>classpath*:/application.properties</value> |
|
56 |
<value>classpath*:/email-texts.properties</value> |
|
52 | 57 |
|
53 | 58 |
<value>classpath*:dnet-site-wizard.properties</value> |
54 | 59 |
<value>classpath*:dnet-site-override.properties</value> |
... | ... | |
89 | 94 |
|
90 | 95 |
<mvc:resources mapping="swagger-ui.html" location="classpath:/META-INF/resources/"/> |
91 | 96 |
<mvc:resources mapping="/webjars/**" location="classpath:/META-INF/resources/webjars/"/> |
92 |
<bean class="eu.dnetlib.repo.manager.service.config.SwaggerConfig"/> |
|
93 |
</beans> |
|
97 |
<bean class="eu.dnetlib.repo.manager.config.SwaggerConfig"/> |
|
98 |
|
|
99 |
</beans> |
Also available in: Unified diff
Meerge dev-api to trunk ( -r50861:54841 )