File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed
apis/src/main/kotlin/org/yapp/apis
batch/src/main/kotlin/org/yapp/batch Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import org.springframework.boot.runApplication
66import org.springframework.context.annotation.ComponentScan
77
88@SpringBootApplication(
9- exclude = [JpaRepositoriesAutoConfiguration ::class ] // infra 모듈에서 @EnableJpaRepositories로 명시적으로 설정하여 관리
9+ exclude = [JpaRepositoriesAutoConfiguration ::class ] // infra 모듈에서 @EnableJpaRepositories로 명시적으로 설정하여 수동 관리
1010)
1111@ComponentScan(basePackages = [" org.yapp" ])
1212class ApisApplication
Original file line number Diff line number Diff line change @@ -6,13 +6,9 @@ import org.springframework.boot.runApplication
66import org.springframework.context.annotation.ComponentScan
77
88@SpringBootApplication(
9- scanBasePackages = [
10- " org.yapp.batch" ,
11- " org.yapp.infra" ,
12- " org.yapp.domain" ,
13- " org.yapp.globalutils"
14- ]
9+ exclude = [JpaRepositoriesAutoConfiguration ::class ] // infra 모듈에서 @EnableJpaRepositories로 명시적으로 설정하여 수동 관리
1510)
11+ @ComponentScan(basePackages = [" org.yapp" ])
1612class BatchApplication
1713
1814fun main (args : Array <String >) {
Original file line number Diff line number Diff line change @@ -6,11 +6,12 @@ import com.google.firebase.FirebaseOptions
66import org.springframework.beans.factory.annotation.Value
77import org.springframework.context.annotation.Bean
88import org.springframework.context.annotation.Configuration
9+ import org.springframework.context.annotation.Profile
910import java.io.ByteArrayInputStream
1011import java.io.IOException
11- import java.util.Base64
1212
1313@Configuration
14+ @Profile(" !test" ) // 임시 조치
1415class FcmConfig {
1516
1617 @Value(" \$ {FIREBASE_TYPE:service_account}" )
You can’t perform that action at this time.
0 commit comments