Alex Mikhalev
|
25cf94abad
|
Fix some naming in program_runner and add listen
|
4 years ago |
Alex Mikhalev
|
898f5c7580
|
Start adding state manager interface
|
4 years ago |
Alex Mikhalev
|
1abdad7113
|
Add test for database updating program
|
4 years ago |
Alex Mikhalev
|
a998b3856b
|
Reexport chrono duration
|
4 years ago |
Alex Mikhalev
|
e86729f23e
|
Change how program database update works
Have the data sent from the request be applied by the database queries
Run queries in a savepoint which can be nested into a transaction
|
4 years ago |
Alex Mikhalev
|
0e45ab5aa9
|
Use SQLITE write-ahead logging
|
4 years ago |
Alex Mikhalev
|
89d7b01a76
|
Implement updating program
|
4 years ago |
Alex Mikhalev
|
cc1a5bb09d
|
Change the UpdateListener API to me more ergonomic
|
4 years ago |
Alex Mikhalev
|
6e596a2ef3
|
Split remaining mqtt stuff into sprinklers_mqtt
|
4 years ago |
Alex Mikhalev
|
eff5e0c703
|
Split out actors into sprinklers_actors
|
4 years ago |
Alex Mikhalev
|
ffef2eb50c
|
Split out database stuff into sprinklers_database
|
4 years ago |
Alex Mikhalev
|
3b96f2019d
|
Split out core types into sprinklers_core
|
4 years ago |
Alex Mikhalev
|
174d69fbcc
|
Prepare for splitting things into separate packages
Move everything into a sprinklers_rs package and create cargo workspace
|
4 years ago |
Alex Mikhalev
|
2eb64bbdc0
|
Implement cancelling program
|
4 years ago |
Alex Mikhalev
|
f4c82ada2e
|
Remove ad-hoc program modification
Now we can run from MQTT to test
|
4 years ago |
Alex Mikhalev
|
4f030e7bcd
|
Add ability to run program from MQTT
|
4 years ago |
Alex Mikhalev
|
6043f4bac7
|
More consistent MQTT error messages
|
4 years ago |
Alex Mikhalev
|
b8a9c24444
|
Improve program runner error
|
4 years ago |
Alex Mikhalev
|
4e1e64d1b9
|
Improve mqtt request logging
|
4 years ago |
Alex Mikhalev
|
c7941372bf
|
Implement pausing section runner from MQTT
|
4 years ago |
Alex Mikhalev
|
2ad00b4b69
|
Fix missing futures-util feature
The issue is actually in actix 0.10.0
|
4 years ago |
Alex Mikhalev
|
2f53940ebe
|
Remove actix DNS resolver
|
4 years ago |
Alex Mikhalev
|
faae15509b
|
Implement cancelling section runs over MQTT
|
4 years ago |
Alex Mikhalev
|
b72d89e1dd
|
Implement cancelling by section from MQTT
|
4 years ago |
Alex Mikhalev
|
5f3f417040
|
Refactor out requests
|
4 years ago |
Alex Mikhalev
|
af0998a719
|
Implement running sections through MQTT
|
4 years ago |
Alex Mikhalev
|
9e8385d74d
|
Refactor mqtt stuff
|
4 years ago |
Alex Mikhalev
|
25987475dd
|
Fix warning in section_runner.rs
|
4 years ago |
Alex Mikhalev
|
1eb1d2b058
|
Use actix for MQTT interface
|
4 years ago |
Alex Mikhalev
|
4eb03f2e22
|
Use actix for update_listener
|
4 years ago |
Alex Mikhalev
|
709f8c2760
|
Use rumqtt 0.1.0
|
4 years ago |
Alex Mikhalev
|
d79584eb65
|
Update rumqtt version
|
4 years ago |
Alex Mikhalev
|
fc8821171a
|
Use actix for program_runner
|
4 years ago |
Alex Mikhalev
|
9643923428
|
Use actix for section runner
|
4 years ago |
Alex Mikhalev
|
7541618ec8
|
Implement section runner state publishing
|
4 years ago |
Alex Mikhalev
|
742a00892d
|
Shorted MQTT publishing code
|
4 years ago |
Alex Mikhalev
|
cc88083b19
|
Publish program running state
|
4 years ago |
Alex Mikhalev
|
cf9a7a02ef
|
Don't panic if events are lagged
|
4 years ago |
Alex Mikhalev
|
244eea66eb
|
Fix potential of deadlock with MQTT
|
4 years ago |
Alex Mikhalev
|
794ecae2a1
|
Fix tests due to trace spans
|
4 years ago |
Alex Mikhalev
|
9122bd8755
|
Fix trace spans
|
4 years ago |
Alex Mikhalev
|
4e21e7b96a
|
Use built in MQTT reconnection behavior
|
4 years ago |
Alex Mikhalev
|
f9cdb0e57b
|
Implement proper quit behavior for update_listener
|
4 years ago |
Alex Mikhalev
|
387cc42331
|
Fix tests after changing span logs
|
4 years ago |
Alex Mikhalev
|
4fc6d24de1
|
Change some logging
|
4 years ago |
Alex Mikhalev
|
63fd0be100
|
Implement mqtt section states
|
4 years ago |
Alex Mikhalev
|
46fab5b50f
|
Use immutable collections in section_runner
|
4 years ago |
Alex Mikhalev
|
cfde268603
|
Add publishing of section states
|
4 years ago |
Alex Mikhalev
|
239a289e4e
|
Publish programs
|
4 years ago |
Alex Mikhalev
|
b5b87fe587
|
Fix json naming of ProgramItem section_id to use camelCase
|
4 years ago |