Project

General

Profile

« Previous | Next » 

Revision 49931

1. Update pom.xml with swagger dep.
2. Change pagination numbers.
3. Add swagger config file.
4. Change piwik queries with new database collumns.

View differences:

applicationContext.xml
2 2
<beans xmlns="http://www.springframework.org/schema/beans"
3 3
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 4
       xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx"
5
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd">
5
       xmlns:mvc="http://www.springframework.org/schema/mvc"
6
       xsi:schemaLocation="http://www.springframework.org/schema/beans
7
       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
	http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
11
    http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd">
6 12

  
7 13
    <import resource="classpath*:/application-context.xml"/>
8 14

  
......
81 87
        <property name="dataSource" ref="repomanager.dataSource"/>
82 88
    </bean>
83 89

  
90
    <mvc:resources mapping="swagger-ui.html" location="classpath:/META-INF/resources/"/>
91
    <mvc:resources mapping="/webjars/**" location="classpath:/META-INF/resources/webjars/"/>
92
    <bean class="eu.dnetlib.repo.manager.service.config.SwaggerConfig"/>
93

  
84 94
</beans>

Also available in: Unified diff