한국환경산업기술원 설치작업
This commit is contained in:
parent
7ed64a36d8
commit
f92e60d10d
@ -12,7 +12,11 @@
|
|||||||
<attribute name="gradle_used_by_scope" value="main,test"/>
|
<attribute name="gradle_used_by_scope" value="main,test"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-16/"/>
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/openJDK16">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="module" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
|
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer">
|
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer">
|
||||||
<attributes>
|
<attributes>
|
||||||
|
|||||||
@ -4,6 +4,5 @@
|
|||||||
<property name="context-root" value="urpItms_30_Batch"/>
|
<property name="context-root" value="urpItms_30_Batch"/>
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="src/main/resources"/>
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="src/main/resources"/>
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="src/main/java"/>
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="src/main/java"/>
|
||||||
<wb-resource deploy-path="/" source-path="src/main/webapp"/>
|
|
||||||
</wb-module>
|
</wb-module>
|
||||||
</project-modules>
|
</project-modules>
|
||||||
|
|||||||
@ -57,6 +57,12 @@ public class urpBaseBatchApplication
|
|||||||
System.out.println("############# kic_rel Env ######################");
|
System.out.println("############# kic_rel Env ######################");
|
||||||
System.out.println("################################################");
|
System.out.println("################################################");
|
||||||
}
|
}
|
||||||
|
else if(activeProfile.equals("keiti_prod"))
|
||||||
|
{
|
||||||
|
System.out.println("################################################");
|
||||||
|
System.out.println("############# keiti_prod Env ###################");
|
||||||
|
System.out.println("################################################");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
System.out.println("################################################");
|
System.out.println("################################################");
|
||||||
|
|||||||
85
src/main/resources/application-keiti_prod.yml
Normal file
85
src/main/resources/application-keiti_prod.yml
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
# 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://192.168.100.76: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.10.10.19:1521:gwdev
|
||||||
|
username: mLq9nSgZHzZBmuOmyvjahQ==
|
||||||
|
password: C7+TsdsHhTcGiH6JSupSeA==
|
||||||
|
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://192.168.100.76:48381
|
||||||
|
# kicc 메일서버
|
||||||
|
api_kic_mail_server : https://devkicmail.kic.go.kr
|
||||||
|
# api_kic_mail_server : https://kicmail.kic.go.kr
|
||||||
|
# kicc 메신저 서버
|
||||||
|
api_kic_msg_server : http://devtalk.kic.go.kr
|
||||||
|
api_kic_msg_key : 73f26d49-b014-41a9-a184-24c34c893701
|
||||||
|
# api_kic_msg_server : http://talk.kic.go.kr
|
||||||
|
# api_kic_msg_key : eebe896f-1608-456f-80ff-282d1024c25c
|
||||||
|
client : keiti
|
||||||
|
|
||||||
|
|
||||||
23
src/main/resources/quartz-keiti_prod.properties
Normal file
23
src/main/resources/quartz-keiti_prod.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://192.168.100.76: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