dikhan / terraform-provider-openapi

OpenAPI Terraform Provider that configures itself at runtime with the resources exposed by the service provider (defined in a swagger file)
Apache License 2.0
275 stars 48 forks source link

[FeatureRequest: Issue #268] Major upgrade to Terraform SDK 2.0 #274

Closed dikhan closed 3 years ago

dikhan commented 3 years ago

What problem does this Pull Request solve?

Please link to the issue number here (issue will be closed when PR is merged): Closes #268

Terraform Plugin SDK v2 Upgrade checklist:

Type of change

What type of change does your code introduce to the provider? Please put an x (w/o heading/trailing white spaces) in the boxes that apply:

Checklist

Please put an x (w/o heading/trailing white spaces) in the boxes that apply:

Checklist for Admins

codecov[bot] commented 3 years ago

Codecov Report

Merging #274 (2f1f61a) into master (5d335a8) will increase coverage by 1.03%. The diff coverage is 68.49%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #274      +/-   ##
==========================================
+ Coverage   90.97%   92.00%   +1.03%     
==========================================
  Files          61       60       -1     
  Lines        3091     3041      -50     
==========================================
- Hits         2812     2798      -14     
+ Misses        184      164      -20     
+ Partials       95       79      -16     
Impacted Files Coverage Δ
openapi/openapi_client.go 84.54% <ø> (ø)
openapi/openapi_spec_header.go 100.00% <ø> (ø)
openapi/openapi_spec_resource_schema_definition.go 97.36% <ø> (ø)
.../openapi_spec_security_definition_apikey_header.go 100.00% <ø> (ø)
...i_spec_security_definition_apikey_header_bearer.go 100.00% <ø> (ø)
...i/openapi_spec_security_definition_apikey_query.go 100.00% <ø> (ø)
...pi_spec_security_definition_apikey_query_bearer.go 100.00% <ø> (ø)
...i_spec_security_definition_apikey_refresh_token.go 84.21% <ø> (ø)
openapi/openapi_spec_security_schemes.go 100.00% <ø> (ø)
openapi/openapi_stub_backend_configuration.go 86.66% <ø> (ø)
... and 24 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5d335a8...2f1f61a. Read the comment docs.