ing
This commit is contained in:
parent
ad07199a2f
commit
e0203c90c8
7
pom.xml
7
pom.xml
|
@ -118,6 +118,13 @@
|
||||||
<version>${spring.version}</version>
|
<version>${spring.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- https://mvnrepository.com/artifact/org.springframework/spring-aspects -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework</groupId>
|
||||||
|
<artifactId>spring-aspects</artifactId>
|
||||||
|
<version>${spring.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
<!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
|
<!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -27,6 +27,7 @@ import com.loafle.overflow.service.central.probe.ProbeService;
|
||||||
|
|
||||||
import org.codehaus.jackson.map.ObjectMapper;
|
import org.codehaus.jackson.map.ObjectMapper;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.beans.factory.annotation.Qualifier;
|
||||||
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
|
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@ -62,6 +63,7 @@ public class CentralNoAuthProbeService implements NoAuthProbeService {
|
||||||
private ObjectMapper objectMapper;
|
private ObjectMapper objectMapper;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@Qualifier("InfraService")
|
||||||
private CentralInfraService infraService;
|
private CentralInfraService infraService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|
|
@ -11,6 +11,7 @@ import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
|
||||||
@Configuration
|
@Configuration
|
||||||
@ComponentScan(basePackages = {
|
@ComponentScan(basePackages = {
|
||||||
"com.loafle.overflow" }, excludeFilters = @ComponentScan.Filter({ Configuration.class }))
|
"com.loafle.overflow" }, excludeFilters = @ComponentScan.Filter({ Configuration.class }))
|
||||||
|
@EnableAspectJAutoProxy(proxyTargetClass = true)
|
||||||
@Import({ JdbcConfiguration.class, MailConfiguration.class, RedisConfiguration.class, CacheConfiguration.class })
|
@Import({ JdbcConfiguration.class, MailConfiguration.class, RedisConfiguration.class, CacheConfiguration.class })
|
||||||
@PropertySource({ "classpath:database.properties", "classpath:mail.properties", "classpath:redis.properties",
|
@PropertySource({ "classpath:database.properties", "classpath:mail.properties", "classpath:redis.properties",
|
||||||
"classpath:cache.properties" })
|
"classpath:cache.properties" })
|
||||||
|
|
Loading…
Reference in New Issue
Block a user