-
Notifications
You must be signed in to change notification settings - Fork 26
feat: CloudQuery v2 #4
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We are taking a similar approach to k8s to use json internally for marshalling/unmarshalling and yaml only for using facing stuff. yaml parsers are much more complex and also have tons of vulnerabilities so we want to use json everywhere where there is a machine reading those configurations.
yevgenypats
added a commit
to cloudquery/cloudquery
that referenced
this pull request
Aug 17, 2022
goes together with cloudquery/plugin-sdk#4 This is V2 of CloudQuery CLI together with the new https://github.com/cloudquery/plugin-sdk - Support for multiple databases. plugins are sending info back to CLI - seperate CLI configuration from plugins configuration. - Moved to plain gRPC (no more go-plugin) - zerolog everwhere - no custom UI implementations - no bloated/unneeded abstraction layers Issues that should be fixed: #1104 #1055 #983 #859 #858 #888 #857 #854 #904 #751 #539 #392 #292 #159 #908 #840
6 tasks
I suggest not to use it as it is just duplicated bloat and it is super slow
kodiakhq bot
pushed a commit
that referenced
this pull request
Aug 30, 2022
π€ I have created a release *beep* *boop* --- ## [0.0.4](v0.0.3...v0.0.4) (2022-08-30) ### Features * CloudQuery v2 ([#4](#4)) ([5ceaad4](5ceaad4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
yevgenypats
added a commit
to cloudquery/cloudquery
that referenced
this pull request
Aug 30, 2022
goes together with cloudquery/plugin-sdk#4 This is V2 of CloudQuery CLI together with the new https://github.com/cloudquery/plugin-sdk - Support for multiple databases. plugins are sending info back to CLI - seperate CLI configuration from plugins configuration. - Moved to plain gRPC (no more go-plugin) - zerolog everwhere - no custom UI implementations - no bloated/unneeded abstraction layers Issues that should be fixed: #1104 #1055 #983 #859 #858 #888 #857 #854 #904 #751 #539 #392 #292 #159 #908 #840
yevgenypats
added a commit
to cloudquery/cloudquery
that referenced
this pull request
Sep 6, 2022
goes together with cloudquery/plugin-sdk#4 This is V2 of CloudQuery CLI together with the new https://github.com/cloudquery/plugin-sdk - Support for multiple databases. plugins are sending info back to CLI - seperate CLI configuration from plugins configuration. - Moved to plain gRPC (no more go-plugin) - zerolog everwhere - no custom UI implementations - no bloated/unneeded abstraction layers Issues that should be fixed: #1104 #1055 #983 #859 #858 #888 #857 #854 #904 #751 #539 #392 #292 #159 #908 #840
yevgenypats
added a commit
to cloudquery/cloudquery
that referenced
this pull request
Sep 6, 2022
* feat!: CloudQuery V2. goes together with cloudquery/plugin-sdk#4 This is V2 of CloudQuery CLI together with the new https://github.com/cloudquery/plugin-sdk - Support for multiple databases. plugins are sending info back to CLI - seperate CLI configuration from plugins configuration. - Moved to plain gRPC (no more go-plugin) - zerolog everwhere - no custom UI implementations - no bloated/unneeded abstraction layers Issues that should be fixed: #1104 #1055 #983 #859 #858 #888 #857 #854 #904 #751 #539 #392 #292 #159 #908 #840 * migrate gcp to new sdk * work on a new abstraction layer for codegen * re-implement cq-gen * Add autogenerated mock tests * auto generated compute service * working compute service * regenerated gcp with compute with primary key * Add automigrate to postgresql-dest * small logging fix * improve pg tests * more work * pg storage working with upsert * wip * Compiled resources * autogenerated test passing * remove old gcp services * remove more old services * migrate more gcp services * PostgreSQL fixes * fix pg migration * working on more tests * remove old gcp workflows * more tests * Adding more tests * rebase more or less worked * remove replace directive * more go lint fixes * update plugin-sdk * make gcp compile * fix more linters * fix race condition bug with plugin hanging * bugfix in community plugins * fix plugin tests * fix: Show help on parsing errors * fix review * feat: Remove unique from PostgreSQL destination * remove the need for deprecated errors package * feat: Write to config file instead of stdout (v2) (#1645) * feat: Write to config file instead of stdout * Update SDK to v0.0.10 and remove unique constraints * Add more assertions to generate test * Write to stdout * clarify if statement * fix: pgx_log_level not mandatory * feat: Add errors/warnings summary * test: Add more cmd tests (#1696) test: Add more tests to cli * chore: Remove old test file * feat: Add example of list/detail codegen (#1706) * feat: Add example of list/detail codegen * make naming more reasonable * finalizing gcp * finalize gcp migration * feat: New go sdk for gcp (#1720) * update to latest sdk * feat: Move to new SDK * more fixes to autogeneration * more fixes to gcp * feat: Add sentry * remove old faker * go mod tidy * fix cli tests Co-authored-by: Herman Schaaf <hermanschaaf@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Use the following steps to ensure your PR is ready to be reviewed
go fmtto format your code πgolangci-lint runπ¨ (install golangci-lint here)