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