terraform-provider-openapi v0.17.0 Release Notes

Release Date: 2019-09-03 // over 4 years ago
  • What's New?

    • โž• Added support for complex objects #147. More info here.

    ๐Ÿ”„ Changelog

    ๐Ÿ”€ 5a6e1e7 Merge pull request #149 from dikhan/bumping-ver-0.17.0
    ๐Ÿš€ 759d05b added details in the release.md doc
    91a8ef0 bump version to 0.17.0
    ๐Ÿ”€ e4b109a Merge pull request #148 from dikhan/investigation/nested-objects-readonly-props-diffing
    ๐Ÿ”€ 75351e0 Merge branch 'investigation/nested-objects-readonly-props-diffing' of github.com:dikhan/terraform-provider-openapi into investigation/nested-objects-readonly-props-diffing
    fea7dde fix broken link
    ๐Ÿ”€ f0c1c65 Merge branch 'investigation/nested-objects-readonly-props-diffing' of github.com:dikhan/terraform-provider-openapi into investigation/nested-objects-readonly-props-diffing
    โœ… cf2b1f6 added a new test case to cover //unstested path
    ๐Ÿ“š e5b20c2 add documentation about
    โœ… 0db47f5 Dry-ed test case
    ๐Ÿšš 34a181f remove //untested comments for tested code
    โœ… 53cf534 add a test for invalid terraform names for getPropertyPayload()
    โœ… 61851ab add TestGetPropertyBasedOnTerraformName()
    de2b288 replace git.apache.org dependency to github
    ๐Ÿšš c2ece77 Remove obsolete //untested marker
    ๐Ÿ”€ cde9294 Merge remote-tracking branch 'origin/investigation/nested-objects-readonly-props-diffing' into investigation/nested-objects-readonly-props-diffing
    ๐Ÿ”€ 6e81694 merge master
    ๐Ÿ”€ accb1b7 Merge remote-tracking branch 'origin/investigation/nested-objects-readonly-props-diffing' into investigation/nested-objects-readonly-props-diffing
    โœ… 71f66d4 if a datavalue is null, then test the return behavior
    โšก๏ธ 6983dee Mark untested logic in updated function
    7f54cfa Fix "swagger schema definition property that is not of type 'object'", which was passing for the wrong reason
    โœ… 17804e3 De-convey TestSpecSchemaDefinitionIsPropertyWithNestedObjects
    โœ… 65e7e38 Simplify TestSpecSchemaDefinitionIsPropertyWithNestedObjects
    โœ… 021567f Introduce "Given a swagger schema definition property that is not of type object" in TestSpecSchemaDefinitionIsPropertyWithNestedObjects
    โœ… c0c1c13 Simplify TestIsLegacyComplexObjectExtensionEnabled
    โœ… d6bbee2 tested objectSchema, err := s.terraformObjectSchema()
    ๐Ÿ”€ 2bec2cb Merge remote-tracking branch 'origin/investigation/nested-objects-readonly-props-diffing' into investigation/nested-objects-readonly-props-diffing
    โœ… ede3a27 De-Convey TestIsLegacyComplexObjectExtensionEnabled
    ๐Ÿ”€ 40a707a Merge branch 'investigation/nested-objects-readonly-props-diffing' of github.com:dikhan/terraform-provider-openapi into investigation/nested-objects-readonly-props-diffing
    โšก๏ธ c0a2d21 Mark untested logic in new and updated functions
    โšก๏ธ d568b4f quick convey test name update to make it more explicit difference bw simple and complex objects
    โœ… de84c8f Clean up obsolete TODO; introduce new tests for getPropertyPayload.
    โšก๏ธ 85e6ab8 update go mod deps
    ๐Ÿšš 8174b68 remove unnecessary error returned from isPropertyWithNestedObjects
    ๐Ÿ”€ a9aae5c Merge branch 'investigation/nested-objects-readonly-props-diffing' of github.com:dikhan/terraform-provider-openapi into investigation/nested-objects-readonly-props-diffing
    โœ… d3e90b3 added test coverage for complex object types in TestConvertPayloadToLocalStateDataValue
    36c7624 handled error when a resource miss the specSchemaDefinition
    ๐Ÿ”€ d5beb47 Merge branch 'investigation/nested-objects-readonly-props-diffing' of github.com:dikhan/terraform-provider-openapi into investigation/nested-objects-readonly-props-diffing
    โœ… 3106508 Add a test scenario where a nested object contains a complex object
    โœ… 9ce8475 Introduce Test_shouldUseLegacyTerraformSDKBlockApproachForComplexObjects
    โœ… aa754e9 Add a test scenario where a nested object contains a complex object
    ๐Ÿ”€ 36a53b7 fix merge conflicts - replaced name to isLegacyComplexObjectExtensionEnabled
    ๐Ÿ”€ 8be8c38 Merge branch 'investigation/nested-objects-readonly-props-diffing' of github.com:dikhan/terraform-provider-openapi into investigation/nested-objects-readonly-props-diffing
    โœ… cb28dc2 add test coverage for shouldEnableLegacyComplexObjectBlockConfiguration
    a82a318 simplified function name
    ๐Ÿ”€ e23c975 Merge remote-tracking branch 'origin/investigation/nested-objects-readonly-props-diffing' into investigation/nested-objects-readonly-props-diffing
    afde7ce simplified return boolean values
    ๐Ÿšš 591caff remove no longer applicable todo commnet
    โœ… 15d6fa6 add test coverage for isBoolExtensionEnabled
    bd2a77d centralise bool check logic into its own method isBoolExtensionEnabled
    ๐Ÿšš ad216da remove unneeded fmt print line
    โœ… 9b4bd4b add test coverage for x-terraform-complex-object-legacy-config extension
    1a99932 add TODOs with remaining missing coverage
    31d3398 centralised all the logic related to legacy block approach for complex objecs under one method (shouldUseLegacyTerraformSDKBlockApproachForComplexObjects)
    โšก๏ธ e79b4eb update extension name
    โœ… 7b59209 delete no longer needed test file
    d52bf67 add two option on how to handle object types without diffs
    ๐Ÿ“„ c8e7d6c better docs
    ac7facf That's my take on this issues, check my TODOs
    โœ… fcc823c add some bits to the test to reproduce the error
    โœ… cdc7361 add readonly YAML to the grey box testing
    ๐Ÿ”ง a11201c add new unit test to prove that nested objects with readonly props are configured properly in terraform schema