瀏覽代碼

20231201-jasypt-bis-dbserver-change

shjung 1 年之前
父節點
當前提交
07ccd6a455
共有 2 個文件被更改,包括 10 次插入7 次删除
  1. 6 6
      src/main/resources/application-prod.yml
  2. 4 1
      src/test/java/com/its/op/ItsOpServerApplicationTests.java

+ 6 - 6
src/main/resources/application-prod.yml

@@ -44,12 +44,12 @@ spring:
   bis-datasource:
     hikari:
       driver-class-name: com.tmax.tibero.jdbc.TbDriver
-#      jdbc-url: jdbc:tibero:thin:@(DESCRIPTION=(FAILOVER=ON)(LOAD_BALANCE=ON)(ADDRESS_LIST=(ADDRESS=(HOST=172.16.11.162)(PORT=8800))(ADDRESS=(HOST=172.16.11.152)(PORT=8629)))(DATABASE_NAME=yiitsdb))
-#      username: ENC(07xt40GoahE=)
-#      password: ENC(07xt40GoahE=)
-      jdbc-url: jdbc:tibero:thin:@172.16.11.141:8629:yiitsdb
-      username: ENC(oVrnJ5WUb4Q=)
-      password: ENC(oVrnJ5WUb4Q=)
+      jdbc-url: jdbc:tibero:thin:@(DESCRIPTION=(FAILOVER=ON)(LOAD_BALANCE=ON)(ADDRESS_LIST=(ADDRESS=(HOST=172.16.11.162)(PORT=8800))(ADDRESS=(HOST=172.16.11.152)(PORT=8629)))(DATABASE_NAME=yiitsdb))
+      username: ENC(07xt40GoahE=)
+      password: ENC(07xt40GoahE=)
+#      jdbc-url: jdbc:tibero:thin:@172.16.11.141:8629:yiitsdb
+#      username: ENC(oVrnJ5WUb4Q=)
+#      password: ENC(oVrnJ5WUb4Q=)
       connection-test-query: SELECT 1 FROM DUAL
       minimumIdle: 3
       maximumIdle: 10

+ 4 - 1
src/test/java/com/its/op/ItsOpServerApplicationTests.java

@@ -64,9 +64,12 @@ public class ItsOpServerApplicationTests {
         log.info("     ROTA: {}", encryptor.encrypt("ROTA"));
         log.info("     rota: {}", encryptor.encrypt("rota"));
         log.info("    rutis: {}", encryptor.encrypt("rutis"));
-        log.info("    yiits: {}", encryptor.encrypt("yiits"));
+        log.info("    yiits: {}", encryptor.encrypt("yiits"));          // bis/its 동일한 id/pwd
         log.info("yonginits: {}", encryptor.encrypt("yonginits"));
         log.info("yiits2094: {}", encryptor.encrypt("yiits2094"));
+        /**
+         * 20231201: BIS DB 서버 이관에 따른 디비정보 변경 to yml
+         */
         log.info("    yibis: {}", encryptor.encrypt("yibis"));
     }