opentelekomcloud / gophertelekomcloud

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

[OBS]: implement bucket inventories #675

Closed artem-lifshits closed 3 months ago

artem-lifshits commented 3 months ago

What this PR does / why we need it

Inventories feature implementation

Acceptance tests

=== RUN   TestOBSInventories
    tools.go:72: {
          "StatusCode": 200,
          "request_id": "0000018FDE20DE304C22D49E48CD208F",
          "ResponseHeaders": {
            "content-length": [
              "494"
            ],
            "content-type": [
              "application/xml"
            ],
            "date": [
              "Mon, 03 Jun 2024 12:44:07 GMT"
            ],
            "id-2": [
              "32AAAQAAEAABAAAQAAEAABAAAQAAEAABCS14+tvg5whfOPpV/OOi905j8EqMMCi8"
            ],
            "request-id": [
              "0000018FDE20DE304C22D49E48CD208F"
            ],
            "server": [
              "OBS"
            ]
          },
          "XMLName": {
            "Space": "",
            "Local": ""
          },
          "Id": "test-id",
          "IsEnabled": true,
          "Filter": {
            "Prefix": "test"
          },
          "Schedule": {
            "Frequency": "Daily"
          },
          "Destination": {
            "Format": "CSV",
            "Bucket": "obs-sdk-test-pxliz",
            "Prefix": "test"
          },
          "IncludedObjectVersions": "All",
          "OptionalFields": [
            {
              "Field": "Size"
            }
          ]
        }
--- PASS: TestOBSInventories (1.34s)
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/396b8d4a27844fb19e8f8a94ab3081c1

:heavy_check_mark: otc-golangci-lint SUCCESS in 2m 19s :heavy_check_mark: golang-make-vet SUCCESS in 1m 54s :heavy_check_mark: golang-make-test SUCCESS in 2m 51s :heavy_check_mark: golang-make-functional SUCCESS in 7m 27s