seaweedfs/test/s3
Chris Lu c6a22ce43a
Fix get object lock configuration handler (#6996)
* fix GetObjectLockConfigurationHandler

* cache and use bucket object lock config

* subscribe to bucket configuration changes

* increase bucket config cache TTL

* refactor

* Update weed/s3api/s3api_server.go

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* avoid duplidated work

* rename variable

* Update s3api_object_handlers_put.go

* fix routing

* admin ui and api handler are consistent now

* use fields instead of xml

* fix test

* address comments

* Update weed/s3api/s3api_object_handlers_put.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update test/s3/retention/s3_retention_test.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update weed/s3api/object_lock_utils.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* change error style

* errorf

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-18 02:19:50 -07:00
..
basic refactor: move from io/ioutil to io and os package 2021-10-14 12:27:58 +08:00
compatibility chore(tests): update S3 compat tests 2023-11-08 23:16:40 -08:00
copying More efficient copy object (#6665) 2025-07-11 18:51:32 -07:00
cors Object locking need to persist the tags and set the headers (#6994) 2025-07-16 23:00:25 -07:00
multipart adjust test code 2021-09-26 12:59:49 -07:00
retention Fix get object lock configuration handler (#6996) 2025-07-18 02:19:50 -07:00
s3client a simple example of using aws-sdk-go-v2 2023-06-17 12:01:50 -07:00
versioning Object locking need to persist the tags and set the headers (#6994) 2025-07-16 23:00:25 -07:00