Commit Graph

1318 Commits

Author SHA1 Message Date
Yuan
546ca41237 ci: Add cloudbuild for release (#19) 2024-10-18 15:10:14 -07:00
Yuan
ba4c566ab8 chore: remove secrets from github (#20) 2024-10-18 10:58:22 -07:00
Wenxin Du
61e7b78ad8 feat: Add Toolset manifest endpoint (#11)
1. Calculate tool manifests when server starts.
2. Add toolset manifest endpoints.

---------

Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
2024-10-17 18:43:58 -04:00
Yuan
26ed13561a ci: Add Dockerfile for container images (#17)
Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
2024-10-17 13:24:21 -07:00
Yuan
17fbbb49b0 ci: add realease-please (#15)
Release-As: 0.1.0
2024-10-15 09:13:05 -07:00
Kurtis Van Gent
3703176fce feat: add initial cloud sql pg invocation (#14)
Makes the following changes:
- Fills in previously stubbed "Invoke()" function for the Cloud SQL
Generic Tool
- Updates API to /{tool_name}/invoke to for invocation of said tool 
- Updates response to use JSON 
- Correctly returns error messages for invalid http codes
2024-10-15 09:53:01 -06:00
Wenxin Du
59b4bc07f4 feat: add toolset configuration (#12)
Add `Toolset` implementation to the `tools` package:
- struct and configs.
- Custom `UnmarshalYAML` function.
- Initialization function that validates if tools specified for the
toolset exist.
2024-10-11 14:11:05 -04:00
Kurtis Van Gent
27edd3b5f6 feat: add preliminary parsing of parameters (#13)
This PR adds preliminary parsing of parameters. Currently it only
supports 4 types: string, int, float32, and bool. Almost certainly we
will need to introduce more complicated parsing configuration (to handle
objects and arrays), but my initial attempts got quickly complicated, so
I simplified in the short term.

This also makes 2 breaking changes to config.yaml:
- changes "parameters" to be a list over object -- this is because
parameter ordering is important, and needs to be preserved
- removed the "required" field from parameter objects -- we need to
determine how to handle optional parameters in SQL queries
2024-10-08 15:18:49 -06:00
Kurtis Van Gent
336bdc4d56 feat: stub basic control plane functionality (#9)
Stub's out some basic control plane functionality. This also required
setting up some Source and Tools initialization.
2024-09-20 14:12:16 -06:00
Kurtis Van Gent
b9ba364fb6 feat: add basic parsing from tools file (#8) 2024-08-05 09:33:07 -06:00
Kurtis Van Gent
df9ad9e33f feat: add address and port flags (#7)
Add flags for setting the address and port of the server.
2024-07-30 10:55:13 -05:00
Kurtis Van Gent
e09ae30a90 feat: add basic http server (#6) 2024-07-26 16:59:01 -05:00
Kurtis Van Gent
1539ee56dd feat: add basic CLI (#5) 2024-07-15 11:12:29 -06:00
Kurtis Van Gent
39b6b58d89 ci: disable auto-label (#4) 2024-07-15 11:05:11 -06:00
Kurtis Van Gent
627158ceb1 ci: add path to labels file (#3) 2024-07-12 16:20:40 -07:00
Kurtis Van Gent
2fa93f3f70 ci: use consistent permissions in workflows (#2) 2024-07-12 17:08:45 -06:00
Kurtis Van Gent
0adb59c273 chore(ci): set up ci 2024-07-12 16:42:13 -06:00
Kurtis Van Gent
a612765c85 chore: init project 2024-06-07 21:29:24 +00:00