Commit Graph

17 Commits

Author SHA1 Message Date
R Tyler Croy 433239f47d
Output the logs to the file and return the log URL to the server 2023-01-28 17:46:50 -08:00
R Tyler Croy b47b1943cd
Actually execute whatever commands the agent receives 😱 2023-01-28 17:08:53 -08:00
R Tyler Croy 6d963464cf
Process the CommandRequest from the OpenAPI Spec in the execute handler
This is where the rubber starts to meet the road
2023-01-28 16:54:01 -08:00
R Tyler Croy cc8cc30b17
Define the /execute API in the agent spec 2023-01-28 16:47:53 -08:00
R Tyler Croy ed96899c6c
Some basic capabilities with a bungled trait implementation
I would like these traits to make this more dynamic or compact, but I don't have
the time to get it right today
2023-01-28 16:35:28 -08:00
R Tyler Croy 5494a54483
Start implementing the API documentation and stubs for agent APIs 2023-01-28 15:43:29 -08:00
R Tyler Croy 0e3f874870
Start in on implementing the OpenAPI for the agent side of the equation 2023-01-28 15:31:04 -08:00
R Tyler Croy 59c01e0e34
cargo clippy --fix 2023-01-28 15:10:48 -08:00
R Tyler Croy bd33634d04
Add a simple Tide scaffold for the agent 2023-01-28 15:10:20 -08:00
R Tyler Croy bb154cb92a
Oops, re-commited the root main.rs 2023-01-28 15:05:50 -08:00
R Tyler Croy 2789850f5b
Add multiple targets for server and agent, start implementing migrations 2023-01-28 15:05:05 -08:00
R Tyler Croy 0a3b14b942
Add the SqlitePool to the AppState for Janky data storage 2023-01-28 14:49:02 -08:00
R Tyler Croy c736b2b5a2
Properly build with a root route 2023-01-28 14:34:58 -08:00
R Tyler Croy 2d331c3db0
Add some scaffolding copied from dotdotvote 2023-01-28 14:33:40 -08:00
R Tyler Croy 10af0c3335
Add a `cargo init` skeleton 2023-01-27 11:21:30 -08:00
R Tyler Croy 545b2405b7
Add a simple asciidoc README 2023-01-27 11:20:58 -08:00
R Tyler Croy 00a82ef8fc Initial commit 2023-01-27 10:48:50 -08:00