Revision 51554
Added by Katerina Iatropoulou over 6 years ago
modules/dnet-functionality-services/trunk/src/main/webapp/WEB-INF/applicationContext.xml | ||
---|---|---|
55 | 55 |
|
56 | 56 |
<context:annotation-config /> |
57 | 57 |
<context:component-scan base-package="eu.dnetlib.data.search.web.api"> |
58 |
<context:include-filter type="annotation" |
|
59 |
expression="org.springframework.web.bind.annotation.ControllerAdvice" /> |
|
58 |
<context:include-filter type="annotation" expression="org.springframework.web.bind.annotation.ControllerAdvice" /> |
|
60 | 59 |
</context:component-scan> |
61 | 60 |
|
62 | 61 |
<import resource="./cxf.xml" /> |
modules/dnet-functionality-services/branches/beta/src/main/webapp/WEB-INF/applicationContext.xml | ||
---|---|---|
55 | 55 |
</bean> |
56 | 56 |
|
57 | 57 |
<context:annotation-config /> |
58 |
<context:component-scan base-package="eu.dnetlib.data.search.web.api" /> |
|
58 |
<context:component-scan base-package="eu.dnetlib.data.search.web.api"> |
|
59 |
<context:include-filter type="annotation" expression="org.springframework.web.bind.annotation.ControllerAdvice" /> |
|
60 |
</context:component-scan> |
|
61 |
|
|
59 | 62 |
<import resource="./cxf.xml" /> |
60 | 63 |
</beans> |
modules/dnet-functionality-services/branches/beta/src/main/webapp/WEB-INF/log4j.properties | ||
---|---|---|
19 | 19 |
log4j.appender.S.MaxBackupIndex=10 |
20 | 20 |
log4j.appender.S.layout=org.apache.log4j.PatternLayout |
21 | 21 |
log4j.appender.S.layout.ConversionPattern= %d %p %t [%c] - %m%n |
22 |
|
|
23 |
|
|
24 |
|
modules/dnet-functionality-services/branches/beta/src/main/webapp/WEB-INF/web.xml | ||
---|---|---|
103 | 103 |
</filter-mapping> |
104 | 104 |
|
105 | 105 |
|
106 |
<filter> |
|
107 |
<filter-name>headerFilter</filter-name> |
|
108 |
<filter-class>eu.dnetlib.data.search.HeaderFilter</filter-class> |
|
109 |
</filter> |
|
110 |
|
|
111 |
<filter-mapping> |
|
112 |
<filter-name>headerFilter</filter-name> |
|
113 |
<url-pattern>/*</url-pattern> |
|
114 |
</filter-mapping> |
|
115 |
|
|
106 | 116 |
</web-app> |
Also available in: Unified diff
added header filter to better manage the requested format, related to #3472