Commit Graph

13 Commits (53fe5557e07868d6414a6a8000e1becdff37d4cb)

Author SHA1 Message Date
Michael Zanetti 53fe5557e0 fix issues in param handling in json api 2019-04-01 20:48:17 +02:00
Michael Zanetti be90f47f63 more work on rules
disallow removing a device if a rule still refers to it unless
parameters contain information on what to do with those rules.
2019-04-01 20:48:17 +02:00
Michael Zanetti a5b0ceeee4 more tests for events 2019-04-01 20:47:51 +02:00
Michael Zanetti 55b6962ebc more tests for stateevaluator, fix found issues 2019-04-01 20:47:51 +02:00
Michael Zanetti 16645498db write more tests for the rules engine.
decouple jsonrpc versioning from application versioning
2019-04-01 20:47:51 +02:00
Michael Zanetti d2f02d650b fix eventdescriptor's paramdescriptors handling 2019-04-01 20:47:51 +02:00
Michael Zanetti ddebe2d0b4 add params to proper event 2019-04-01 20:47:51 +02:00
Michael Zanetti 011a0afa48 added a test for triggering a rule 2019-04-01 20:47:51 +02:00
Michael Zanetti 576e67f9f3 also add event params to rule load/store test 2019-04-01 20:47:51 +02:00
Michael Zanetti 346ee6df35 add event params to rules test 2019-04-01 20:47:51 +02:00
Michael Zanetti 9d21f32366 allow calling AddRule with a single eventDescriptor but also with a list 2019-04-01 20:47:51 +02:00
Michael Zanetti 373af5bde5 add tests for loading/storing rules to disk 2019-04-01 20:47:51 +02:00
Michael Zanetti 08223606ee introduce StateDescriptor and StateEvaluator for use with Rules 2014-06-09 04:34:37 +02:00