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

[Feature] Added support to use protocol version 6 provider server for SDK plugin #3719

Merged

Conversation

tanmay-db
Copy link
Contributor

@tanmay-db tanmay-db commented Jun 28, 2024

Changes

Upgrade SDK plugin to use protocol version 6 as this will be used further for introducing plugin framework. We need to mux them (i.e. support both sdkv2 and plugin framework) until all resources are migrated to plugin framework.

Reference for PR on main branch: #3714, this PR against the main branch will be used to get the binary for testing with data team.

Tests

All Unit and Integration test passed.

  • make test run locally
  • relevant change in docs/ folder
  • covered with integration tests in internal/acceptance
  • relevant acceptance tests are passing
  • using Go SDK

@tanmay-db tanmay-db requested review from a team as code owners June 28, 2024 12:47
@tanmay-db tanmay-db requested review from hectorcast-db, mgyucht, edwardfeng-db and renaudhartert-db and removed request for a team and hectorcast-db June 28, 2024 12:47
Copy link
Contributor

@renaudhartert-db renaudhartert-db left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tanmay-db, I just left a few comments mostly about how I think we can slightly improve the code's readability. These are optional so please feel free to ignore them.

main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
Copy link
Contributor

@edwardfeng-db edwardfeng-db left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I think it'd be good to address Renaud's commands

@tanmay-db
Copy link
Contributor Author

Yes, I will be addressing @renaudhartert-db's comments, just wanted to check if any core change needs to be updated since there are some conflicts (and this branch lags main branch so more conflicts) so I planned to address them simultaneously.

@tanmay-db tanmay-db changed the title Added support to use protocol version 6 provider server for SDK plugin [Feature] Added support to use protocol version 6 provider server for SDK plugin Jul 16, 2024
@tanmay-db
Copy link
Contributor Author

Hi Team, catching up back on this PR. Comments have been addressed, waiting for #3780 to merge before merging this.

tanmay-db added a commit that referenced this pull request Jul 17, 2024
#3780)

## Changes
<!-- Summary of your changes that are easy to understand -->
Rebase the Plugin Framework branch to latest main + resolve conflicts:
9e8fd30

This needs to be merged before
#3719
can be merged. Rebasing the PR over main will lead to many
commits/changes so separating them in this PR.

## Tests
<!-- 
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->
Unit tests 
- [ ] `make test` run locally
- [ ] relevant change in `docs/` folder
- [ ] covered with integration tests in `internal/acceptance`
- [ ] relevant acceptance tests are passing
- [ ] using Go SDK

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: vuong-nguyen <[email protected]>
Co-authored-by: Alex Moschos <[email protected]>
Co-authored-by: hectorcast-db <[email protected]>
Co-authored-by: Aleksandar Dragojević <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Ott <[email protected]>
Co-authored-by: Karol <[email protected]>
Co-authored-by: touchida <[email protected]>
Co-authored-by: Miles Yucht <[email protected]>
Co-authored-by: Pieter Noordhuis <[email protected]>
Co-authored-by: mkubicek <[email protected]>
Co-authored-by: Renaud Hartert <[email protected]>
Co-authored-by: Divyansh Vijayvergia <[email protected]>
@tanmay-db tanmay-db merged commit 3f3ad23 into terraform-plugin-framework Jul 17, 2024
5 checks passed
@tanmay-db tanmay-db deleted the tanmay/plugin-framework-upgrade-protocol branch July 17, 2024 09:31
github-merge-queue bot pushed a commit that referenced this pull request Aug 16, 2024
…r SDK plugin (#3862)

## Changes
<!-- Summary of your changes that are easy to understand -->
Merging
#3719 in
main branch before release.

## Tests
<!-- 
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->
Nightly tests are running...
- [ ] `make test` run locally
- [ ] relevant change in `docs/` folder
- [ ] covered with integration tests in `internal/acceptance`
- [ ] relevant acceptance tests are passing
- [ ] using Go SDK
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