47 Commits

Author SHA1 Message Date
Simon Stürz
4a8db83c8b add DevicePairingInfo
remove name param from devices
close #310
2019-04-01 20:48:17 +02:00
Simon Stürz
36533b61aa add REST api and tests 2019-04-01 20:48:17 +02:00
Simon Stürz
1ef6c80e79 add editDevice method 2019-04-01 20:48:17 +02:00
Simon Stürz
449c224da0 fix tests and remove mockdevices name param 2019-04-01 20:48:17 +02:00
Simon Stürz
b2763cafd0 add device name
clean up guhCore
2019-04-01 20:48:17 +02:00
Simon Stürz
57df12aec5 Add current state values to device map -> close #295 2019-04-01 20:48:17 +02:00
Simon Stürz
d33f170106 fix REST timeout reply 2019-04-01 20:48:17 +02:00
Simon Stürz
2823832ed1 fix rest rule executable parameter 2019-04-01 20:48:17 +02:00
Simon Stürz
a2f7596188 fix debug output for log files
fix #249
2019-04-01 20:48:17 +02:00
Simon Stürz
3a1d3ddcd4 update documentation of plugins 2019-04-01 20:48:17 +02:00
Simon Stürz
02a6e2cb96 update plugins and add state desciptor validation 2019-04-01 20:48:17 +02:00
Simon Stürz
fc9b6f1887 add device parent child relation
add remove policy to REST
expand remove policy
2019-04-01 20:48:17 +02:00
Simon Stürz
f9c15d689e add execute rule actions 2019-04-01 20:48:17 +02:00
Simon Stürz
88c5778103 add more documentation
update readme
2019-04-01 20:48:17 +02:00
Simon Stürz
deb268d59b add rest resource documentation 2019-04-01 20:48:17 +02:00
Simon Stürz
c6681ec151 add more core documentation 2019-04-01 20:48:17 +02:00
Simon Stürz
bae722abc3 add REST plugins, rules and vendors error handling
bump api version
2019-04-01 20:48:17 +02:00
Simon Stürz
8cd6866ffb error handling for devices and deviceclasses resource 2019-04-01 20:48:17 +02:00
Simon Stürz
e070138e4b add tests for push button mock device 2019-04-01 20:48:17 +02:00
Simon Stürz
0e3ddf724b check if client is still connected fpr async replies 2019-04-01 20:48:17 +02:00
Simon Stürz
10b5d77ef6 fix timout 2019-04-01 20:48:17 +02:00
Simon Stürz
0fb45733dc added OPTIONS tests and fixed pairing device for REST 2019-04-01 20:48:17 +02:00
Simon Stürz
0357f6cca9 add options call for rule 2019-04-01 20:48:17 +02:00
Simon Stürz
4f90536f2c add device and rule as adding response 2019-04-01 20:48:17 +02:00
Simon Stürz
1f3350690a fix #210 2019-04-01 20:48:17 +02:00
Simon Stürz
b11206cbc8 fix tests and http reply 2019-04-01 20:48:17 +02:00
Simon Stürz
01f9b418a9 fix replies from webserver 2019-04-01 20:48:17 +02:00
Simon Stürz
8cc576d12e add client max connections and connection timeout
fix OPTIONS bug
add persistent connection for webserver
2019-04-01 20:48:17 +02:00
Simon Stürz
ba5aedaaab fixed CORS and webserver and tests 2019-04-01 20:48:17 +02:00
Simon Stürz
f3b46361ab set states for each device of REST call /api/v1/devices 2019-04-01 20:48:17 +02:00
Simon Stürz
3458208857 add states to device mapp of REST APi 2019-04-01 20:48:17 +02:00
Simon Stürz
610fc77ded add typeutils documentation 2019-04-01 20:48:17 +02:00
Simon Stürz
b35f5f69bf fixed namespace and added documentation for servers 2019-04-01 20:48:17 +02:00
Simon Stürz
9ff00cb2cd fix documentation temporary 2019-04-01 20:48:17 +02:00
Simon Stürz
fc86244018 change ports and add ssl configuration 2019-04-01 20:48:17 +02:00
Simon Stürz
6a52f7031e fix resource parser 2019-04-01 20:48:17 +02:00
Simon Stürz
36fbf27762 add rest logging 2019-04-01 20:48:17 +02:00
Simon Stürz
1f6cfd4527 add rule tests and rest resource 2019-04-01 20:48:17 +02:00
Simon Stürz
1330ed31a3 fix socket error debug
add edit device by discovery tests
2019-04-01 20:48:17 +02:00
Simon Stürz
8b0e279c0c add more tests for REST resources 2019-04-01 20:48:17 +02:00
Simon Stürz
67131a54d9 add more tests 2019-04-01 20:48:17 +02:00
Simon Stürz
ea9d8d6d90 added more tests
move httprequest and reply to server
added request parsing logic
2019-04-01 20:48:17 +02:00
Simon Stürz
70a929f760 add vendorsresource
add plugin resource
begin rules resource
2019-04-01 20:48:17 +02:00
Simon Stürz
f8296c8707 add vendors resource 2019-04-01 20:48:17 +02:00
Simon Stürz
34e53ef5b3 add more rest resources 2019-04-01 20:48:17 +02:00
Simon Stürz
b86a062a87 added deviceresources and first tests 2019-04-01 20:48:17 +02:00
Simon Stürz
5a3c7a6cfb first working REST call
add httpreply and httprequest to lib
2019-04-01 20:48:17 +02:00