opentelekomcloud / gophertelekomcloud

GopherTelekomCloud is an OpenTelekomCloud clouds Go SDK
Apache License 2.0
20 stars 10 forks source link

first instance livecycle implementation #705

Closed sgmv closed 2 months ago

sgmv commented 2 months ago

What this PR does / why we need it

This PR adds changes for API V2 of Distributed Message Service.

Because of big changes, was approved a decision to create a new v2.1 version for backward compatibility for Terraform.

Which issue this PR fixes

Special notes for your reviewer

Test result:

=== RUN TestDmsLifeCycle instances_test.go:76: Attempting to create DMSv2 instance instances_test.go:120: DMSv2 instance successfully created: 75feddfd-3757-47c2-94f9-3cb26efe112f instances_test.go:197: Attempting to create DMSv2 Topic instances_test.go:210: DMSv2 Topic successfully created: dms-topic-khXiFlD5 instances_test.go:216: Attempting to update DMSv2 Topic instances_test.go:56: DMSv2 Topic updated instances_test.go:232: Attempting to delete DMSv2 Topic instances_test.go:239: DMSv2 Topic successfully deleted instances_test.go:137: Attempting to update DMSv2 instance: 75feddfd-3757-47c2-94f9-3cb26efe112f instances_test.go:147: DMSv2 instance updated successfully: 75feddfd-3757-47c2-94f9-3cb26efe112f instances_test.go:126: Attempting to delete DMSv2 instance: 75feddfd-3757-47c2-94f9-3cb26efe112f instances_test.go:133: DMSv1 instance deleted successfully: 75feddfd-3757-47c2-94f9-3cb26efe112f --- PASS: TestDmsLifeCycle (651.23s) PASS