-
Notifications
You must be signed in to change notification settings - Fork 26
feat: Add JSON schema to scheduler strategy #1254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1254 +/- ##
==========================================
+ Coverage 48.89% 48.96% +0.06%
==========================================
Files 89 90 +1
Lines 8313 8324 +11
==========================================
+ Hits 4065 4076 +11
Misses 3873 3873
Partials 375 375
☔ View full report in Codecov by Sentry. |
⏱️ Benchmark results
|
| func randSeq(n int) string { | ||
| b := make([]rune, n) | ||
| rand.Seed(time.Now().UnixNano()) | ||
| rnd := rand.New(rand.NewSource(time.Now().UnixNano())) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is merged after #1255 the diff goes away
hermanschaaf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was a bit hard to see what changed due to the file contents moving, but seems like it's mainly the addition of func (Strategy) JSONSchema() *jsonschema.Schema and a test for it?
🤖 I have created a release *beep* *boop* --- ## [4.12.0](v4.11.1...v4.12.0) (2023-10-02) ### Features * Add JSON schema to scheduler strategy ([#1254](#1254)) ([1cec01d](1cec01d)) ### Bug Fixes * **deps:** Update github.com/apache/arrow/go/v14 digest to 00efb06 ([#1257](#1257)) ([e56f6f8](e56f6f8)) * **deps:** Update github.com/cloudquery/arrow/go/v14 digest to 7ded38b ([#1263](#1263)) ([332c255](332c255)) * **deps:** Update google.golang.org/genproto digest to e6e6cda ([#1258](#1258)) ([1b75050](1b75050)) * **deps:** Update google.golang.org/genproto/googleapis/api digest to e6e6cda ([#1259](#1259)) ([eb6a97d](eb6a97d)) * **deps:** Update google.golang.org/genproto/googleapis/rpc digest to e6e6cda ([#1260](#1260)) ([49940fd](49940fd)) * **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.11.0 ([#1252](#1252)) ([41a6561](41a6561)) * **deps:** Update module github.com/getsentry/sentry-go to v0.24.1 ([#1262](#1262)) ([be03068](be03068)) * **deps:** Update module github.com/grpc-ecosystem/go-grpc-middleware/v2 to v2.0.1 ([#1261](#1261)) ([cf57d20](cf57d20)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Blocked by: - [x] invopop/jsonschema#103 - [x] invopop/jsonschema#105 - [x] cloudquery/plugin-sdk#1254
Follow-up for #13876 Blocked by: - [x] invopop/jsonschema#103 - [x] invopop/jsonschema#105 - [x] cloudquery/codegen#29 - [x] cloudquery/plugin-sdk#1254
Follow-up for cloudquery#13876 Blocked by: - [x] invopop/jsonschema#103 - [x] invopop/jsonschema#105 - [x] cloudquery/codegen#29 - [x] cloudquery/plugin-sdk#1254
This allows using centralized JSON schema definition instead of tagging every
scheduler.Strategyentry in plugin specs