29 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
a2f7596188 fix debug output for log files
fix #249
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
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
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
0fb45733dc added OPTIONS tests and fixed pairing device for REST 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
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
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
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
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