some reworks

- rework configYaml
- rework router mechanism test
- move plugin and module files
This commit is contained in:
Bastian Schroll 2019-03-01 12:09:12 +01:00
parent 71d87b080f
commit a42676010e
19 changed files with 317 additions and 121 deletions

View file

@ -12,44 +12,29 @@ server:
name: BW3 Server # name of the BW3 Server instance
useBroadcast: no # serve server ip on broadcast request
## here you can enable needed plugins
## 0 is disabled
## all greater than 0 enable the plugin
## the higher the number the earlier the plugin is called on alarm
## we call ist Plugin Prioority
plugins:
template: 1
filter:
doubleFilter:
maxEntry: 30
ignoreTime: 10
checkMsg: no
alarmRouter:
- Router 1
- Router 2
router:
- name: Router 1
route:
- type: module
name: doubleFilter
name: template_module
config:
maxEntry: 30
ignoreTime: 10
checkMsg: no
- type: router
name: Router 2
- type: plugin
name: mysql
name: template_plugin
config:
user: test
pass: test
db: test
- type: router
name: Router 2
- name: Router 2
route:
- type: module
name: template_module