more flexibility for queries (strore in config file)

This commit is contained in:
Joe
2019-01-31 11:59:41 -06:00
parent d20c9c81fd
commit 97b550506a
5 changed files with 13 additions and 5 deletions

View File

@@ -3,6 +3,10 @@
"processingType": "casrpslog",
"sourceTag": "CCERpsLog",
"serverURI": "http://localhost:2222",
"maxResultsPerMessage":100,
"statements":{
"poller":"'select top ' + config.maxResultsPerMessage + ' * from rpslog where pkey > \\'' + maxPKey + '\\' order by pkey'"
},
"pollIntervalIdle": 10000,
"UP_sqlConfig": {
"user": "casdbuser",