You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.7 KiB

{
"who-am-i": {
"host-id": "first-agent",
"listen-port": 16801
},
"known-agent": [
{
"host-id": "second-agent",
"listen-port": 16801,
"drop-box-id-list": ["drop1", "drop2"]
},
{
"host-id": "third-agent",
"listen-port": 16801,
"drop-box-id-list": ["drop3", "drop4"]
}
],
"datasource": [
{
"dataSourceId": "dfcms",
"driverClassName": "org.postgresql.Driver",
"url": "jdbc:postgresql://bsm-lab.com:5432/defree?currentSchema=DFCMS",
"username": "defreeadmin",
"password": "qortpals1!"
},
{
"dataSourceId": "mochastory",
"driverClassName": "com.mysql.jdbc.Driver",
"url": "jdbc:mysql://bsm-lab.com:3306/MOCHASTORY?allowPublicKeyRetrieval=true",
"username": "MOCHASTORY",
"password": "MOCHASTORY"
}
],
"sqlMapperLocations": ["D:/projects/bsm-lab/dfx/dfxagent/src/docs/mapper-examples/**/*.xml"],
"drop-box": {
"message-storage-root": "D:/projects/bsm-lab/dfx/dfxagent/src/docs/messages",
"drop-box-list": [
{
"drop-box-id": "save-violation-history",
"task-type": "SAVE_DATA_TABLE",
"dataSourceId": "dfcms",
"sql-id": "dfcms.violation.insertViolationHistory"
},
{
"drop-box-id": "receive-work-image-file",
"task-type": "RECEIVE_FILE",
"save-directory-root": "D:\\projects\\bsm-lab\\dfx\\run\\receive_file"
}
]
},
"postman": [
{
"postman-id": "postman1",
"task-type": "DB_READ_THEN_SEND",
"message": {
"message-type": "SAVE_DB_DATA",
"dataSourceId": "dfcms",
"sql-id": "dfcms.selectSome"
},
"recipient-host-id": "third-agent",
"recipient-drop-box-id": "drop3"
}
]
}