v0.3.0
Changes
Added support for the following swagger extensions:
- x-terraform-resource-timeout: define resource max operation timeout (applicable to all resource operations - GET/PUT/POST/DELETE)
- x-terraform-resource-poll-enabled: asynchronous resource operations support
- x-terraform-resource-host: override global host value at a resource level
- x-terraform-resource-regions-%s: multi region support for resources that are managed via regional APIs (similar to AWS resources that are managed per region)
- x-terraform-resource-name: define the resource name that should be used in the terraform configuration
Changelog
bdfbdbb pump up feature version
54370ed remove not needed if statement
96d50e6 fix merging compile errors
b544574 make makefile fail on error for fmt, vet, lint and test
b0bd04d Merge pull request #58 from dikhan/feature/override-host-resource-level
5ec0362 Merge branch 'master' into feature/override-host-resource-level
79d7edb Merge pull request #60 from dikhan/feature/x-terraform-resource-name
f6c8cee add test for version higher than 9
d97713e quick fix in pr template
7bed18f update docs including x-terraform-resource-name extension info
9f7837e add support for x-terraform-resource-name extension
050fecd add 'x-terraform-resource-host' and 'x-terraform-resource-regions-%s' docs
03e4fac add x-terraform-resource-host to the example
e81b12b update log output to include overriden host
e86a832 move debug log to error section
fceb4ce add support for x-terraform-resource-host and multiregion resources
bb41346 Merge pull request #56 from dikhan/feature/resource-timout-extension
53865f5 update regex to a more simple one as suggested in the PR
35130ab fix typos
65856d2 update documentation
75aac0d handle special use cases better
669e59d add unit tests
b31f783 add support for x-terraform-resource-timeout extension
f7e6ccc Merge pull request #53 from dikhan/feature/fix-read-when-not-found
7d76c9f fix bug where if extenson was not present the target status validation would fail
b9e426b do not expect x-terraform-resource-poll-completed-statuses for delete operations
742b915 add missing mandatory description field for 202 lb delete response
e33a57d save extra api call by calling updateStateWithPayloadData instead
895cd92 check errors when reading and if error is NotFound then return nil as expected
56c03a3 Merge pull request #50 from dikhan/feature/support-for-async-operations
94a788d better logging in example api server
2f9841d add validation for readonly requirement in status fields (only applicable when performing polling)
5c99f7b rename x-terraform-resource-poll-target-statuses to x-terraform-resource-poll-completed-statuses
dd6bfb0 quick doc update to accentuate the importance of status being read only
de5452f clarify default behaviour if 'x-terraform-resource-poll-enabled' extension is not present
3dcfea8 fixing description of status fields
bba69d5 fix typo
f7f1082 add small comment to enum field
81c541c fix typo
38ef6ea remove not yet supported extensions as it might be confusing for readers
5379793 handle properly 404 not founds when resource is destroyed
3178b6a comment out extension not yet implemented
f9f49c0 add support for delete async operations
2dd4d51 add support for update async operations
02e8df6 pass in specific operation timeout value
0f08ecf refactor lb api async logic to reuse code
0be9bed add support for async create operations
8fec507 add support for x-terraform-resource-poll-pending-statuses
fa9ab13 add support for x-terraform-resource-poll-target-status
f4aa43d add support for x-terraform-resource-poll-enabled extension
5a299f7 adding some comments to terraform config file for reference purposes
91711cf update lb example resource to behave as an async resource
db43dcc add default timeout (will be applicable to all CRUD operations)
8ce75d8 add backend for lbs
7aa6ba7 update documentation adding info about x-terraform-field-status
d17cda4 add support for x-terraform-field-status extension
bdf8a8c Merge branch 'master' into feature/support-for-async-operations
a12d0a8 update issue links
8bff299 Merge branch 'master' into feature/support-for-async-operations
778619a Delete Feature_request.md
60f5c9f Delete Bug_report.md
8b14acf Update issue templates
51a3cb6 leverage Issue template improvements
e50f46d update analyser to not throw an error when running into non compliant resources
ac2fb5e update swagger example including extensions to support async operations
295fb59 fix OpenAPI plugin configuration file example
03d1765 fix example yaml
acf2d3f Merge branch 'master' into feature/support-for-async-operations
154d402 Merge branch 'master' into feature/support-for-async-operations
699c49c Merge branch 'master' into feature/support-for-async-operations
71847a3 add new resource example that has async operations