feat : 프로퍼티스 정보 local,prod 분리

master
Kurt92 6 months ago
parent 610f1d9fb5
commit 6bfed15b7e

@ -39,11 +39,9 @@ public class SinmungoInOutScheduler {
@Transactional
public void sinmungoInOutScheduler() throws IOException {
//setinfo 테이블에서 esb에이전트 정보 조회
System.out.println(env.getProperty("esb.info.xmlDir.codeName"));
Optional<CpSetinfo> esbXmlDir = cpSetinfoRepository.findById(
CpSetinfoId.builder()
.codeName(env.getProperty("esb.info.xmlDir.code"))
.codeName(env.getProperty("esb.info.xmlDir.codeName"))
.groupCode(env.getProperty("esb.info.xmlDir.groupCode"))
.detailCode(env.getProperty("esb.info.xmlDir.detailCode"))
.build()

@ -4,10 +4,10 @@ server:
spring:
datasource:
url: jdbc:mysql://localhost:3306/auth?allowPublicKeyRetrieval=true&useSSL=false&useUnicode=true&serverTimezone=Asia/Seoul
username: ${DB_USER_NAME}
password: ${DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mariadb://211.119.124.122:53306/cleanparking2?useUnicode=true&characterEncoding=utf8
username: root
password: xit5811807
driver-class-name: org.mariadb.jdbc.Driver
jpa:
show-sql: false

Loading…
Cancel
Save