Commit graph

10 commits

Author SHA1 Message Date
saji 70e7f0f15d refactor getValue for new filter/limit structs
All checks were successful
Go / build (1.22) (push) Successful in 1m16s
Go / build (1.21) (push) Successful in 1m13s
2024-03-01 21:15:51 -06:00
saji 3f1df06d1b added get bus even API request
All checks were successful
Go / build (1.21) (push) Successful in 1m15s
Go / build (1.22) (push) Successful in 1m14s
also provided framework for extracting filters
2024-03-01 19:12:35 -06:00
saji 7aaa47e142 fix missing error check, improve get test
All checks were successful
Go / build (1.21) (push) Successful in 1m18s
Go / build (1.22) (push) Successful in 1m17s
2024-03-01 16:33:30 -06:00
saji 68347e8b95 rework DB getters
Some checks failed
Go / build (1.21) (push) Failing after 1m6s
Go / build (1.22) (push) Failing after 1m6s
abandon generic query frag for common structures
Instead of using the QueryFrag struct, which was too generic to be
generally useful, we have moved to a BusEventFilter type, which
contains things we may filter on when we're searching for bus events.
At the moment it just contains names, and start/stop times.
Then in each function we can accept this filter struct and convert
it to fit the query.

We also support general modifiers, and currently have one implemented:
the LimitOffsetModifier. This adds a LIMIT and OFFSET clause to any
statement. these are all applied at the end and receive a stringbuilder
which may prevent certain operations from being structured.
We need to work on this one more, potentially abandoning.
2024-03-01 16:25:33 -06:00
saji 0afb8d48bd wip: cleanup 2024-02-24 22:57:17 -06:00
saji 34fca3d564 wip: work on http api 2024-02-24 16:48:19 -06:00
saji b5f5289b45 buncha fixes
use builtin slog instead of experimental
update all packages to fix a bug
2024-02-18 22:41:22 -06:00
saji e551390089 wip: more fixes, figure out main problem 2024-02-18 13:40:41 -06:00
saji 8af1b725d1 wip: debugging why parameters don't substitute right 2024-02-18 13:10:27 -06:00
saji 3f9df5c1eb wip: add openmct-type historical api 2024-02-17 19:26:13 -06:00