File tree Expand file tree Collapse file tree 3 files changed +55
-2
lines changed Expand file tree Collapse file tree 3 files changed +55
-2
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,8 @@ project(":layer-batch") {
190
190
implementation ' org.springframework.boot:spring-boot-starter-web'
191
191
implementation ' org.springframework.boot:spring-boot-starter-data-jpa'
192
192
193
+ implementation(" org.springframework.cloud:spring-cloud-starter-openfeign:4.1.2" )
194
+
193
195
runtimeOnly ' com.mysql:mysql-connector-j'
194
196
}
195
197
Original file line number Diff line number Diff line change 2
2
3
3
import org .springframework .boot .SpringApplication ;
4
4
import org .springframework .boot .autoconfigure .SpringBootApplication ;
5
+ import org .springframework .cloud .openfeign .EnableFeignClients ;
6
+ import org .springframework .data .jpa .repository .config .EnableJpaAuditing ;
7
+ import org .springframework .scheduling .annotation .EnableAsync ;
5
8
import org .springframework .scheduling .annotation .EnableScheduling ;
6
9
7
10
@ SpringBootApplication
8
11
@ EnableScheduling
12
+ @ EnableFeignClients
13
+ @ EnableJpaAuditing
14
+ @ EnableAsync
9
15
public class BatchApplication {
10
16
public static void main (String [] args ) {
11
17
SpringApplication .run (BatchApplication .class , args );
Original file line number Diff line number Diff line change 3
3
4
4
spring :
5
5
config :
6
- import : optional:file:/config/ application-secret.properties
6
+ import : application-secret.properties
7
7
datasource :
8
8
url : ${DEV_DB_URL}
9
9
username : ${DEV_DB_NAME}
@@ -17,4 +17,49 @@ spring:
17
17
format_sql : true
18
18
show_sql : true
19
19
open-in-view : false
20
- database : mysql
20
+ database : mysql
21
+
22
+ apple :
23
+ login :
24
+ issuer : ${DEV_APPLE_ISSUER}
25
+ client_id : ${DEV_APPLE_CLIENT_ID}
26
+ audience : ${DEV_APPLE_AUD}
27
+
28
+ kakao :
29
+ login :
30
+ api_key : ${DEV_KAKAO_API_KEY}
31
+ redirect_uri : ${DEV_KAKAO_REDIRECT_URI}
32
+ uri :
33
+ base : https://kauth.kakao.com
34
+ code : /oauth/authorize
35
+ token : /oauth/token
36
+ api :
37
+ uri :
38
+ base : https://kapi.kakao.com
39
+ user : /v2/user/me
40
+
41
+ google :
42
+ login :
43
+ client_id : ${DEV_GOOGLE_CLIENT_ID}
44
+ code_uri : ${DEV_GOOGLE_CODE_URI}
45
+ token_uri : ${DEV_GOOGLE_TOKEN_URI}
46
+ client_secret : ${DEV_GOOGLE_CLIENT_SECRET}
47
+ redirect_uri : ${DEV_GOOGLE_REDIRECT_URI}
48
+ code_redirect_uri : http://localhost:8080/api/auth/oauth2/google/code
49
+ sheet :
50
+ id : ${GOOGLE_SHEET_ID}
51
+ token_path : ${DEV_GOOGLE_TOKEN_PATH}
52
+
53
+ ncp :
54
+ storage :
55
+ region : ${STORAGE_REGION}
56
+ bucketName : ${STORAGE_NAME}
57
+ endpoint : ${STORAGE_ENDPOINT}
58
+ accessKey : ${STORAGE_ACCESS_KEY}
59
+ secretKey : ${STORAGE_SECRET_KEY}
60
+
61
+ openai :
62
+ systemContent : ${OPENAI_SYSTEM_CONTENT}
63
+ apiKey : ${OPENAI_API_KEY}
64
+ model : ${OPENAI_MODEL}
65
+ maxTokens : ${OPENAI_MAX_TOKENS}
You can’t perform that action at this time.
0 commit comments