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

@@ -2,6 +2,10 @@
"dbDriver":"mssql", "dbDriverComment":"either mssql (user/password) or mssql/msnodesqlv8 (trustedConnection)",
"processingType": "casrpslog",
"sourceTag": "CCERpsLog",
"maxResultsPerMessage":100,
"statements":{
"poller":"'select top ' + config.maxResultsPerMessage + ' * from rpslog where pkey > \\'' + maxPKey + '\\' order by pkey'"
},
"serverURI": "http://localhost:2222",
"pollIntervalIdle": 10000,
"sqlConfig": {