[#660] Add s3 static web hosting operations #660
No reviewers
TrueCloudLab/storage-services-committers
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#660
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "nzinkevich/frostfs-s3-gw:feature/website_hosting"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PutBucketWebsite
GetBucketWebsite
DeleteBucketWebsite
Signed-off-by: Nikita Zinkevich n.zinkevich@yadro.com
[#XX] Add s3 static web hosting operationsto [#660] Add s3 static web hosting operations6c71c848ae
to0fe63f810f
@ -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) {
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.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.