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

revert plugin framework code #7287

Merged
merged 3 commits into from
Feb 14, 2023

Conversation

megan07
Copy link
Contributor

@megan07 megan07 commented Feb 14, 2023

reverts plugin-framework code

If this PR is for Terraform, I acknowledge that I have:

  • Searched through the issue tracker for an open issue that this either resolves or contributes to, commented on it to claim it, and written "fixes {url}" or "part of {url}" in this PR description. If there were no relevant open issues, I opened one and commented that I would like to work on it (not necessary for very small changes).
  • Ensured that all new fields I added that can be set by a user appear in at least one example (for generated resources) or third_party test (for handwritten resources or update tests).
  • Generated Terraform providers, and ran make test and make lint in the generated providers to ensure it passes unit and linter tests.
  • Ran relevant acceptance tests using my own Google Cloud project and credentials (If the acceptance tests do not yet pass or you are unable to run them, please let your reviewer know).
  • Read the Release Notes Guide before writing my release note below.

Release Note Template for Downstream PRs (will be copied)

provider: fixed crash when trying to configure the provider with invalid credentials

@megan07 megan07 requested a review from a team as a code owner February 14, 2023 18:18
@megan07 megan07 requested review from melinath and removed request for a team February 14, 2023 18:18
@modular-magician
Copy link
Collaborator

Oops! It looks like you're using an unknown release-note type in your changelog entries:

  • REPLACEME

Please only use the types listed in https://github.com/GoogleCloudPlatform/magic-modules/blob/master/.ci/RELEASE_NOTES_GUIDE.md.

