generated from pricelees/issue-pr-template
feat: profile별 application 설정 분리 및 새로 추가된 query-logger 설정 추가
This commit is contained in:
parent
1ddd8f906b
commit
52c2e09276
40
src/main/resources/application-local.yaml
Normal file
40
src/main/resources/application-local.yaml
Normal file
@ -0,0 +1,40 @@
|
||||
spring:
|
||||
jpa:
|
||||
show-sql: false
|
||||
properties:
|
||||
hibernate:
|
||||
format_sql: true
|
||||
ddl-auto: create-drop
|
||||
defer-datasource-initialization: true
|
||||
|
||||
h2:
|
||||
console:
|
||||
enabled: true
|
||||
path: /h2-console
|
||||
datasource:
|
||||
driver-class-name: org.h2.Driver
|
||||
url: jdbc:h2:mem:database
|
||||
username: sa
|
||||
password:
|
||||
|
||||
security:
|
||||
jwt:
|
||||
token:
|
||||
secret-key: daijawligagaf@LIJ$@U)9nagnalkkgalijaddljfi
|
||||
ttl-seconds: 1800000
|
||||
|
||||
payment:
|
||||
confirm-secret-key: test_gsk_docs_OaPz8L5KdmQXkzRz3y47BMw6
|
||||
read-timeout: 3
|
||||
connect-timeout: 30
|
||||
|
||||
jdbc:
|
||||
datasource-proxy:
|
||||
enabled: true
|
||||
include-parameter-values: false
|
||||
query:
|
||||
enable-logging: true
|
||||
log-level: DEBUG
|
||||
logger-name: query-logger
|
||||
multiline: true
|
||||
includes: connection,query,keys,fetch
|
||||
@ -1,33 +1,9 @@
|
||||
spring:
|
||||
jpa:
|
||||
show-sql: false
|
||||
properties:
|
||||
hibernate:
|
||||
format_sql: true
|
||||
ddl-auto: create-drop
|
||||
defer-datasource-initialization: true
|
||||
|
||||
h2:
|
||||
console:
|
||||
enabled: true
|
||||
path: /h2-console
|
||||
datasource:
|
||||
driver-class-name: org.h2.Driver
|
||||
url: jdbc:h2:mem:database
|
||||
username: sa
|
||||
password:
|
||||
|
||||
security:
|
||||
jwt:
|
||||
token:
|
||||
secret-key: daijawligagaf@LIJ$@U)9nagnalkkgalijaddljfi
|
||||
ttl-seconds: 1800000
|
||||
profiles:
|
||||
active: ${ACTIVE_PROFILE:local}
|
||||
|
||||
payment:
|
||||
api-base-url: https://api.tosspayments.com
|
||||
confirm-secret-key: test_gsk_docs_OaPz8L5KdmQXkzRz3y47BMw6
|
||||
read-timeout: 3
|
||||
connect-timeout: 30
|
||||
|
||||
springdoc:
|
||||
swagger-ui:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user