Revision 60788
Added by Antonis Lempesis about 3 years ago
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", |
Also available in: Unified diff
code cleanup