Skip to content

Commit

Permalink
feat : CI용 로컬 test application.yaml 파일 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
dlswns2480 authored Dec 27, 2023
1 parent 4202c8c commit 4346874
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions src/test/resources/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
spring:
datasource:
url: jdbc:tc:mysql:8:///
driver-class-name: org.testcontainers.jdbc.ContainerDatabaseDriver
jpa:
hibernate:
ddl-auto: create
properties:
hibernate:
format_sql: true
default_batch_fetch_size: 10
security:
oauth2:
client:
registration:
kakao:
client-name: kakao
client-id: e3a7bd1f8c24fe6a0c9d56789213abef
client-secret: QWu9hBgFzT1nRc3mXxNvLpK4aD7Jg0Vf
redirect-uri: "http://localhost:8080/login/oauth2/code/{registrationId}"
authorization-grant-type: authorization_code
client-authentication-method: client_secret_post
scope:
- account_email
- profile_nickname
- gender
- birthday
- phone_number
- birthyear
provider:
kakao:
authorization-uri: https://kauth.kakao.com/oauth/authorize
token-uri: https://kauth.kakao.com/oauth/token
user-info-uri: https://kapi.kakao.com/v2/user/me
user-name-attribute: id

jwt:
client-secret: S0gKf9bwPzT7eAJN3RyWvQlKcY4uGh1jIxDp5VrC8EoH2dL6sMkXaF7ZtL9W6dR1
expiry-minute: 5 #5분
expiry-minute-refresh: 30 #30분
logging.level:
org.hibernate.SQL: debug
org.hibernate.orm.jdbc.bind: trace

0 comments on commit 4346874

Please sign in to comment.