Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 23 additions & 9 deletions src/main/resources/application-load-test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
spring:
datasource:
url: jdbc:postgresql://postgres:5432/opic_practice_loadtest
username: postgres
password: postgres
driver-class-name: org.postgresql.Driver
url: ${DB_URL:jdbc:postgresql://postgres:5432/opic_practice_loadtest}
username: ${DB_USERNAME:postgres}
password: ${DB_PASSWORD:postgres}
driver-class-name: ${DB_DRIVER:org.postgresql.Driver}
hikari:
maximum-pool-size: 10
minimum-idle: 2
Expand All @@ -18,17 +18,31 @@ logging:
level:
root: WARN
me.thinkcat.opic: INFO
file:
path: ${LOG_PATH:/tmp/logs/was}
name: ${LOG_NAME:application}

jwt:
secret: load-test-secret-key-this-must-be-at-least-256-bits-long-for-hmac-sha
access-expiration: 3600000 # 1시간 (테스트 중 만료 방지)
refresh-expiration: 86400000
secret: ${JWT_SECRET:load-test-secret-key-this-must-be-at-least-256-bits-long-for-hmac-sha}
access-expiration: ${JWT_ACCESS_EXPIRATION:3600000}
refresh-expiration: ${JWT_REFRESH_EXPIRATION:86400000}

internal:
api-key: load-test-key
api-key: ${INTERNAL_API_KEY:load-test-key}

aws:
s3:
bucket: opic-practice-test
lambda:
session-feedback-function-name: opic-transcription-test
drill-answer-feedback-function-name: drill-transcription-test

management:
endpoints:
web:
exposure:
include: "health,metrics"
include: "health,prometheus"
metrics:
tags:
application: opic-practice
env: load-test