Commit Graph

75 Commits

Author SHA1 Message Date
Vecna 080deb7974 Send test request on test interface 2024-04-26 23:12:58 -04:00
Vecna 5c0376cd56 Merge upstream changes 2024-04-26 23:05:00 -04:00
Vecna 0644431dee Add endpoint for advancing time during testing 2024-04-26 22:34:54 -04:00
onyinyang 5127762c2b
Add fake_resource_state crate for lox-context unit testing 2024-04-16 16:04:57 -04:00
Vecna 6a0ff0d8a2 Begin implementing Troll Patrol handler 2024-03-15 02:30:57 -04:00
onyinyang 2ad2f2e211 Make lox-distributor listening port configurable 2024-01-22 15:08:39 +00:00
onyinyang 6afc557ad5 Fix length of bridge bytes and rdsys request interval 2024-01-17 16:43:39 +00:00
onyinyang ed7c94b912
Send Response as json, errors with OK Status Code 2024-01-09 12:25:03 -05:00
onyinyang c1f6ab0b77
Gracefully recovers from rdsys shutdown or lack of resources 2023-12-20 19:04:44 -05:00
onyinyang fdde186c92
Add lox-wasm and lox-utils READMEs and other fmt fixes 2023-11-21 12:57:00 -05:00
onyinyang cb159405a3 Add watched_blockages to config file and improve naming 2023-11-14 17:30:45 +00:00
onyinyang ec7ba4e343 Add test and bug fix 2023-11-14 17:30:45 +00:00
onyinyang 73b04b9a19
Fixed up inline comments and README for Lox Distributor 2023-11-07 00:15:26 -05:00
onyinyang 9ac2df642a
Add new bridges when first populated 2023-10-30 15:21:43 -04:00
onyinyang b1d8ce7d8f
Update metrics to count bridges 2023-10-30 15:21:40 -04:00
onyinyang 2597cb53f7
Add prometheus http server 2023-10-30 15:20:23 -04:00
onyinyang 0edc2a3ac3
Add metrics setup 2023-10-30 15:20:20 -04:00
onyinyang 4f7b96a603
Fix up some minor issues + fix bug in context sync 2023-10-18 12:09:46 -04:00
onyinyang b6ff0c60e2
Update rdsys-api-backend and lox-distributor to match rdsys 2023-10-18 12:08:15 -04:00
onyinyang 8ebc4abc19
Minor formatting changes and last context read fix 2023-10-18 12:08:15 -04:00
onyinyang 25add69c4d
Add syncing functionality 2023-10-18 12:08:15 -04:00
onyinyang 6cc8033051
Reconfiguring lox distributor handling of rdsys resources 2023-10-18 12:08:15 -04:00
onyinyang be0d026fe8
Cleanup and add syncing of resources 2023-10-18 12:08:15 -04:00
onyinyang d4c54e969c
Reconfigure distributor to handle static rdsys req 2023-10-18 12:08:14 -04:00
onyinyang 96cf4ab764
Add static request capabilities to rdsys-api-backend 2023-10-18 12:08:14 -04:00
onyinyang 67ae3ce5e2
Add documentation for db setup and more frequent save 2023-09-13 14:21:15 -04:00
onyinyang 84fa10cbe1
Adds DB struct and impl to db_handler 2023-09-11 11:17:00 -04:00
onyinyang b3ddc03ba6
Make roll back date an arg, reduce fn complexity 2023-09-07 15:30:51 -04:00
onyinyang ffb05d403a
Fix up database handling 2023-09-07 15:30:50 -04:00
onyinyang f787253ad5
Added support for lox-context storage through sled 2023-09-07 15:30:50 -04:00
onyinyang a01619de6c
Addresses naming confusion and improves failure message 2023-08-02 10:21:38 -04:00
onyinyang 35f62ed213
Cleanup 2023-08-02 10:20:40 -04:00
onyinyang 572928a271
Fixed Basic Serialization/Deserialization to json 2023-08-02 10:15:11 -04:00
onyinyang ef1ceafffe
Add better command line args and support for serialized Lox context 2023-08-02 10:15:10 -04:00
Cecylia Bocovich 7a24fdfa06
Update lox distributor to use most recent rdsys_backend
The structure of the ResourceDiff has been changed, so the lox
distributor has to modify how it parses the diff.
2023-06-29 13:11:44 -04:00
onyinyang 73c3ef8728
Change lox package to lox-library for consistency 2023-06-23 08:22:15 -04:00
onyinyang 221f490d26
Update lox-distributor to handle gone resources more correctly 2023-06-16 17:18:19 -04:00
onyinyang 2e4090e21c
Add time check to gone resource handling 2023-06-16 17:18:19 -04:00
onyinyang 6372e894ae
Adjust replace_with_new to fit with updates to Lox library 2023-05-17 12:46:09 -04:00
onyinyang 3e3f50c215
Refactors lox-distributor to make division of tasks clearer 2023-05-17 12:19:28 -04:00
onyinyang da4d7c962f
Add fix for failure to replace bridges
- Change text for disabled functionality for blocked bridges
2023-05-11 16:00:09 -04:00
onyinyang 13d1bc8b1d
Add leftover bridges to bridgedb 2023-05-08 20:30:30 -04:00
onyinyang 292827fa63
Add handling of gone, not blocked, resources 2023-05-08 12:52:34 -04:00
onyinyang 1adf145671
Make bucket size match constant in Lox library for all functions 2023-04-10 12:16:19 -04:00
onyinyang 4695a11702
Ensure that left over bridges (not grouped into a bucket) are properly handled 2023-04-05 16:26:23 -04:00
onyinyang d2bd91e0fe
Update bridgeline sizes to match lox library 2023-04-04 19:34:35 -04:00
onyinyang 562b74c274
Clean up code and improve readability 2023-03-24 13:16:26 -04:00
onyinyang 22ef5d157d
Updating bridges to make sense 2023-03-24 11:31:01 -04:00
onyinyang 3f5d497573
Incorporate impl Stream for ResourceStream changes from rdsys-api-backend 2023-03-22 19:14:56 -04:00
onyinyang 490ce2f19c
Add distributor logic for bridge updates from rdsys, handling for unsuccessful removals/updates 2023-03-20 12:42:40 -04:00