opentelekomcloud / gophertelekomcloud

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

[Feat.] CBR update and refactoring #714

Closed anton-sidelnikov closed 4 weeks ago

anton-sidelnikov commented 1 month ago

What this PR does / why we need it

New endpoints now available, also updated old resources and tests

Which issue this PR fixes

Closes #716

Special notes for your reviewer

Tests results:

=== RUN   TestPolicyLifecycle
--- PASS: TestPolicyLifecycle (2.90s)
=== RUN   TestPolicyReplicationLifecycle
--- PASS: TestPolicyReplicationLifecycle (1.98s)
PASS

Process finished with the exit code 0

=== RUN   TestVaultLifecycle
--- PASS: TestVaultLifecycle (1.81s)
=== RUN   TestVaultResources
--- PASS: TestVaultResources (7.59s)
=== RUN   TestVaultPolicy
--- PASS: TestVaultPolicy (2.28s)
=== RUN   TestVaultMigrateResources
--- PASS: TestVaultMigrateResources (10.87s)
PASS

Process finished with the exit code 0

=== RUN   TestBackupLifecycle
--- PASS: TestBackupLifecycle (471.21s)
=== RUN   TestBackupSharingLifecycle
--- PASS: TestBackupSharingLifecycle (438.31s)

PASS

Process finished with the exit code 0