terraform-provider-openapi v0.22.2 Release Notes
Release Date: 2019-10-31 // over 4 years ago-
What's new?
- 🔋 Feature #171: Support resources where POST operation does not expect any inputs
- 🐛 Bug Fix #176: Valid terraform compliant endpoint not available as resource in the plugin
- 🐛 Bug Fix #178: Internal process that checks terraform compliant resources is run twice
🔄 Changelog
3e59207 pump up minor and bug version
🛠 253b209 Merge pull request #177 from dikhan/bugfix/duplicate-resources
a654640 add subresource root level get operation to reproduce bug found and confirm fix
3a1ae9b return the providerConfigEndPoints :)
⚡️ cee6ec1 go mod deps update
✅ 6e1db8a add subresource check and data source instance on subresource into fat test
🏗 c0a3682 remove provider name from resource name list build
a1d36aa pass in providerConfigurationEndPoints to createTerraformProviderSchema
🏗 bbad6d3 implement getResourceNames that given the resource map builds the list of resource name list
🔧 b74f970 remove specAnalyser dep from providerConfigurationEndPoints and instead configure the struct with resourceNames
fcbe235 acept providerConfigurationEndPoints as input
✅ dbdd80f add test for subresource paths findMatchingResourceRootPath
944abca make isResourceInstanceEndPoint only return true if the path ends with path param or path param with trailing slash
🌲 221a337 add more logging to isEndPointFullyTerraformResourceCompliant
🌲 aaa6e92 add more logging to findMatchingResourceRootPath
🔀 f19dc8c Merge pull request #175 from dikhan/feature/post-opeartion-with-no-inputs
⚡️ bbe1408 update go mod deps
ebd6ac1 fix go vet issues
753953b add missing coverage for case where successful response schema is missing
⚡️ 80fc442 update docu with the new use case
b646b83 go fmt
⚡️ 92c23f5 update int test and make it green
3939a65 integrate (special case for resources with POST operations that do not expect any input) logic into validateRootPath
dfdc4b2 add implementation for getSuccessfulResponseDefinition
🚚 11d03ee remove redundant tests in TestValidateResourceSchemaDefinition
6749ff5 add todos as ref to pick up next
🚧 7384ccc WIP implement validateResourceSchemaDefWithOptions
✅ 89fa2b2 add test for Test_getBodyParameterBodySchema
🔨 08732cf refactor getBodyParameterBodySchema to pull out logic into new function (bodyParameterExists)
✅ 8941d42 add unit test describing expected behaviour for resource that is missing post body operation
✅ 4e53478 add test for new use case where valid resource (with no inputs for creation) is not considered terraform compatible