노원구청, 양평군청 추가에 따른 AP 보완처리
This commit is contained in:
parent
2e155725c0
commit
c990470556
@ -90,16 +90,19 @@ public class QuartzConfig
|
|||||||
|
|
||||||
private Properties quartzProperties()
|
private Properties quartzProperties()
|
||||||
{
|
{
|
||||||
|
log.info(">>>>>>>>>> quartzProperties <<<<<<<<<<");
|
||||||
|
|
||||||
String activeProfile = (CommonUtil.nvl(System.getProperty("spring.profiles.active")));
|
String activeProfile = (CommonUtil.nvl(System.getProperty("spring.profiles.active")));
|
||||||
|
|
||||||
PropertiesFactoryBean propertiesFactoryBean = new PropertiesFactoryBean();
|
PropertiesFactoryBean propertiesFactoryBean = new PropertiesFactoryBean();
|
||||||
|
|
||||||
propertiesFactoryBean.setLocation(new ClassPathResource("quartz-"+activeProfile+".properties"));
|
String strProFile = "quartz-"+activeProfile+".properties";
|
||||||
|
log.info("strProFile [{}]", strProFile);
|
||||||
|
|
||||||
|
propertiesFactoryBean.setLocation(new ClassPathResource(strProFile));
|
||||||
|
|
||||||
Properties properties = null;
|
Properties properties = null;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
propertiesFactoryBean.afterPropertiesSet();
|
propertiesFactoryBean.afterPropertiesSet();
|
||||||
@ -118,6 +121,9 @@ public class QuartzConfig
|
|||||||
{
|
{
|
||||||
log.error("quartzProperties parse error : {}", e);
|
log.error("quartzProperties parse error : {}", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.info("<<<<<<<<<< quartzProperties >>>>>>>>>>");
|
||||||
|
|
||||||
return properties;
|
return properties;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -70,6 +70,20 @@ public class urpBaseBatchApplication
|
|||||||
System.out.println("############# kintex_prod Env ##################");
|
System.out.println("############# kintex_prod Env ##################");
|
||||||
System.out.println("################################################");
|
System.out.println("################################################");
|
||||||
}
|
}
|
||||||
|
// 2026.01.28 나혁제 노원구청 추가
|
||||||
|
else if(activeProfile.equals("nowon"))
|
||||||
|
{
|
||||||
|
System.out.println("################################################");
|
||||||
|
System.out.println("############# nowon Env ########################");
|
||||||
|
System.out.println("################################################");
|
||||||
|
}
|
||||||
|
// 2026.02.26 나혁제 양평군청 추가
|
||||||
|
else if(activeProfile.equals("yp21"))
|
||||||
|
{
|
||||||
|
System.out.println("################################################");
|
||||||
|
System.out.println("############# yp21 Env #########################");
|
||||||
|
System.out.println("################################################");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
System.out.println("################################################");
|
System.out.println("################################################");
|
||||||
|
|||||||
@ -70,8 +70,7 @@
|
|||||||
accessKey: ncp_iam_BPAMKR4Le2ali6vfRCsG
|
accessKey: ncp_iam_BPAMKR4Le2ali6vfRCsG
|
||||||
secretKey: ncp_iam_BPKMKRIOXMe91u5YQoPjmk5WZ2A1FNEcoR
|
secretKey: ncp_iam_BPKMKRIOXMe91u5YQoPjmk5WZ2A1FNEcoR
|
||||||
friendId: 유알피-uritsm
|
friendId: 유알피-uritsm
|
||||||
api_search_server: http://192.168.8.138:48381 # 개발
|
api_search_server: http://192.168.8.138:48381 # 검색시스템 연동
|
||||||
# api_search_server: http://192.168.8.138:49381 # 운영
|
|
||||||
# kicc 메일서버
|
# kicc 메일서버
|
||||||
api_kic_mail_server : http://localhost:9002
|
api_kic_mail_server : http://localhost:9002
|
||||||
# kicc 메신저 서버
|
# kicc 메신저 서버
|
||||||
|
|||||||
80
src/main/resources/application-nowon.yml
Normal file
80
src/main/resources/application-nowon.yml
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
# Service port
|
||||||
|
# server:
|
||||||
|
# port: 11030
|
||||||
|
|
||||||
|
# JPA 설정, JSP 설정
|
||||||
|
spring:
|
||||||
|
devtools:
|
||||||
|
livereload:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
# Primary db information
|
||||||
|
primarydb:
|
||||||
|
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
||||||
|
jdbcUrl: jdbc:log4jdbc:mariadb://98.11.2.93:3306/ur_itms_db?characterEncoding=UTF-8&serverTimezone=Asia/Seoul&rewriteBatchedStatements=true
|
||||||
|
username: g9IwFesTyIloXVpUnfOX0g==
|
||||||
|
password: E4SOtjDqqO79BQERc/eaTw==
|
||||||
|
maximumPoolSize: 35
|
||||||
|
minimumIdle: 2
|
||||||
|
connectionTimeout: 3000
|
||||||
|
idleTimeout: 300000
|
||||||
|
testOnBorrow: true
|
||||||
|
validationQuery: SELECT 1
|
||||||
|
|
||||||
|
# kicinsadb db information
|
||||||
|
kicinsadb:
|
||||||
|
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
||||||
|
jdbcUrl: jdbc:log4jdbc:oracle:thin:@192.168.8.132:1521:XE
|
||||||
|
username: Lp1nYnFre15DjG/Y36UNWA== ## TEST01
|
||||||
|
password: E4SOtjDqqO79BQERc/eaTw== ## 123456
|
||||||
|
maximumPoolSize: 35
|
||||||
|
minimumIdle: 2
|
||||||
|
connectionTimeout: 3000
|
||||||
|
idleTimeout: 300000
|
||||||
|
testOnBorrow: true
|
||||||
|
validationQuery: SELECT 1
|
||||||
|
|
||||||
|
# SQL Log 관련 setting
|
||||||
|
log4jdbc:
|
||||||
|
spylogdelegator:
|
||||||
|
name: net.sf.log4jdbc.log.slf4j.Slf4jSpyLogDelegator
|
||||||
|
dump:
|
||||||
|
sql:
|
||||||
|
maxlinelength: 0
|
||||||
|
|
||||||
|
logging.level.jdbc.sqltiming: false
|
||||||
|
logging.level.jdbc.audit: false
|
||||||
|
logging.level.jdbc.resultset: false
|
||||||
|
logging.level.jdbc.connection: false
|
||||||
|
|
||||||
|
# 개발중
|
||||||
|
logging.level.jdbc.sqlonly: info
|
||||||
|
logging.level.jdbc.resultsettable: info
|
||||||
|
# 운영중
|
||||||
|
# logging.level.jdbc.sqlonly: false
|
||||||
|
# logging.level.jdbc.resultsettable: false
|
||||||
|
# custom 설정
|
||||||
|
custom:
|
||||||
|
api_server : null
|
||||||
|
sendmail:
|
||||||
|
id: tW9kMpd3SiAnf3RQBOZapw==
|
||||||
|
password: Tkkj8p2PYfZ+AmpQMPLHF8ksj8vrtJouj6xczU8ShM8=
|
||||||
|
port: 587
|
||||||
|
host: smtp.gmail.com
|
||||||
|
sendEmail: hhjj0701@gmail.com
|
||||||
|
senderName: 나혁제
|
||||||
|
socketFactory-class: javax.net.ssl.SSLSocketFactory
|
||||||
|
supplier: gmail.com
|
||||||
|
sendkakaoTalk:
|
||||||
|
serviceId: ncp:kkobizmsg:kr:349487487272:uritms
|
||||||
|
accessKey: ncp_iam_BPAMKR4Le2ali6vfRCsG
|
||||||
|
secretKey: ncp_iam_BPKMKRIOXMe91u5YQoPjmk5WZ2A1FNEcoR
|
||||||
|
friendId: 유알피-uritsm
|
||||||
|
api_search_server: http://98.11.2.93:48381 # 개발
|
||||||
|
# kicc 메일서버
|
||||||
|
api_kic_mail_server : http://localhost:9002
|
||||||
|
# kicc 메신저 서버
|
||||||
|
api_kic_msg_server : http://localhost:9002
|
||||||
|
api_kic_msg_key : testKey
|
||||||
|
client :
|
||||||
|
|
||||||
80
src/main/resources/application-yp21.yml
Normal file
80
src/main/resources/application-yp21.yml
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
# Service port
|
||||||
|
# server:
|
||||||
|
# port: 11030
|
||||||
|
|
||||||
|
# JPA 설정, JSP 설정
|
||||||
|
spring:
|
||||||
|
devtools:
|
||||||
|
livereload:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
# Primary db information
|
||||||
|
primarydb:
|
||||||
|
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
||||||
|
jdbcUrl: jdbc:log4jdbc:mariadb://105.29.2.26:3306/ur_itms_db?characterEncoding=UTF-8&serverTimezone=Asia/Seoul&rewriteBatchedStatements=true
|
||||||
|
username: g9IwFesTyIloXVpUnfOX0g==
|
||||||
|
password: E4SOtjDqqO79BQERc/eaTw==
|
||||||
|
maximumPoolSize: 35
|
||||||
|
minimumIdle: 2
|
||||||
|
connectionTimeout: 3000
|
||||||
|
idleTimeout: 300000
|
||||||
|
testOnBorrow: true
|
||||||
|
validationQuery: SELECT 1
|
||||||
|
|
||||||
|
# kicinsadb db information
|
||||||
|
kicinsadb:
|
||||||
|
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
||||||
|
jdbcUrl: jdbc:log4jdbc:oracle:thin:@192.168.8.132:1521:XE
|
||||||
|
username: Lp1nYnFre15DjG/Y36UNWA== ## TEST01
|
||||||
|
password: E4SOtjDqqO79BQERc/eaTw== ## 123456
|
||||||
|
maximumPoolSize: 35
|
||||||
|
minimumIdle: 2
|
||||||
|
connectionTimeout: 3000
|
||||||
|
idleTimeout: 300000
|
||||||
|
testOnBorrow: true
|
||||||
|
validationQuery: SELECT 1
|
||||||
|
|
||||||
|
# SQL Log 관련 setting
|
||||||
|
log4jdbc:
|
||||||
|
spylogdelegator:
|
||||||
|
name: net.sf.log4jdbc.log.slf4j.Slf4jSpyLogDelegator
|
||||||
|
dump:
|
||||||
|
sql:
|
||||||
|
maxlinelength: 0
|
||||||
|
|
||||||
|
logging.level.jdbc.sqltiming: false
|
||||||
|
logging.level.jdbc.audit: false
|
||||||
|
logging.level.jdbc.resultset: false
|
||||||
|
logging.level.jdbc.connection: false
|
||||||
|
|
||||||
|
# 개발중
|
||||||
|
logging.level.jdbc.sqlonly: info
|
||||||
|
logging.level.jdbc.resultsettable: info
|
||||||
|
# 운영중
|
||||||
|
# logging.level.jdbc.sqlonly: false
|
||||||
|
# logging.level.jdbc.resultsettable: false
|
||||||
|
# custom 설정
|
||||||
|
custom:
|
||||||
|
api_server : null
|
||||||
|
sendmail:
|
||||||
|
id: tW9kMpd3SiAnf3RQBOZapw==
|
||||||
|
password: Tkkj8p2PYfZ+AmpQMPLHF8ksj8vrtJouj6xczU8ShM8=
|
||||||
|
port: 587
|
||||||
|
host: smtp.gmail.com
|
||||||
|
sendEmail: hhjj0701@gmail.com
|
||||||
|
senderName: 나혁제
|
||||||
|
socketFactory-class: javax.net.ssl.SSLSocketFactory
|
||||||
|
supplier: gmail.com
|
||||||
|
sendkakaoTalk:
|
||||||
|
serviceId: ncp:kkobizmsg:kr:349487487272:uritms
|
||||||
|
accessKey: ncp_iam_BPAMKR4Le2ali6vfRCsG
|
||||||
|
secretKey: ncp_iam_BPKMKRIOXMe91u5YQoPjmk5WZ2A1FNEcoR
|
||||||
|
friendId: 유알피-uritsm
|
||||||
|
api_search_server: http://105.29.2.26:48381 # 개발
|
||||||
|
# kicc 메일서버
|
||||||
|
api_kic_mail_server : http://localhost:9002
|
||||||
|
# kicc 메신저 서버
|
||||||
|
api_kic_msg_server : http://localhost:9002
|
||||||
|
api_kic_msg_key : testKey
|
||||||
|
client :
|
||||||
|
|
||||||
23
src/main/resources/quartz-nowon.properties
Normal file
23
src/main/resources/quartz-nowon.properties
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
org.quartz.scheduler.instanceName=pooney
|
||||||
|
org.quartz.scheduler.instanceId=AUTO
|
||||||
|
org.quartz.scheduler.rmi.export=false
|
||||||
|
org.quartz.scheduler.rmi.proxy=false
|
||||||
|
org.quartz.threadPool.class=org.quartz.simpl.SimpleThreadPool
|
||||||
|
org.quartz.threadPool.threadCount=3
|
||||||
|
org.quartz.context.key.QuartzTopic=QuartzPorperties
|
||||||
|
org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX
|
||||||
|
org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate
|
||||||
|
org.quartz.jobStore.tablePrefix=QRTZ_
|
||||||
|
org.quartz.jobStore.isClustered=true
|
||||||
|
org.quartz.jobStore.clusterCheckinInterval=300000
|
||||||
|
|
||||||
|
# \uae30\ubcf8\uac12: 15000 (15\ucd08), \ubcc0\uacbd\uac12: 120000 (2\ubd84)
|
||||||
|
|
||||||
|
org.quartz.jobStore.dataSource = primarydb
|
||||||
|
org.quartz.jobStore.dataSource = pooney
|
||||||
|
org.quartz.dataSource.pooney.provider=hikaricp
|
||||||
|
org.quartz.dataSource.pooney.driver = net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
||||||
|
org.quartz.dataSource.pooney.URL = jdbc:log4jdbc:mariadb://98.11.2.93:3306/ur_itms_db?characterEncoding=UTF-8&serverTimezone=Asia/Seoul&rewriteBatchedStatements=true
|
||||||
|
org.quartz.dataSource.pooney.user = g9IwFesTyIloXVpUnfOX0g==
|
||||||
|
org.quartz.dataSource.pooney.password = E4SOtjDqqO79BQERc/eaTw==
|
||||||
|
org.quartz.dataSource.pooney.maxConnections = 30
|
||||||
23
src/main/resources/quartz-yp21.properties
Normal file
23
src/main/resources/quartz-yp21.properties
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
org.quartz.scheduler.instanceName=pooney
|
||||||
|
org.quartz.scheduler.instanceId=AUTO
|
||||||
|
org.quartz.scheduler.rmi.export=false
|
||||||
|
org.quartz.scheduler.rmi.proxy=false
|
||||||
|
org.quartz.threadPool.class=org.quartz.simpl.SimpleThreadPool
|
||||||
|
org.quartz.threadPool.threadCount=3
|
||||||
|
org.quartz.context.key.QuartzTopic=QuartzPorperties
|
||||||
|
org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX
|
||||||
|
org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate
|
||||||
|
org.quartz.jobStore.tablePrefix=QRTZ_
|
||||||
|
org.quartz.jobStore.isClustered=true
|
||||||
|
org.quartz.jobStore.clusterCheckinInterval=300000
|
||||||
|
|
||||||
|
# \uae30\ubcf8\uac12: 15000 (15\ucd08), \ubcc0\uacbd\uac12: 120000 (2\ubd84)
|
||||||
|
|
||||||
|
org.quartz.jobStore.dataSource = primarydb
|
||||||
|
org.quartz.jobStore.dataSource = pooney
|
||||||
|
org.quartz.dataSource.pooney.provider=hikaricp
|
||||||
|
org.quartz.dataSource.pooney.driver = net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
||||||
|
org.quartz.dataSource.pooney.URL = jdbc:log4jdbc:mariadb://105.29.2.26:3306/ur_itms_db?characterEncoding=UTF-8&serverTimezone=Asia/Seoul&rewriteBatchedStatements=true
|
||||||
|
org.quartz.dataSource.pooney.user = g9IwFesTyIloXVpUnfOX0g==
|
||||||
|
org.quartz.dataSource.pooney.password = E4SOtjDqqO79BQERc/eaTw==
|
||||||
|
org.quartz.dataSource.pooney.maxConnections = 30
|
||||||
Loading…
Reference in New Issue
Block a user