All Versions
26
Latest Version
Avg Release Cycle
13 days
Latest Release
1795 days ago

Changelog History
Page 1

  • v0.31.1 Changes

    July 20, 2020

    What's new?

    • 🔌 PR #261 [TechDebt: Issue #260] Plugin execution improvements
    • ✅ PR #259 [TechDebt: Issue #258] Standardizing tests and tests execution time improvements

    🔄 Changelog

    🔀 d28a81d Merge pull request #262 from dikhan/version/0.31.1
    ⚡️ e1199fa update version to 0.31.1
    🔀 18c6879 Merge pull request #261 from dikhan/feature/cache-improvements
    9bd205e add debug message when hitting/loading resource path cache
    🔀 cba25ec Merge branch 'feature/cache-improvements' of github.com:dikhan/terraform-provider-openapi into feature/cache-improvements
    8dd22d1 add resolvedPathCached to the SpecV2Resource
    8459b48 assert that cache is populated for happy paths
    a3ee1ac change it back to previous value
    7f3a425 make timeToProcess shorter
    🌲 cc0605e added logging for caching
    🔀 520c22b Merge branch 'feature/cache-improvements' of github.com:dikhan/terraform-provider-openapi into feature/cache-improvements
    🔨 bf0a216 refactor getResourceDataOKExists and setResourceDataProperty
    fdc91a5 add parentResourceInfoCached on SpecV2Resource
    🚚 747493e moved type check to top of the method to fail faster if type is missing
    👍 9814993 add caching support for GetResourceSchema
    🔀 7c005f4 Merge pull request #259 from dikhan/standarize-tests
    🔀 12da6e9 Merge branch 'standarize-tests' of github.com:dikhan/terraform-provider-openapi into standarize-tests
    🚚 0d9961b remove extra Convey statements in openapi spec tests (causing unnecessary loops)
    ⚡️ 6988bd3 go mode dep updates
    566fd97 fix vet issues
    🚚 4b6f875 remove redundant conveys
    ffee28e standarized some tests
    4c6d083 standarized some tests
    c68a796 standarized some tests
    78b5bf6 standarized plugin_config_test tests
    🔧 0d3f3fc standarized provider_configuration_endpoints_test tests
    🔧 66d937d refactored provider_configuration_tests tests
    🔨 834a19d refactor tests removing extra convey levels
    🔨 d287c04 refactor tests removing extra convey levels
    🔀 cc92815 Merge branch 'standarize-tests' of github.com:dikhan/terraform-provider-openapi into standarize-tests
    🔨 c6672ba refactor tests removing extra convey levels
    🔒 58df65e remove extra Convey statements in openapi spec security tests (causing unnecessary loops)
    1ee58b4 fix issue with convey second level using t
    🔀 7dee746 Merge branch 'standarize-tests' of github.com:dikhan/terraform-provider-openapi into standarize-tests
    debe681 add coverage for panics
    🔀 df2d97c Merge branch 'standarize-tests' of github.com:dikhan/terraform-provider-openapi into standarize-tests
    b4c086f remove extra Convey statements in openapi_spec_resource_schema_definition_test.go (causing unnecessary loops)
    🔀 68c788d Merge branch 'standarize-tests' of github.com:dikhan/terraform-provider-openapi into standarize-tests
    334484e format tests to match standards
    94f16cb remove extra Convey statements in openapi_spec_resource_schema_definition_property_test.go (causing unnecessary loops)
    4c7f855 remove extra Convey statements in openapi_spec_authenticator tests
    5c650af remove extra Convey statements in openapi_spec_analyser_test.go (causing unnecessary loops)
    c22ed02 remove extra Convey statements in openapi_client_test.go (causing unnecessary loops)
    🚚 f6a28d5 remove extra Convey statements in common_test.go (causing unnecessary loops)
    ⚡️ 4dbdaa3 fix extra conveys and update test with new format
    7e3ac36 add another test example when the given is not applicable
    📚 0ff3241 add testing documentation
    56a6d2e fix sections in readme
    🔀 cc3eca8 Merge branch 'master' into standarize-tests
    🔀 b1fa363 Merge branch 'standarize-tests' of github.com:dikhan/terraform-provider-openapi into standarize-tests
    ⚡️ da7e6d8 update TestIsOptionalComputedWithDefault test with new testing standard
    🔀 2924d93 Merge branch 'standarize-tests' of github.com:dikhan/terraform-provider-openapi into standarize-tests
    ⚡️ 866ca16 update 2 of the common tests to follow naming standards
    ⚡️ 2399230 update TestIsBoolExtensionEnabled test with new testing standard
    8d52986 set up the tests before convey to avoid extra not needed loops
    d0c49c0 create unittest target

  • v0.31.0 Changes

    July 15, 2020

    What's new?

    • 👍 PR #255 [TechDebt: Issue #256] Support description field in array items schema
    • PR #254 [TechDebt: Issue #253] Add gosec to CI/CD pipeline and address gosec alerts

    🔄 Changelog

    🚀 2ef0b0a Merge pull request #257 from dikhan/new-release-0.31.0
    🚀 9e11d14 new release 0.31.0
    🔀 fcc2b62 Merge pull request #255 from dikhan/feature/add-array-items-descriptions
    🔀 10ac207 Merge branch 'feature/add-array-items-descriptions' of github.com:dikhan/terraform-provider-openapi into feature/add-array-items-descriptions
    0️⃣ 1570c5c add default description for parent properties in the doc generator
    🔨 1945141 refactor tests avoiding extra loop iterations in convey
    👍 9d8f250 add support for array items description
    🔀 cd41f2b Merge pull request #254 from dikhan/address-gosec-alerts
    521bd03 rename helper test file so its not treated as production code
    ⚡️ f674524 go mod dep updates
    🚚 a32d96d remove not longer used code that was migrated to commons
    5d5fdb7 add gosec to the contribution guidelines
    3ebc352 add install-deps and make it a dependency of gosec target
    🚚 531cf8a remove not needed filed parentPropertyNames from stub
    81db694 add tests for getParentID
    37e1db4 ignoring not applicable gosec issue, this code is only used for testing purposes
    2e79577 run gosec as part of the test target
    52e5167 add gosec target that checks both openapi and tests directories
    🚚 aaef93a remove createTmpFile since it was being used only once (no need for the method yet)
    ⚡️ 6776310 update resource factory import to check error from data.Set
    51af33c handle error
    f2ca1cf ignore G204
    779a57a ignoring n/a G304
    4e61bfa new version 0.30.1
    8a3fd94 add nosec comments for G101, G304, and G402

  • v0.30.1 Changes

    July 06, 2020

    What's new?

    • ⚡️ PR #251 [TechDebt: Issue #250] Update PR template to include issue closing keyword
    • PR #249 [FeatureRequest: Issue #248] Add sections to documentaton generator

    🔄 Changelog

    🔀 0f896de Merge pull request #252 from dikhan/version/0.30.1
    2a77837 new version 0.30.1
    ⚡️ d57f1a0 Merge pull request #251 from dikhan/update-PR-with-closing-keyword
    ⚡️ f607369 update PR to include closing keyword
    🔀 70bb072 Merge pull request #249 from dikhan/feature/add-documentaton-sections
    ⚡️ 5abd8c2 update readme to note that the library uses the text/template package
    ⚡️ 43b590a update test with text/template
    5687a81 use text/template instead
    f167a67 comment out printing the resource test output (used for debugging)
    🖨 0d66630 fix spacing issue where example title was printing an empty paragraph when there was no title
    🔀 9371651 Merge branch 'feature/add-documentaton-sections' of github.com:dikhan/terraform-provider-openapi into feature/add-documentaton-sections
    ⚡️ c9d932e update failing tests - changes in spacing
    a46d3c4 add Description property to DataSource
    📚 8e2e53c render again the example documentation
    f934557 rename example output file
    📚 a01f25a fix broken link to example rendered documentation file
    8657068 add provider name to import example
    b1c9c87 add KnownIssues property to Resource
    63d8a17 add Title property to ExampleUsage
    756f414 add provider notes section below table of contents

  • v0.30.0 Changes

    July 01, 2020

    What's new?

    • 📚 PR #246 [FeatureRequest: Issue #245] OpenAPI Terraform automated documentation generator

    🔄 Changelog

    ⚡️ 6528f9a Merge pull request #247 from dikhan/version/update-to-0.30.0
    129770f bump up version to 0.30.0
    📚 4fbe17b Update README with a ref to the documentation renderer
    🔀 1f51e40 Merge pull request #246 from dikhan/feature/openapi-terraform-doc-renderer
    b5f65ed make arguments more readable for the sake of the example
    34d1ef0 add tests to render method
    🔀 4c2e6cc Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer
    ⚡️ 736ebd7 update README
    40981e0 add example output
    🚚 e01f0a4 move doc render library into pkg folder
    ⚡️ 087c0d9 go mod dep updates
    👕 d434ba2 rename package to meet lint go standards
    📄 9d5671e add docs NewTerraformProviderDocGenerator
    784520a use example swagger file in main go
    654e1ad show no resources/data sources if lists are empty
    7656a0a fix path
    ⚡️ 17dcdb2 fix tests after updating arguments/attributes format
    6d4edea show dash only if description is populated
    8914b96 show required/optional after dash and then description
    🚚 a45b9da remove no longer needed files
    f69ea71 remo no longer needed comments
    📦 8db3781 fix test after package rename
    🔀 18b8596 Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer
    🚚 5851a21 remove render from each struct and have the consumer method renderZendeskHTML figure out the right tempalte and right struct to use
    🔀 2707a28 Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer
    602c8c6 add TestDataSourcesTmpl
    b681aa8 don't use struct render methods
    57b70d2 move all template related tests to openapi_terraform_template_html_test
    6a7c730 move TestProviderConfigurationTmpl to openapi_terraform_template_html_test
    c3eb8c7 simplify TestProviderResources_RenderZendesk
    a082c0a add TestAttributeReferenceTmpl
    🔀 b1a1d3f Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer
    ⚡️ 533ed10 update TestArgumentReferenceTmpl with test cases
    bb17957 reuse attribute reference
    📦 9482b5c remove template package and have all html tmlp in one file
    54d1f36 package rename to openapi_terraform_docs_generator
    🔀 f284a74 Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer
    d5f7257 add SetParentResourceName to ParentResourceInfo
    ff24a9a organise structs and tests within their own files
    de91b52 fix compilation error
    79dd007 add public RenderHTML method to pass in the zendesk templates
    3965adc add TestContainsResourcesWithSecretProperties
    📚 1449f85 refactor documentation structs to hold a reference to their templates
    4800be7 add assertions to check the html output rendered by each template
    be3021f test resource and data source rendering separately (TestDataSources_RenderZendesk and TestProviderResources_RenderZendesk)
    ⚡️ 53848db update signature for GetAllHeaderParameters() on SpecAnalyser
    e8f2791 ignore error from getDataSourceInstances
    🔀 fd086b8 Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer
    a903ab0 make template rendering testable
    📚 f483b64 add error case to GenerateDocumentation - error getting data source filters
    🔀 0cf7f1e Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer
    🔨 ec72622 refactor doc generator spec analyser stub to return methods
    🔀 6b6fe72 Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer
    📚 f3b87f1 add initial test for TestTerraformProviderDocumentation_RenderZendeskHTML
    🔨 c7002be refactor TestGetSecurity to use a table driven test
    🔨 65461bc refactor TestGetRegions to be table driven
    d001cf0 add coverage to ContainsComputedSubProperties
    🏗 a830c47 add test coverage for BuildImportIDsExample
    📚 5e6710e start to add error test cases for GenerateDocumentation
    📚 c792ed3 add tests for NewTerraformProviderDocGenerator and GenerateDocumentation
    📚 687ded7 fix GenerateDocumentation to return errors
    🔀 839d533 Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer

  • v0.29.4 Changes

    June 04, 2020

    What's new?

    • 🛠 PR #243 [BugFix: Issue #242] Plugin should not log payload from resource API to prevent printing sensitive props

    🔄 Changelog

    ⚡️ abb36b3 Merge pull request #244 from dikhan/version/update-to-0.29.4
    ⚡️ 44c7c99 Merge branch 'master' into version/update-to-0.29.4
    85af2b4 bump up verson to v0.29.4
    🛠 7901741 Merge pull request #243 from dikhan/bugfix/dont-log-req-resp-payloads
    ⚡️ 9db7920 update debug entry for req payload
    🚚 1749e29 remove response payload logging to avoid disclosing potential sensitive properties

  • v0.29.3 Changes

    June 01, 2020

    What's new?

    • 🛠 PR #240 [BugFix: Issue #239] Ignore list items order if the property is configured with x-ignore-order

    🔄 Changelog

    🔀 d4466b5 Merge pull request #241 from dikhan/pump-to-v0.29.3
    c6abc86 pump version to v0.29.3
    🛠 a5700fc Merge pull request #240 from dikhan/bugfix/ignore-order-for-subprorpoerties-too
    ⚡️ ff30b76 gomod deps version updates
    👕 5a6ca1e solve lint issue
    875b6b8 ignore order if property is set with ignore order
    735fc30 add more test coverage

  • v0.29.2 Changes

    May 20, 2020

    What's new?

    • 🛠 PR #237 [BugFix: Issue #236] Don't update the state if the import fails

    🔄 Changelog

    🔀 1b794f8 Merge pull request #238 from dikhan/pump-v-0.29.2
    7533ac6 pump version to v0.29.2
    🛠 c125d4b Merge pull request #237 from dikhan/bugfix/dont-create-state-if-import-failed
    9397953 fix TestImporter - if import returns an err, then data should be nil
    5d37b3d if the import fails return the error and set the data to nil

  • v0.29.1 Changes

    May 19, 2020

    What's new?

    • 👍 PR #234 [FeatureRequest: Issue #233 ] Add support for x-ignore-order
    • 🛠 PR #232 [BugFix: Issue #231 ] Import errors when resource to be imported does not exists

    🔄 Changelog

    🔀 aee1ba2 Merge pull request #235 from dikhan/new-version/v0.29.1
    76dc67f pump version to 0.29.1
    🔀 f3028cb Merge pull request #234 from dikhan/feagture/support-for-x-ignore-order
    👍 097e21b add support for x-ignore-order
    🛠 bbf6e65 Merge pull request #232 from dikhan/bugfix/error-when-importing-nonexistent-resource
    🛠 cfa1d86 Merge branch 'bugfix/error-when-importing-nonexistent-resource' of github.com:dikhan/terraform-provider-openapi into bugfix/error-when-importing-nonexistent-resource
    efe7503 integrate readWithOptions into import method
    99b28a5 add case to TestReadWithOptions - if error isn't an openapi error
    🚚 f8d726f move resourceFactory read logic to readWithOptions

  • v0.29.0 Changes

    May 14, 2020

    What's new?

    • PR #229 [FeatureRequest: Issue #228] Ignore array prop ordering

    🔄 Changelog

    🔀 ca1fe4d Merge pull request #230 from dikhan/feature/pump-version-0.29.0
    68a1fb0 pump version to 0.29.0
    🔀 2355a80 Merge pull request #229 from dikhan/ignore-array-prop-ordering
    ⚡️ ace46ff go mod dep updates
    📚 8110f81 add x-terraform-ignore-order documentation
    ⚡️ efe0ba4 add test TestUpdateStateWithPayloadDataAndOptions
    cec48c5 add check for nil remoteValue
    5a29d95 enable ignoreListOrderEnabled depending whether a resource or data source called the method
    ⚡️ 7378bc1 go mod dep updates
    890eb6b vet cleanup
    beb4fa3 fix integration test adding the newly supported extension x-terraform-ignore-order: true
    ⚡️ 0cf8295 integrate processIgnoreOrderIfEnabled in updateStateWithPayloadData
    172d295 add new use cases to check for input value being nil
    ⚡️ 488cb67 update test name to match the method under test
    🚚 7f1f8c0 remove non needed switch
    ⚡️ 440babc Update TestEqual to TestEqualItems (new method name)
    17452fe Add more test cases to TestCastValueToArray
    04c14a4 Add TestCastValueToArray
    4dbf266 Rename compare to equalItems (more descriptive)
    🛰 c5cc347 - rename the compareInputPropertyValueWithPayloadPropertyValue to a more clear name processIgnoreOrderIfEnabled - processIgnoreOrderIfEnabled now checks whether the property has the flag IgnoreItemsOrder enabled, otherwise returns the remote list (keeping the current behaviour) - if the casting returns nil we return the remotelist too (eg< use case for list of bools with the IgnoreItemsOrder set to true, this is not supported at the moment)
    ef12e1b Add TestValidateValueType
    28ad45d Add bool switch case in compare method
    b6c4307 Add TestCompare for specSchemaDefinitionProperty
    66240a8 Add test case to TestCompareInputPropertyValue
    🛠 afc971f fixed bug where once all the object prop values had been checked it was falling back to the regulat item check (instead of returning true) resulting into casting errors
    dd575ca fix typo
    🚚 81479d7 remove unnecessary duplicated code
    👍 de6be5f add support for compare and compareItems in the specSchemaDefinitionProperty
    381cf8f Add float case to castValueToArray
    29d5087 added int use case test coverage
    593c526 cast to array of interfaces to simplify processing of different elem types
    a8150e9 Add test cases to TestCompareInputPropertyValueWithPayloadPropertyValue
    337ae09 modify logic to cover the new set of use cases
    👀 16107a5 Add method (shouldIgnoreArrayItemsOrder) and related test to see if property has the x-terraform-ignore-order ext set
    🔀 258e2a8 Merge branch 'ignore-array-prop-ordering' of github.com:dikhan/terraform-provider-openapi into ignore-array-prop-ordering
    ⚡️ 830e55a Update compareInputPropertyValueWithPayloadPropertyValue - cast to []string
    🔀 05c25c3 Merge branch 'ignore-array-prop-ordering' of github.com:dikhan/terraform-provider-openapi into ignore-array-prop-ordering
    👍 8c9e2c1 add support for x-terraform-ignore-order extension
    🛰 692767b Add initial checks on typeList in compareInputPropertyValueWithPayloadPropertyValue
    8aeb727 add typeFloat and typeBool use case
    7484ad8 create method that compares local proeprty value with remote
    3582dd5 add TestAccCDN_CreateResourceWithIgnoreListOrderExtension

  • v0.28.1 Changes

    May 01, 2020

    What's new?

    • PR #225 [FeatureRequest: Issue #224] Add telemetry to data sources

    🔄 Changelog

    🔀 a02d7cb Merge pull request #226 from dikhan/pump-v-0.28.1
    abadc8e pump version to 0.28.1
    🔀 7de5204 Merge pull request #225 from dikhan/add-telemetry-to-data-sources
    b52901e fix test ensuring we check the expected indexes contain the expected metric
    f9ea39d fix failing test
    a30327a Integrate submitTelemetryMetric into the resource factory
    aec649a Add TestDataSourceInstanceRead_Fails_NilOpenAPIResource
    4d4094d test data source with filters in the integration test too
    ⚡️ dc0edb6 Update httpendpoint telemetry e2e test to check data source telemetry
    ⚡️ ef68816 update '.terraform.provider' docs
    a937e6d integrate telemetry into dataSourceInstanceFactory read operation
    44fb943 add test to TestSubmitTelemetryMetric
    ⚡️ ee84ba8 Update data source factory to submit telemetry on read operation
    5dce956 Create new functions to submit telemetry metrics for resources and data sources