Skip to content

Commit

Permalink
add plugin framework back in, add some fixes and tests (#7312)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
megan07 authored Mar 27, 2023
1 parent beecea8 commit 1290e22
Show file tree
Hide file tree
Showing 30 changed files with 2,970 additions and 521 deletions.
12 changes: 12 additions & 0 deletions mmv1/provider/terraform/common~compile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@
-%>
'<%= dir -%>/<%= fname.delete_suffix(".erb") -%>': 'third_party/terraform/utils/<%= fname -%>'
<% end -%>
<%
Dir["third_party/terraform/framework_utils/*.go.erb"].each do |file_path|
fname = file_path.split('/')[-1]
-%>
'<%= dir -%>/<%= fname.delete_suffix(".erb") -%>': 'third_party/terraform/framework_utils/<%= fname -%>'
<% end -%>
<%
Dir["third_party/terraform/framework_models/*.go.erb"].each do |file_path|
fname = file_path.split('/')[-1]
-%>
'<%= dir -%>/<%= fname.delete_suffix(".erb") -%>': 'third_party/terraform/framework_models/<%= fname -%>'
<% end -%>
<%
Dir["third_party/terraform/scripts/**/*.erb"].each do |file_path|
fname = file_path.delete_prefix("third_party/terraform/")
Expand Down
6 changes: 6 additions & 0 deletions mmv1/provider/terraform/common~copy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
-%>
'<%= fname -%>': '<%= file_path -%>'
<% end -%>
<%
Dir["third_party/terraform/framework_utils/*.go"].each do |file_path|
fname = file_path.split('/')[-1]
-%>
'<%= dir -%>/<%= fname -%>': 'third_party/terraform/framework_utils/<%= fname -%>'
<% end -%>
'<%= dir -%>/test-fixtures/': 'third_party/terraform/utils/test-fixtures'
<% end -%>
<% if generate_docs -%>
Expand Down
Loading

0 comments on commit 1290e22

Please sign in to comment.