우아한테크코스/레벨4, 레벨5

[팀 프로젝트] private configuration 설정파일 정보 문서화

nauni 2021. 9. 27. 23:06

application-auth.properties

security.jwt.token.secret-key={SECRET_KEY}
security.jwt.token.expire-length={EXPIRE_LENGTH}

application-db.properties

spring.datasource.url=jdbc:{DB}://{IP}:{PORT}/{DATABASE}?characterEncoding=UTF-8&serverTimezone=UTC
spring.datasource.driverClassName=org.mariadb.jdbc.Driver
spring.datasource.username={USER_NAME}
spring.datasource.password={PASSWORD}

application-elk.properties

elasticsearch.host={ELASTIC_IP}:{PORT}
elasticsearch.username={ELASTIC_USER_NAME}
elasticsearch.password={ELASTIC_PASSWORD}

application-encryption.properties

encryption.hash.algorithm={HASH_ALGORITHM}
encryption.key.stretching={KEY_STRETCHING}

application-mail.properties

spring.mail.host=smtp.gmail.com
spring.mail.port=587
spring.mail.username={USERNAME}
spring.mail.password={PASSWORD}
spring.mail.from={MAIL_SENDER}
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true

sonarqube.properties

url={SONARQUBE_URL}
projectKey={PROJECT_KEY}
login={SONARQUBE_LOGIN_TOKEN}
sources=src
language=java
projectVersion=1.1.0-SNAPSHOT
sourceEncoding=UTF-8
coverage.jacoco.xmlReportPaths=build/reports/jacoco/test/jacocoTestReport.xml
java.binaries=build/classes
test.inclusions=**/*Test.java
exclusions=**/test/**, **/Q*.java, **/*Doc*.java, **/resources/**