Skip to content

v0.24.0

Choose a tag to compare

@lillchan lillchan released this 11 Dec 22:27
· 683 commits to master since this release
2c80032

What's new?

  • Feature #188: Resource name cannot contain dashes
  • Bug Fix #190: Do not fail when provider property config cmd fails to execute or external file to get the value from does not exists
  • Feature #192: Improve TF plugin error messaging for missing values in required resource headers
  • Tech Debt #194: Fix deprecation goreleaser warning when releasing new version

Changelog

2c80032 Merge pull request #196 from dikhan/version/update-to-0.24.0
ad1b598 bump up version to 0.24.0
c9bdaea Merge pull request #195 from dikhan/tech-debt/fix-deprecate-warn-goreleaser-config
5fc9750 Merge branch 'master' into tech-debt/fix-deprecate-warn-goreleaser-config
57bb20b Merge pull request #193 from dikhan/feature/validate-secdefs-header-values-before-api-call
17e6fac Merge branch 'feature/validate-secdefs-header-values-before-api-call' of github.com:dikhan/terraform-provider-openapi into feature/validate-secdefs-header-values-before-api-call
a744667 go mod dep updates
fc07ca9 Merge branch 'master' into feature/validate-secdefs-header-values-before-api-call
8632cf6 go mod updates
4f4587b typo fix
6a8d402 Merge pull request #191 from dikhan/feature/do-not-fail-when-cmd-exec-fails
17cf167 Merge branch 'master' into tech-debt/fix-deprecate-warn-goreleaser-config
635b0b7 quick fix updating to archives as per deprecation warning and upgrade documentation
c74aa9a fix int test and update key name to represent the expected behaviour
c7135d4 make it expliciut that the provider config 'required_header_example' is empty
a7ed78f go mod dep updates
48a1083 remove no longer applicable tests since the check is done before API is performed instead
9734752 fix unit tests adding required flag set to true
c1be297 make the check safer comparing against the string trimmed
cbd1284 add int tests covering APKIKeyHeader, APKIKeyQuery and RefreshToken
c235722 set authenticator value to empty if not present in the provider configuration
59afe8f fix unit tests
dfb6574 return error when prepare auth fails
5e15b1a integrate authenticator.validate() when looping through the authenticators
edf06f5 refactor prepareAuth test to use table tests
1f139b3 refactor test to use table driven
3d79d8c add new validate method to specAPIKeyAuthenticator
d12eefa fix compilation issues after updating the authenticator struct
89dc9bd add validate function to check the apiKeyHeaderAuthenticator contains an api key value
1e171d0 add validate function to check the apiKeyQueryAuthenticator contains an api key value
cee77ef add validate function to check the apiRefreshTokenAuthenticator contains an api key value
0579cae roll back changes related to config file path
7d676ea update expected error message when sec def is missing
6ed39bf fix integration test expected error
9112116 remove header validation from newProviderConfiguration
c88495f more user friendly error
1c80262 update error to be more user friendly
7227d0f validate if header is required and if the value is present
a8a767d make field public
dd97408 update header registration setting if header is required
eb2cf50 fix compile issues
a68e4cb add support in SpecHeaderParam to mark as required the parameter
24d9c53 add integration test documenting expected behaviour when required security definition for a resource is missing the value
30a1c00 add integration test documenting expected behaviour when required header for a resource is missing the value
043ed0d go mod dep updates
92ae3e7 fix lint issue
ad17948 more go mod dep updates
b1097d0 update int tests to document that failures to execute cmd or read external source file containing the property value will not stop the plugin execution
0e50ef9 [bug-fix] error out when external config file does not exists
b650381 go mod dep updates
c8128a4 update documentaiton
bd98280 Merge branch 'master' into feature/do-not-fail-when-cmd-exec-fails
e25c6ab Merge pull request #187 from smutel/feature/BeAbleToUseDash
7b0622e extend test to check default values too
e168fbf don't stop plugin execution when provider schema property config contains a command that fails or fails to get the value from external source file
604a803 provide more details in the error when cmd execution fails
0c95f97 test case when extenal file is json but the keyname is wrong
662e7c4 add coverage when external config file does not exists
ca11f14 Merge branch 'master' into feature/BeAbleToUseDash
4128b6e Replace dash by underscore
0383df2 Change regex to be able to use dash in resource name
58689e8 Add tests for resource with dash