Skip to content

Conversation

@yevgenypats
Copy link
Contributor

Summary


Use the following steps to ensure your PR is ready to be reviewed

  • Read the contribution guidelines πŸ§‘β€πŸŽ“
  • Run go fmt to format your code πŸ–Š
  • Lint your changes via golangci-lint run 🚨 (install golangci-lint here)
  • Update or add tests πŸ§ͺ
  • Ensure the status checks below are successful βœ…

@yevgenypats yevgenypats changed the title Feat/cqv2 wip feat: cq v2 Aug 11, 2022
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
@hermanschaaf hermanschaaf changed the title feat: cq v2 feat: CloudQuery v2 Aug 29, 2022
@github-actions github-actions bot added the feat label Aug 29, 2022
@yevgenypats yevgenypats merged commit 5ceaad4 into main Aug 30, 2022
@yevgenypats yevgenypats deleted the feat/cqv2_wip branch August 30, 2022 08:21
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants