Skip to content
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

Schema support proposed changes #105

Conversation

lovromazgon
Copy link
Member

Includes changes proposed in the last review + some additional things:

  • moves internal/errors.go to pconnector/internal/errors.go and introduces pconduit/internal/errors.go
  • reverts the upgraded indirect dependencies in go.mod
  • makes the linter config a bit more strict + fixes the warnings
  • adds tests in pconduit/v1/fromproto and pconduit/v1/toproto

@lovromazgon lovromazgon requested a review from a team as a code owner July 2, 2024 18:05
@raulb raulb merged commit 2cd8c41 into haris/schema-support-connector-sdk Jul 2, 2024
4 of 5 checks passed
@raulb raulb deleted the lovro/schema-support-proposed-changes branch July 2, 2024 18:33
raulb added a commit that referenced this pull request Jul 2, 2024
* [Schemas] Connector SDK: Create and get a schema from Conduit

* remove replace

* change port

* add mocks

* Get by name and version

* update commons

* add tests

* a couple of tests, move around

* update commons

* move around

* update commons

* fix compilation

* update commons

* fix compilation

* update commons

* update commons

* fix

* add in memory schema service

* simplify

* comments

* rename name to subject

* rename package to pschema

* typed mock

* update commons

* go mod tidy

* update commons use schema

* update to latest commons

* simplify proto

* unwrap error and create internal/errors.go

* provide target to client

* update proto schema

* update schema type

* remove dependency

* update grpc_client

* update service schema methods

* update naming to follow convention

* refactor leftover

* Schema support proposed changes (#105)

* revert upgraded dependencies

* make linter rules more strict, fix warnings

* remove in memory service and doc.go

* move internal/errors.go to pconnector, create separate package in pconduit, add tests in pconduit toproto/fromproto

* rename cplugin.go to pconnector.go

---------

Co-authored-by: Raúl Barroso <[email protected]>
Co-authored-by: Lovro Mažgon <[email protected]>
lovromazgon added a commit that referenced this pull request Jul 3, 2024
* [Schemas] Schema service definition, conversion functions (#88)

* update commons

* [Schemas] Connector SDK: Create and get a schema from Conduit (#96)

* [Schemas] Connector SDK: Create and get a schema from Conduit

* remove replace

* change port

* add mocks

* Get by name and version

* update commons

* add tests

* a couple of tests, move around

* update commons

* move around

* update commons

* fix compilation

* update commons

* fix compilation

* update commons

* update commons

* fix

* add in memory schema service

* simplify

* comments

* rename name to subject

* rename package to pschema

* typed mock

* update commons

* go mod tidy

* update commons use schema

* update to latest commons

* simplify proto

* unwrap error and create internal/errors.go

* provide target to client

* update proto schema

* update schema type

* remove dependency

* update grpc_client

* update service schema methods

* update naming to follow convention

* refactor leftover

* Schema support proposed changes (#105)

* revert upgraded dependencies

* make linter rules more strict, fix warnings

* remove in memory service and doc.go

* move internal/errors.go to pconnector, create separate package in pconduit, add tests in pconduit toproto/fromproto

* rename cplugin.go to pconnector.go

---------

Co-authored-by: Raúl Barroso <[email protected]>
Co-authored-by: Lovro Mažgon <[email protected]>

* change how service suffix in proto files is linted

---------

Co-authored-by: Haris Osmanagić <[email protected]>
Co-authored-by: Raúl Barroso <[email protected]>
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.

2 participants