Tekelija.TAPaging.Service
Replacement for TAPager service, Dardo service and possibly something more.
Configuration
Module config
{
"TAPaging": {
"Database": null,
"ConnectionString": null,
"MaxTransmissionsInGroup": 10,
"TimeBetweenTransmissions": 500,
"TimeBetweenGroups": 100,
"ComPort": {
"Port": "COM10",
"Baud": 9600,
"DataBits": 8,
"Parity": "None",
"StopBits": 1,
"Handshake": "RequestToSend",
"Timeout": 20
},
"WebCollectorNotifier": {
"Uri": "http://localhost:5135/wcn",
"Username": "reco",
"ApiKey": "123e123123123",
"WaitPeriod": 10,
"TTL": 10,
"Active": true
},
"StatklicNotifier": {
"Uri": "http://localhost:5135/skn",
"Username": "reco",
"WaitPeriod": 10,
"TTL": 10,
"ApiKey": "12345",
"Region": "10",
"Podzir": "Server=.\\SQLEXPRESS;initial catalog=podzir;Integrated Security=SSPI;",
"Active": true
}
}
}
Name |
Type |
Default |
Description |
Database |
string |
sqlite |
Database type (mssql, mysql, sqlite, mongodb) |
ConnectionString |
string |
./tekelija-tapaging.db |
Database connection string |
MaxTransmissionsInGroup |
int |
10 |
Number of TAP messages to send in one batch |
TimeBetweenTransmissions |
int |
500 |
Pause (in milliseconds) between consecutive TAP message transmissions |
TimeBetweenGroups |
int |
100 |
Pause (in milliseconds) between processing batches of messages |
ComPort |
ComPortConfig |
null |
COM port settings. If null, pass-through handlers are used (for some simple testing) |
WebCollectorNotifier |
WebCollectorNotifierConfig |
null |
Web collector notifier settings. Disabled if null (default) |
StatklicNotifier |
StatklicNotifierConfig |
null |
Statklic notifier settings. Disabled if null (default) |
ComPortConfig
Name |
Type |
Default |
Description |
Port |
string |
null |
COM port to use |
Baud |
int |
9600 |
Baud rate |
DataBits |
int |
8 |
Data bits |
Parity |
string |
“None” |
Parity: Even, None, Mark, Odd, Space |
StopBits |
string |
“One” |
Stop bits: One, None, Two, OnePointFive |
Handshake |
string |
“RequestToSend” |
Handshake: RequestToSend, None, XOnXOff, RequestToSendXOnXOff |
Timeout |
int |
20 |
Timeout (in seconds) |
WebCollectorNotifierConfig
Name |
Type |
Default |
Description |
Uri |
string |
null |
Service uri |
Username |
string |
null |
Authorization username |
ApiKey |
string |
null |
Authorization api key |
WaitPeriod |
int |
30 |
Wait period (in seconds) when some error happens during sending |
TTL |
int |
300 |
Period (in seconds) to hold web collector message in queue |
Active |
boolean |
true |
Is notification handler active or not |
StatklicNotifierConfig
Name |
Type |
Default |
Description |
Uri |
string |
null |
Service uri |
Username |
string |
null |
Authorization username |
ApiKey |
string |
null |
Authorization API key |
Region |
string |
null |
Region id |
Podzir |
string |
null |
Podzir database connection string |
WaitPeriod |
int |
30 |
Wait period (in seconds) when some error happens during sending |
TTL |
int |
300 |
Period (in seconds) to hold statklic message in queue |
Active |
boolean |
true |
Is notification handler active or not |
Authorization config
{
"AuthServer": {
"Issuer": "https://authenticatomatic.urszr.si:22000",
"ClientId": null,
"ClientSecret": null,
"Audience": null
}
}
Name |
Type |
Default |
Description |
Issuer |
string |
null |
OAuth server url |
ClientId |
string |
null |
Authorization app id |
ClientSecret |
string |
null |
Authorization app secret |
Audience |
string[] |
null |
Array of audiences (scope resources) to be used in token validation |