File tree Expand file tree Collapse file tree 3 files changed +72
-2
lines changed
backend/src/test/resources Expand file tree Collapse file tree 3 files changed +72
-2
lines changed Original file line number Diff line number Diff line change 2626
2727 runs-on : ${{ matrix.os }}
2828 env :
29- SPRING_PROFILES_ACTIVE : test
29+ SPRING_PROFILES_ACTIVE : test-ci
3030
3131 # ✅ Redis 서비스 추가
3232 services :
Original file line number Diff line number Diff line change 11spring :
22 application :
3- name : back- test
3+ name : test-ci
44 output :
55 ansi :
66 enabled : always
@@ -21,6 +21,7 @@ spring:
2121 format_sql : true
2222 highlight_sql : true
2323
24+ # CI/CD 환경: 실제 Redis 서비스 사용
2425 data :
2526 redis :
2627 host : ${TEST_REDIS_HOST}
Original file line number Diff line number Diff line change 1+ spring :
2+ application :
3+ name : test
4+ output :
5+ ansi :
6+ enabled : always
7+
8+ datasource :
9+ url : jdbc:h2:mem:db_test;MODE=MySQL
10+ username : sa
11+ password :
12+ driver-class-name : org.h2.Driver
13+
14+ jpa :
15+ show-sql : true
16+ hibernate :
17+ ddl-auto : create-drop
18+ properties :
19+ hibernate :
20+ use_sql_comments : true
21+ format_sql : true
22+ highlight_sql : true
23+
24+ # 로컬 환경: Embedded Redis 사용
25+ data :
26+ redis :
27+ port : 6370 # 기본 포트와 충돌 방지
28+
29+ security :
30+ oauth2 :
31+ client :
32+ registration :
33+ kakao :
34+ client-id : test-kakao-client-id
35+ client-secret : test-kakao-client-secret
36+ client-name : Kakao
37+ scope : profile_nickname, account_email
38+ naver :
39+ client-id : test-naver-client-id
40+ client-secret : test-naver-client-secret
41+ client-name : Naver
42+ scope : profile, email
43+ provider :
44+ kakao :
45+ authorization-uri : https://kauth.kakao.com/oauth/authorize
46+ token-uri : https://kauth.kakao.com/oauth/token
47+ user-info-uri : https://kapi.kakao.com/v2/user/me
48+ user-name-attribute : id
49+ naver :
50+ authorization-uri : https://nid.naver.com/oauth2.0/authorize
51+ token-uri : https://nid.naver.com/oauth2.0/token
52+ user-info-uri : https://openapi.naver.com/v1/nid/me
53+ user-name-attribute : response
54+
55+ springdoc :
56+ default-produces-media-type : application/json;charset=UTF-8
57+
58+ logging :
59+ level :
60+ root : INFO
61+ org.springframework : INFO
62+ org.hibernate : INFO
63+ com.ai.lawyer : DEBUG
64+
65+ custom :
66+ jwt :
67+ secretKey : test-secret-key-for-local-testing-only
68+ accessToken :
69+ expirationSeconds : 3600
You can’t perform that action at this time.
0 commit comments