[#660] Add s3 static web hosting operations #660

Open
nzinkevich wants to merge 1 commit from nzinkevich/frostfs-s3-gw:feature/website_hosting into master
Member

PutBucketWebsite
GetBucketWebsite
DeleteBucketWebsite

Signed-off-by: Nikita Zinkevich n.zinkevich@yadro.com

PutBucketWebsite GetBucketWebsite DeleteBucketWebsite Signed-off-by: Nikita Zinkevich <n.zinkevich@yadro.com>
nzinkevich self-assigned this 2025-03-13 12:37:24 +00:00
nzinkevich added 1 commit 2025-03-13 12:37:25 +00:00
[#XX] Add bucket website operations
Some checks failed
/ DCO (pull_request) Failing after 28s
/ Vulncheck (pull_request) Successful in 51s
/ OCI image (pull_request) Successful in 2m17s
/ Lint (pull_request) Successful in 2m21s
/ Tests (pull_request) Successful in 1m42s
/ Builds (pull_request) Successful in 1m3s
6c71c848ae
Signed-off-by: Nikita Zinkevich <n.zinkevich@yadro.com>
requested reviews from storage-services-developers, storage-services-committers 2025-03-13 12:37:25 +00:00
nzinkevich changed title from [#XX] Add s3 static web hosting operations to [#660] Add s3 static web hosting operations 2025-03-13 12:38:00 +00:00
nzinkevich force-pushed feature/website_hosting from 6c71c848ae to 0fe63f810f 2025-03-13 12:38:35 +00:00 Compare
r.loginov requested changes 2025-03-14 06:18:07 +00:00
@ -1662,6 +1663,83 @@ func (c *Tree) DeleteBucketLifecycleConfiguration(ctx context.Context, bktInfo *
return objToDelete, nil
}
func (c *Tree) PutBucketWebsiteConfiguration(ctx context.Context, bktInfo *data.BucketInfo, addr oid.Address) ([]oid.Address, error) {
Member

We don't want to use a tree service to store the metainformation of objects of a static configuration website. Instead, we should search for the object by the FilePath attribute.

We don't want to use a tree service to store the metainformation of objects of a static configuration website. Instead, we should search for the object by the FilePath attribute.
All checks were successful
/ DCO (pull_request) Successful in 40s
Required
Details
/ Vulncheck (pull_request) Successful in 1m11s
Required
Details
/ Builds (pull_request) Successful in 1m26s
Required
Details
/ OCI image (pull_request) Successful in 2m6s
Required
Details
/ Lint (pull_request) Successful in 2m25s
Required
Details
/ Tests (pull_request) Successful in 1m34s
Required
Details
This pull request doesn't have enough approvals yet. 0 of 2 approvals granted.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u feature/website_hosting:nzinkevich-feature/website_hosting
git checkout nzinkevich-feature/website_hosting
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-services-committers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-s3-gw#660
No description provided.