This commit is contained in:
crusader 2018-06-11 21:32:25 +09:00
parent ad07199a2f
commit e0203c90c8
3 changed files with 10 additions and 0 deletions

View File

@ -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>

View File

@ -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

View File

@ -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" })