opentelekomcloud / gophertelekomcloud

GopherTelekomCloud is an OpenTelekomCloud clouds Go SDK
Apache License 2.0
19 stars 9 forks source link

[CTS]: v3 API update #661

Closed artem-lifshits closed 3 months ago

artem-lifshits commented 3 months ago

What this PR does / why we need it

Update API according to new params: https://docs.otc.t-systems.com/cloud-trace-service/api-ref/v3_apis_recommended/tracker_management/creating_a_tracker.html

Related to #2511

Acceptance tests

=== RUN   TestTrackersLifecycle
    helpers.go:14: Attempting to create OBS bucket
    helpers.go:27: Created OBS Bucket: obs-cts-testk6j65
    trackers_test.go:25: Attempting to create CTSv3 Tracker
    trackers_test.go:46: Created CTSv3 Tracker: system
    trackers_test.go:53: Attempting to update CTSv3 Tracker: system
    trackers_test.go:66: Updated CTSv3 Tracker: system
    trackers_test.go:39: Attempting to delete CTSv3 Tracker: system
    trackers_test.go:42: Deleted CTSv3 Tracker: system
    helpers.go:33: Attempting to delete OBS bucket: obs-cts-testk6j65
    helpers.go:54: Deleted OBS Bucket objects: [{{ } CloudTraces/ }]
    helpers.go:59: Deleted OBS Bucket: obs-cts-testk6j65
--- PASS: TestTrackersLifecycle (4.49s)
PASS

Process finished with the exit code 0
otc-zuul[bot] commented 3 months ago

Build succeeded. https://zuul.otc-service.com/t/eco/buildset/0ed0a08766f847e58cbfe306b2d98a79

:heavy_check_mark: otc-golangci-lint SUCCESS in 2m 34s :heavy_check_mark: golang-make-vet SUCCESS in 3m 00s :heavy_check_mark: golang-make-test SUCCESS in 3m 31s :heavy_check_mark: golang-make-functional SUCCESS in 7m 33s