-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Refactor muxing 2 : Remove unused code, resulting from #11903 #11578
base: main
Are you sure you want to change the base?
Refactor muxing 2 : Remove unused code, resulting from #11903 #11578
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
43bd0a6
to
47bb9bc
Compare
This comment was marked as outdated.
This comment was marked as outdated.
5e8070f
to
47bb9bc
Compare
This comment was marked as outdated.
This comment was marked as outdated.
1 similar comment
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
1 similar comment
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
47bb9bc
to
98bba88
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
98bba88
to
265c2f0
Compare
Rebased to pull in Go rewrite |
…ruct This allows the PF provider to access any data on the SDK provider, including the meta/Config struct that will be created when the SDK provider is configured.
…struct to all data sources and resources, instead of `FrameworkProviderConfig`
… Config struct to be usable in those places. - Replace use of FrameworkProviderConfig with Config - Add Beta-only `NewFirebaseClient` method to Config struct for use with Firebase data sources - Update LocationDescriber interface - Misc places where the SDK and PF type systems meet and string needs to be converted to types.StringType
…, adapt to type system changes
- This carries over the idea of configuring the PF provider using the SDK provider. The changes in the MuxedProviders func mimic changes already made in main.go. - Remove unnecessary duplication of cached configs per test name; now one used regardless of PF/SDK - Updates to some DestroyProducer functions so they access the cached SDK Config struct to get a client - Remove GetFwTestProvider and the file containing it - this isn't needed.
…ovider-google#14158 - Use of older TPG versions through ExternalProviders breaks VCR, so that is also removed from TestAccDataSourceGoogleFirebaseAppleAppConfig
…" in the PF provider's meta struct
…e now ignored and ENVs can be used instead
…el_addition_strategy` acctest to reflect how the SDK configuration logic now affects the PF provider
…se of ExternalProviders to get other versions of TPG/TPGB
…ific provider configuration code.
265c2f0
to
dee2be2
Compare
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 4139 Click here to see the affected service packages
Action takenFound 7 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
Follow up to #11903. Most commits in this PR are in that PR, and will 'disappear' once this PR is unblocked and ready for review.
This PR deletes all the parallel implementations of provider configuration logic. The PR #11903 stops the provider using this duplicated logic, and this PR removes that redundant code.
In future the team may want to revisit this deleted code to inform work to pulls out the SDKv2 from the codebase completely and the provider becomes 100% plugin-framework. As that is a long way in the future I think it's best to delete this code now for clarity. It will still be in version control for reference in the future.
Release Note Template for Downstream PRs (will be copied)