@melinath melinath requested review from rileykarson and removed request for melinath February 14, 2023 18:32
@rileykarson rileykarson mentioned this pull request Feb 14, 2023
5 tasks
@megan07 megan07 closed this Feb 14, 2023
@shuyama1 shuyama1 reopened this Feb 14, 2023
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 25 files changed, 678 insertions(+), 4685 deletions(-))
Terraform Beta: Diff ( 25 files changed, 721 insertions(+), 4982 deletions(-))
TF Validator: Diff ( 5 files changed, 36 insertions(+), 565 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 2470
Passed tests 2212
Skipped tests: 256
Failed tests: 2

Action taken

Triggering VCR tests in RECORDING mode for the tests that failed during VCR. Click here to see the failed tests
TestAccFirebaserulesRelease_BasicRelease|TestAccApigeeAddonsConfig_apigeeAddonsTestExample

@modular-magician
Copy link
Collaborator

Tests passed during RECORDING mode:
TestAccFirebaserulesRelease_BasicRelease[Debug log]
TestAccApigeeAddonsConfig_apigeeAddonsTestExample[Debug log]

All tests passed
View the build log or the debug log for each test

@rosmo
Copy link
Contributor

rosmo commented Feb 15, 2023

Apparently the new plugin framework code also broke data source google_dns_keys (returned an empty list of object), so I believe there is more than just the crash issue at hand here.

@melinath
Copy link
Member

@rosmo Is that issue already fixed in 4.53.1? If not, could you open an issue for it?

@rosmo
Copy link
Contributor

rosmo commented Feb 15, 2023

It's fixed in 4.53.1. But it was broken in 4.53.0.

megan07 added a commit to hashicorp/magic-modules that referenced this pull request Feb 15, 2023
@megan07
Copy link
Contributor Author

megan07 commented Feb 16, 2023

Hi @rosmo, are you able to create a new issue with what you experienced in 4.53.0? I'm making updates to that area of the code and would like to make sure your case is covered. Specifically I'd be interested in what your config looks like and what you're expecting (it returned an empty set of objects, should it have errored? or were there keys that it should have returned, etc). Thanks!

kubalaguna pushed a commit to kubalaguna/magic-modules that referenced this pull request Feb 27, 2023
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Feb 28, 2023
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Feb 28, 2023
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 1, 2023
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 3, 2023
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 6, 2023
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 7, 2023
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 8, 2023
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 10, 2023
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 15, 2023
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 16, 2023
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 20, 2023
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 23, 2023
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 23, 2023
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 27, 2023
megan07 added a commit that referenced this pull request Mar 27, 2023
* Revert "revert plugin framework code (#7287)"

This reverts commit 06f9b2e.

* changes to plugin-framework work for parity

* add some provider tests fix other inconsistent errors with the sdk provider

* update provider alias name

* other changes

* fix up base path test

* update tests to use muxer

* use google-beta for beta tests

* use beta provider when we need to for some of the provider tests

* remove all the specific providers from the config

* create equivalent for oics test provider

* changes after merge

* updates after merge

* attempt to fix vcr tests

* refactor the vcr configuration

* capitalize provider factories

* some test failure fixes

* move initial configure function outside if vcr enabled check

* remove skip step if vcr

* fix dns keys test

* finish merging with test changes

* fix tabs

* add plugin-framework back to MuxedProviders

* review comments

* fixed pointer errors

* remove redundant endpoint

* move providerversion450 to be dependent on resource, revers diag pointers

* add comments around datasource interfaces implementation

* reverse another pointer
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 27, 2023
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 28, 2023
megan07 added a commit that referenced this pull request Mar 28, 2023
* Revert "revert plugin framework code (#7287)"

This reverts commit 06f9b2e.

* changes to plugin-framework work for parity

* add some provider tests fix other inconsistent errors with the sdk provider

* update provider alias name

* other changes

* fix up base path test

* update tests to use muxer

* use beta provider when we need to for some of the provider tests

* remove all the specific providers from the config

* attempt to fix vcr tests

* refactor the vcr configuration

* capitalize provider factories

* some test failure fixes

* remove skip step if vcr

* review comments

* fixed pointer errors

* move providerversion450 to be dependent on resource, revers diag pointers

* reverse another pointer

* update firebase apple app config datasource to plugin-framework

* update id description

* update with latest plugin-framework changes

* capitalization update

* make things beta only

* beta only import
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 28, 2023
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 28, 2023
dannawang0221 pushed a commit to dannawang0221/magic-modules that referenced this pull request Mar 29, 2023
…atform#7312)

* Revert "revert plugin framework code (GoogleCloudPlatform#7287)"

This reverts commit 06f9b2e.

* changes to plugin-framework work for parity

* add some provider tests fix other inconsistent errors with the sdk provider

* update provider alias name

* other changes

* fix up base path test

* update tests to use muxer

* use google-beta for beta tests

* use beta provider when we need to for some of the provider tests

* remove all the specific providers from the config

* create equivalent for oics test provider

* changes after merge

* updates after merge

* attempt to fix vcr tests

* refactor the vcr configuration

* capitalize provider factories

* some test failure fixes

* move initial configure function outside if vcr enabled check

* remove skip step if vcr

* fix dns keys test

* finish merging with test changes

* fix tabs

* add plugin-framework back to MuxedProviders

* review comments

* fixed pointer errors

* remove redundant endpoint

* move providerversion450 to be dependent on resource, revers diag pointers

* add comments around datasource interfaces implementation

* reverse another pointer
dannawang0221 pushed a commit to dannawang0221/magic-modules that referenced this pull request Mar 29, 2023
…leCloudPlatform#7266)

* Revert "revert plugin framework code (GoogleCloudPlatform#7287)"

This reverts commit 06f9b2e.

* changes to plugin-framework work for parity

* add some provider tests fix other inconsistent errors with the sdk provider

* update provider alias name

* other changes

* fix up base path test

* update tests to use muxer

* use beta provider when we need to for some of the provider tests

* remove all the specific providers from the config

* attempt to fix vcr tests

* refactor the vcr configuration

* capitalize provider factories

* some test failure fixes

* remove skip step if vcr

* review comments

* fixed pointer errors

* move providerversion450 to be dependent on resource, revers diag pointers

* reverse another pointer

* update firebase apple app config datasource to plugin-framework

* update id description

* update with latest plugin-framework changes

* capitalization update

* make things beta only

* beta only import
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 30, 2023
megan07 added a commit to hashicorp/magic-modules that referenced this pull request Mar 30, 2023
megan07 added a commit that referenced this pull request Mar 30, 2023
* Revert "revert plugin framework code (#7287)"

This reverts commit 06f9b2e.

* changes to plugin-framework work for parity

* add some provider tests fix other inconsistent errors with the sdk provider

* update provider alias name

* other changes

* fix up base path test

* update tests to use muxer

* use beta provider when we need to for some of the provider tests

* remove all the specific providers from the config

* attempt to fix vcr tests

* refactor the vcr configuration

* capitalize provider factories

* some test failure fixes

* remove skip step if vcr

* review comments

* fixed pointer errors

* move providerversion450 to be dependent on resource, revers diag pointers

* reverse another pointer

* update firebase apple app config datasource to plugin-framework

* update with latest plugin-framework changes

* Revert "revert plugin framework code (#7287)"

This reverts commit 06f9b2e.

* changes to plugin-framework work for parity

* add some provider tests fix other inconsistent errors with the sdk provider

* update tests to use muxer

* use beta provider when we need to for some of the provider tests

* remove all the specific providers from the config

* changes after merge

* attempt to fix vcr tests

* refactor the vcr configuration

* capitalize provider factories

* some test failure fixes

* remove skip step if vcr

* review comments

* fixed pointer errors

* move providerversion450 to be dependent on resource, revers diag pointers

* update firebase apple app config datasource to plugin-framework

* update web app config

* update external provider version tests

* rm non erb, bad merge maybe

* update after a bad merge

* add comments

* review comments, applied them to dns data sources as well
diogoEsteves42 pushed a commit to diogoEsteves42/magic-modules that referenced this pull request Mar 31, 2023
…form#7501)

* Revert "revert plugin framework code (GoogleCloudPlatform#7287)"

This reverts commit 06f9b2e.

* changes to plugin-framework work for parity

* add some provider tests fix other inconsistent errors with the sdk provider

* update provider alias name

* other changes

* fix up base path test

* update tests to use muxer

* use beta provider when we need to for some of the provider tests

* remove all the specific providers from the config

* attempt to fix vcr tests

* refactor the vcr configuration

* capitalize provider factories

* some test failure fixes

* remove skip step if vcr

* review comments

* fixed pointer errors

* move providerversion450 to be dependent on resource, revers diag pointers

* reverse another pointer

* update firebase apple app config datasource to plugin-framework

* update with latest plugin-framework changes

* Revert "revert plugin framework code (GoogleCloudPlatform#7287)"

This reverts commit 06f9b2e.

* changes to plugin-framework work for parity

* add some provider tests fix other inconsistent errors with the sdk provider

* update tests to use muxer

* use beta provider when we need to for some of the provider tests

* remove all the specific providers from the config

* changes after merge

* attempt to fix vcr tests

* refactor the vcr configuration

* capitalize provider factories

* some test failure fixes

* remove skip step if vcr

* review comments

* fixed pointer errors

* move providerversion450 to be dependent on resource, revers diag pointers

* update firebase apple app config datasource to plugin-framework

* update web app config

* update external provider version tests

* rm non erb, bad merge maybe

* update after a bad merge

* add comments

* review comments, applied them to dns data sources as well
kimihrr pushed a commit to kimihrr/kimiah-magic-modules that referenced this pull request Apr 4, 2023
…form#7501)

* Revert "revert plugin framework code (GoogleCloudPlatform#7287)"

This reverts commit 06f9b2e.

* changes to plugin-framework work for parity

* add some provider tests fix other inconsistent errors with the sdk provider

* update provider alias name

* other changes

* fix up base path test

* update tests to use muxer

* use beta provider when we need to for some of the provider tests

* remove all the specific providers from the config

* attempt to fix vcr tests

* refactor the vcr configuration

* capitalize provider factories

* some test failure fixes

* remove skip step if vcr

* review comments

* fixed pointer errors

* move providerversion450 to be dependent on resource, revers diag pointers

* reverse another pointer

* update firebase apple app config datasource to plugin-framework

* update with latest plugin-framework changes

* Revert "revert plugin framework code (GoogleCloudPlatform#7287)"

This reverts commit 06f9b2e.

* changes to plugin-framework work for parity

* add some provider tests fix other inconsistent errors with the sdk provider

* update tests to use muxer

* use beta provider when we need to for some of the provider tests

* remove all the specific providers from the config

* changes after merge

* attempt to fix vcr tests

* refactor the vcr configuration

* capitalize provider factories

* some test failure fixes

* remove skip step if vcr

* review comments

* fixed pointer errors

* move providerversion450 to be dependent on resource, revers diag pointers

* update firebase apple app config datasource to plugin-framework

* update web app config

* update external provider version tests

* rm non erb, bad merge maybe

* update after a bad merge

* add comments

* review comments, applied them to dns data sources as well
hao-nan-li pushed a commit to hao-nan-li/magic-modules that referenced this pull request Apr 11, 2023
…form#7501)

* Revert "revert plugin framework code (GoogleCloudPlatform#7287)"

This reverts commit 06f9b2e.

* changes to plugin-framework work for parity

* add some provider tests fix other inconsistent errors with the sdk provider

* update provider alias name

* other changes

* fix up base path test

* update tests to use muxer

* use beta provider when we need to for some of the provider tests

* remove all the specific providers from the config

* attempt to fix vcr tests

* refactor the vcr configuration

* capitalize provider factories

* some test failure fixes

* remove skip step if vcr

* review comments

* fixed pointer errors

* move providerversion450 to be dependent on resource, revers diag pointers

* reverse another pointer

* update firebase apple app config datasource to plugin-framework

* update with latest plugin-framework changes

* Revert "revert plugin framework code (GoogleCloudPlatform#7287)"

This reverts commit 06f9b2e.

* changes to plugin-framework work for parity

* add some provider tests fix other inconsistent errors with the sdk provider

* update tests to use muxer

* use beta provider when we need to for some of the provider tests

* remove all the specific providers from the config

* changes after merge

* attempt to fix vcr tests

* refactor the vcr configuration

* capitalize provider factories

* some test failure fixes

* remove skip step if vcr

* review comments

* fixed pointer errors

* move providerversion450 to be dependent on resource, revers diag pointers

* update firebase apple app config datasource to plugin-framework

* update web app config

* update external provider version tests

* rm non erb, bad merge maybe

* update after a bad merge

* add comments

* review comments, applied them to dns data sources as well
megan07 added a commit to hashicorp/magic-modules that referenced this pull request May 5, 2023
ericayyliu pushed a commit to ericayyliu/magic-modules that referenced this pull request Jul 26, 2023
ericayyliu pushed a commit to ericayyliu/magic-modules that referenced this pull request Jul 26, 2023
…atform#7312)

* Revert "revert plugin framework code (GoogleCloudPlatform#7287)"

This reverts commit 06f9b2e.

* changes to plugin-framework work for parity

* add some provider tests fix other inconsistent errors with the sdk provider

* update provider alias name

* other changes

* fix up base path test

* update tests to use muxer

* use google-beta for beta tests

* use beta provider when we need to for some of the provider tests

* remove all the specific providers from the config

* create equivalent for oics test provider

* changes after merge

* updates after merge

* attempt to fix vcr tests

* refactor the vcr configuration

* capitalize provider factories

* some test failure fixes

* move initial configure function outside if vcr enabled check

* remove skip step if vcr

* fix dns keys test

* finish merging with test changes

* fix tabs

* add plugin-framework back to MuxedProviders

* review comments

* fixed pointer errors

* remove redundant endpoint

* move providerversion450 to be dependent on resource, revers diag pointers

* add comments around datasource interfaces implementation

* reverse another pointer
ericayyliu pushed a commit to ericayyliu/magic-modules that referenced this pull request Jul 26, 2023
…leCloudPlatform#7266)

* Revert "revert plugin framework code (GoogleCloudPlatform#7287)"

This reverts commit 06f9b2e.

* changes to plugin-framework work for parity

* add some provider tests fix other inconsistent errors with the sdk provider

* update provider alias name

* other changes

* fix up base path test

* update tests to use muxer

* use beta provider when we need to for some of the provider tests

* remove all the specific providers from the config

* attempt to fix vcr tests

* refactor the vcr configuration

* capitalize provider factories

* some test failure fixes

* remove skip step if vcr

* review comments

* fixed pointer errors

* move providerversion450 to be dependent on resource, revers diag pointers

* reverse another pointer

* update firebase apple app config datasource to plugin-framework

* update id description

* update with latest plugin-framework changes

* capitalization update

* make things beta only

* beta only import
ericayyliu pushed a commit to ericayyliu/magic-modules that referenced this pull request Jul 26, 2023
…form#7501)

* Revert "revert plugin framework code (GoogleCloudPlatform#7287)"

This reverts commit 06f9b2e.

* changes to plugin-framework work for parity

* add some provider tests fix other inconsistent errors with the sdk provider

* update provider alias name

* other changes

* fix up base path test

* update tests to use muxer

* use beta provider when we need to for some of the provider tests

* remove all the specific providers from the config

* attempt to fix vcr tests

* refactor the vcr configuration

* capitalize provider factories

* some test failure fixes

* remove skip step if vcr

* review comments

* fixed pointer errors

* move providerversion450 to be dependent on resource, revers diag pointers

* reverse another pointer

* update firebase apple app config datasource to plugin-framework

* update with latest plugin-framework changes

* Revert "revert plugin framework code (GoogleCloudPlatform#7287)"

This reverts commit 06f9b2e.

* changes to plugin-framework work for parity

* add some provider tests fix other inconsistent errors with the sdk provider

* update tests to use muxer

* use beta provider when we need to for some of the provider tests

* remove all the specific providers from the config

* changes after merge

* attempt to fix vcr tests

* refactor the vcr configuration

* capitalize provider factories

* some test failure fixes

* remove skip step if vcr

* review comments

* fixed pointer errors

* move providerversion450 to be dependent on resource, revers diag pointers

* update firebase apple app config datasource to plugin-framework

* update web app config

* update external provider version tests

* rm non erb, bad merge maybe

* update after a bad merge

* add comments

* review comments, applied them to dns data sources as well
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.

6 participants