Commit Graph

22 Commits

Author SHA1 Message Date
yhjiango
c40e78cd83 refactor(objectnode): refactor acl structure json tag
Signed-off-by: yhjiango <jiangyunhua@oppo.com>
2023-08-09 14:01:52 +08:00
yhjiango
7339d6a6d7 feat(objectnode): reduce acl meta storage space usage
Signed-off-by: yhjiango <jiangyunhua@oppo.com>
2023-08-09 14:01:52 +08:00
yhjiango
0affc88413 fix(objectnode): fully compatible with s3
Signed-off-by: yhjiango <jiangyunhua@oppo.com>
2023-05-18 10:48:57 +08:00
tangdeyi
9f0d7810a0 feature: bucket policy fully compatible with s3
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2023-05-18 10:48:57 +08:00
leonrayang
9a30b9f884 update: update to CubeFS
Signed-off-by: leonrayang <chl696@sina.com>
2022-08-22 18:16:09 +08:00
leonrayang
2970e2c3d1 update. go import path change from chubaofs to cubefs
Signed-off-by: leonrayang <chl696@sina.com>
2022-01-25 18:17:02 +08:00
wenjia322
4f1934e4ca fix: bucket acl xml marshal error
Signed-off-by: wenjia322 <buaa1214wwj@126.com>
2020-07-14 14:55:38 +08:00
wenjia322
6cc377ae1c refactor: choose different 'MetaLoader' by configuration 'strict'
Signed-off-by: wenjia322 <buaa1214wwj@126.com>
2020-07-03 18:05:43 +08:00
wenjia322
ae3688cc2a feature: add 'corsMiddleware' and 'optionObject'
Signed-off-by: wenjia322 <buaa1214wwj@126.com>
2020-05-22 15:16:38 +08:00
zhuzhengyi1
d251bcb9d3 Fix: allow for bucket acl owner operation
Signed-off-by: zhuzhengyi1 <zhuzhengyi@jd.com>
2020-05-19 13:35:14 +08:00
zhuzhengyi1
e1b19601ed Enhancement: allow volome owener policy check when not deny
Signed-off-by: zhuzhengyi1 <zhuzhengyi@jd.com>
2020-04-27 16:24:32 +08:00
Mofei Zhang
7a57837f74
Fix: third-party license information
Adjust the format of the license header information of the third-party
code used to make the format more compliant. The NOTICE file supplements
the third-party code NOTIC information and explains the use of the code.

Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2020-04-14 19:29:39 +08:00
Mofei Zhang
4edef106d5
Enhancement: add routing for unimplemented APIs
In view of the particularity of the AWS S3 protocol rules, additional
routes are implemented for unimplemented APIs to prevent users from
incorrectly routing to other APIs when requesting unimplemented APIs.

Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2020-04-08 11:21:25 +08:00
Mofei Zhang
e37abd0731
Enhancement: reduce blocking under concurrency
The blacklist mechanism has been added to the user store and volume
manager in the object node to solve the adverse effect of a large number
of invalid requests on system performance in a short period of time.

Stream requests to the user store and volume manager in the object node
in a hash bucket manner, reducing the blocking caused by read and write
locks under concurrency.

Abstracted the user store and added an implementation that does not
cache user information. This is enabled through the "strict"
configuration to provide sufficient real-time performance with cluster
information during interface compatibility testing.

Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2020-03-31 19:36:21 +08:00
Mofei Zhang
11d0a4ddf0
Refactor: reorganize permission and actions
Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2020-03-17 00:11:01 +08:00
Mofei Zhang
d99f147e6a
Refacrot: move actions to command proto package
Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2020-03-16 08:43:17 +08:00
Mervin
fbbe1e0a7e
Refactor: param parse in object storage interface handlers
Signed-off-by: Mervin <mofei2816@gmail.com>
2020-03-10 00:49:13 +08:00
Mofei Zhang
a410319df2
Fix: policy and acl validation
Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2020-03-03 18:54:10 +08:00
wenjia322
7e8ce2f552 feature: add api DeleteBucket
Signed-off-by: wenjia322 <buaa1214wwj@126.com>
2020-01-14 11:03:44 +08:00
zhuzhengyi1
0658b4f3fb fix acl router bug
Signed-off-by: zhuzhengyi1 <zhuzhengyi@jd.com>
2020-01-09 09:54:06 +08:00
Mofei Zhang
ebfe9e297c
supplementary licence information and documents
Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2019-12-19 19:03:30 +08:00
Mofei Zhang
d609fedb5c feature: object storage interface
Add ObjectNode provides S3-compatibile APIs.
Fusion Storage interface expose two interface (POSIX and S3-compatible) for file operation.

Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2019-12-17 17:36:53 +08:00