데이터 저장시 설정된 건수 이상일 경우 1000건씩 나눠서 저장 기능 추가 - bsm-lab/dfxagent#7

alive 메시지 로직 확인 완료 - bsm-lab/dfxagent#2
main
semin.baek 8 months ago
parent 732f655d15
commit 4b49f71a8f

@ -3,9 +3,15 @@
"myHostId": "bd-test-cubrid",
"myListenPort": 17801,
"knownAgentList": [
{
"hostId": "bd-test-oracle",
"hostName": "192.168.0.16",
"listenPort": 17801,
"dropBoxIdList": []
}
],
"statusChecker": {
"cron": "0 0/10 * * * *"
"cron": "2 0/1 * * * *"
},
"dataSourceConfig": [
{
@ -13,7 +19,8 @@
"driverClassName": "cubrid.jdbc.driver.CUBRIDDriver",
"url": "jdbc:cubrid:14.63.185.105:33000:amif:ami::",
"username": "ami",
"password": "fox12#$%"
"password": "fox12#$%",
"maximumRowForTransaction": 1000
}
],
"sqlMapperLocations": [
@ -29,7 +36,8 @@
"packages": [
{
"com.bsmlab.dfx.agent": "DEBUG",
"jdbc.sqlonly": "DEBUG"
"jdbc.sqlonly": "DEBUG",
"org.springframework": "INFO"
}
]
},
@ -37,6 +45,8 @@
"receivedMessageStorageRoot": "/home/dfxagent/agent/messages/received",
"processedMessageStorageRoot": "/home/dfxagent/agent/messages/processed",
"failureMessageStorageRoot": "/home/dfxagent/agent/messages/failure",
"threadPoolSize": 300,
"retentionDaysOfProcessedMessage": 60,
"dropBoxList": [
{
"dropBoxId": "db-bd-cubrid-save",
@ -46,6 +56,8 @@
}
]
},
"postman": [
]
"postmanConfig": {
"threadPoolSize": 30,
"postmanList": []
}
}

@ -1,7 +1,7 @@
{
"description": "개발PC에서 실행함. 웍스테이션 에이전트(bd-test-cubrid)와 연결. 웍스테이션 oracle 에서 TTO_BD 테이블을 조회하여 bd-test-cubrid 에이전트에게 전달함",
"myHostId": "bd-test-oracle",
"myListenPort": 16801,
"myListenPort": 17801,
"knownAgentList": [
{
"hostId": "bd-test-cubrid",
@ -13,7 +13,7 @@
}
],
"statusChecker": {
"cron": "0 0/10 * * * *"
"cron": "2 0/1 * * * *"
},
"dataSourceConfig": [
{
@ -21,7 +21,8 @@
"driverClassName": "oracle.jdbc.driver.OracleDriver",
"url": "jdbc:oracle:thin:@mkami.foxsoft.kr:1521:xe",
"username": "ami",
"password": "fox12#$%"
"password": "fox12#$%",
"maximumRowForTransaction": 1000
}
],
"sqlMapperLocations": [
@ -37,7 +38,8 @@
"packages": [
{
"com.bsmlab.dfx.agent": "DEBUG",
"jdbc.sqlonly": "DEBUG"
"jdbc.sqlonly": "DEBUG",
"org.springframework": "INFO"
}
]
},
@ -45,10 +47,14 @@
"receivedMessageStorageRoot": "D:/projects/bsm-lab/dfx/dfxagent/src/docs/messages/received",
"processedMessageStorageRoot": "D:/projects/bsm-lab/dfx/dfxagent/src/docs/messages/processed",
"failureMessageStorageRoot": "D:/projects/bsm-lab/dfx/dfxagent/src/docs/messages/failure",
"threadPoolSize": 300,
"retentionDaysOfProcessedMessage": 60,
"dropBoxList": [
]
},
"postman": [
"postmanConfig": {
"threadPoolSize": 30,
"postmanList": [
{
"postmanId": "postman-oracle-tto-bd-10",
"taskType": "DB_READ_THEN_SEND",
@ -70,4 +76,5 @@
]
}
]
}
}

@ -11,7 +11,7 @@
}
],
"statusChecker": {
"cron": "0 0/10 * * * *"
"cron": "2 0/1 * * * *"
},
"dataSourceConfig": [
{
@ -19,7 +19,8 @@
"driverClassName": "oracle.jdbc.driver.OracleDriver",
"url": "jdbc:oracle:thin:@mkami.foxsoft.kr:1521:xe",
"username": "ami",
"password": "fox12#$%"
"password": "fox12#$%",
"maximumRowForTransaction": 1000
}
],
"sqlMapperLocations": [
@ -35,7 +36,8 @@
"packages": [
{
"com.bsmlab.dfx.agent": "DEBUG",
"jdbc.sqlonly": "DEBUG"
"jdbc.sqlonly": "DEBUG",
"org.springframework": "INFO"
}
]
},
@ -43,10 +45,14 @@
"receivedMessageStorageRoot": "/home/dfxagent/agent/messages/received",
"processedMessageStorageRoot": "/home/dfxagent/agent/messages/processed",
"failureMessageStorageRoot": "/home/dfxagent/agent/messages/failure",
"threadPoolSize": 300,
"retentionDaysOfProcessedMessage": 60,
"dropBoxList": [
]
},
"postman": [
"postmanConfig": {
"threadPoolSize": 30,
"postmanList": [
{
"postmanId": "postman-oracle-tto-bd-10",
"taskType": "DB_READ_THEN_SEND",
@ -68,4 +74,5 @@
]
}
]
}
}
Loading…
Cancel
Save