fix: DB 접속 정보 수정

This commit is contained in:
yoosangwook 2024-08-14 09:17:23 +09:00
parent c593c2e691
commit 6faaf234cd
3 changed files with 11 additions and 12 deletions

View File

@ -4,7 +4,6 @@ import com.interplug.qcast.biz.login.dto.LoginUser;
import com.interplug.qcast.biz.login.dto.UserResponse;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@Slf4j

View File

@ -14,17 +14,17 @@ spring:
datasource:
master:
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
jdbc-url: jdbc:log4jdbc:sqlserver://mssql.devgrr.kr:1433;databaseName=qcast;encrypt=true;trustServerCertificate=true
username: qcast
password: ENC(MIICho4m0EXUeb/QCdYfDr7qNn0B3K0y)
jdbc-url: jdbc:log4jdbc:sqlserver://1.248.227.176:1433;databaseName=NEWPVCAD;encrypt=true;trustServerCertificate=true
username: pvDBuser
password: ENC(W7owprYnvf7vqwO6Piw4dHfVBCSxE4Ck)
maximum-pool-size: 4
pool-name: Master-HikariPool
# connection-test-query: SELECT 1
read:
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
jdbc-url: jdbc:log4jdbc:sqlserver://mssql.devgrr.kr:1433;databaseName=qcast;encrypt=true;trustServerCertificate=true
username: qcast
password: ENC(MIICho4m0EXUeb/QCdYfDr7qNn0B3K0y)
jdbc-url: jdbc:log4jdbc:sqlserver://1.248.227.176:1433;databaseName=NEWPVCAD;encrypt=true;trustServerCertificate=true
username: pvDBuser
password: ENC(W7owprYnvf7vqwO6Piw4dHfVBCSxE4Ck)
maximum-pool-size: 4
pool-name: Read-HikariPool
# connection-test-query: SELECT 2

View File

@ -10,6 +10,6 @@ class JasyptConfigTest {
@Test
void test() {
// log.info(JasyptConfig.encrypt("qcast1234!"));
log.info(JasyptConfig.encrypt("Qwertqaz12345"));
log.info(JasyptConfig.encrypt("7Sf6@BDl@PSW"));
}
}