테스트 통합 환경 설정 추가

This commit is contained in:
2026-05-29 15:58:33 +09:00
parent 00316ba013
commit ebfbf7b597
8 changed files with 182 additions and 25 deletions

View File

@@ -0,0 +1,2 @@
org.springframework.context.ApplicationContextInitializer=\
kr.co.vividnext.sodalive.support.EmbeddedRedisInitializer

View File

@@ -1,3 +1,6 @@
server:
env: test
logging:
level:
com:
@@ -5,23 +8,72 @@ logging:
util:
EC2MetadataUtils: error
weraser:
apiUrl: ""
apiKey: ""
payverse:
host: ""
inboundIp: ""
mid: ""
clientKey: ""
secretKey: ""
usdMid: ""
usdClientKey: ""
usdSecretKey: ""
jpyMid: ""
jpyClientKey: ""
jpySecretKey: ""
bootpay:
applicationId: ""
privateKey: ""
hectoApplicationId: ""
hectoPrivateKey: ""
apple:
iapVerifyUrl: https://buy.itunes.apple.com/verifyReceipt
iapVerifySandboxUrl: https://sandbox.itunes.apple.com/verifyReceipt
bundleId: ""
serviceId: ""
line:
channelId: ""
agora:
appId: ${AGORA_APP_ID}
appCertificate: ${AGORA_APP_CERTIFICATE}
appId: ""
appCertificate: ""
firebase:
enabled: false
secretKeyPath: ""
android-publisher:
enabled: false
google:
webClientId: ""
cloud:
naver:
papagoClientId: ""
papagoClientSecret: ""
aws:
credentials:
accessKey: ${APP_AWS_ACCESS_KEY}
secretKey: ${APP_AWS_SECRET_KEY}
accessKey: ""
secretKey: ""
s3:
bucket: ${S3_BUCKET}
contentBucket: ""
bucket: ""
contentCloudFront:
host: ""
privateKeyFilePath: ""
keyPairId: ""
cloudFront:
host: ${CLOUD_FRONT_HOST}
host: ""
sqs:
generateCouponUrl: ""
region:
static: ap-northeast-2
stack:
@@ -29,15 +81,24 @@ cloud:
jwt:
header: Authorization
token-validity-in-seconds: ${JWT_TOKEN_VALIDITY_TIME}
secret: ${JWT_SECRET}
token-validity-in-seconds: ${JWT_TOKEN_VALIDITY_TIME:360000000}
secret: ${JWT_SECRET:abcdefghijklmnopqrstuvwxyz1234567890}
spring:
redis:
host: localhost
port: 6379
port: 16379
ssl-enabled: false
datasource:
driver-class-name: org.h2.Driver
url: jdbc:h2:mem:sodalive-test;MODE=MySQL;DATABASE_TO_UPPER=false;NON_KEYWORDS=VALUE;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
username: sa
password:
jpa:
database: h2
database-platform: kr.co.vividnext.sodalive.support.H2MySqlFunctionDialect
hibernate:
ddl-auto: create-drop
properties: