Changelog History
Page 1
-
v0.31.1 Changes
July 20, 2020What'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, 2020What'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, 2020What'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, 2020What's new?
๐ 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, 2020What'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, 2020What'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, 2020What's new?
๐ 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, 2020What'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, 2020What's new?
๐ 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, 2020What's new?
๐ 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