Skip to content

v0.29.0

Choose a tag to compare

@bot-devuxteam bot-devuxteam released this 14 May 19:37
· 442 commits to master since this release
ca1fe4d

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