Project

General

Profile

« Previous | Next » 

Revision 60788

code cleanup

View differences:

modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/config/Config.java
2 2

  
3 3
import org.apache.log4j.Logger;
4 4
import org.springframework.beans.factory.annotation.Value;
5
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
6 5
import org.springframework.context.annotation.*;
7 6
import org.springframework.data.redis.connection.jedis.JedisConnectionFactory;
8 7
import org.springframework.http.HttpHeaders;
......
16 15

  
17 16
@Configuration
18 17
@EnableRedisHttpSession
19
@EnableAspectJAutoProxy
20
@EnableCircuitBreaker
21 18
@PropertySource(value = {"classpath:application.properties"} )
22 19
@ComponentScan(basePackages = {
23 20
        "org.eurocris.openaire.cris.validator.service",
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/config/SwaggerConfig.java
1 1
package eu.dnetlib.repo.manager.config;
2 2

  
3 3
import eu.dnetlib.repo.manager.controllers.*;
4
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
5 4
import org.springframework.context.annotation.Bean;
6 5
import org.springframework.context.annotation.ComponentScan;
7 6
import org.springframework.context.annotation.Configuration;
......
24 23
@Configuration
25 24
@EnableSwagger2
26 25
@EnableWebMvc
27
@EnableCircuitBreaker
28 26
@ComponentScan(basePackageClasses = {
29 27
        RepositoryController.class,
30 28
        MonitorController.class,
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/config/RedisConfiguration.java
2 2

  
3 3
import org.apache.log4j.Logger;
4 4
import org.springframework.beans.factory.annotation.Value;
5
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
6 5
import org.springframework.context.annotation.*;
7 6
import org.springframework.data.redis.connection.jedis.JedisConnectionFactory;
8 7
import org.springframework.http.HttpHeaders;
......
16 15

  
17 16
@Configuration
18 17
@EnableRedisHttpSession
19
@EnableAspectJAutoProxy
20
@EnableCircuitBreaker
21 18
@PropertySource(value = {"classpath:application.properties"} )
22 19
@ComponentScan(basePackages = {
23 20
        "org.eurocris.openaire.cris.validator.service",

Also available in: Unified diff