Commit graph

55 commits

Author SHA1 Message Date
03f8cc8abf [#36] Fix frostfs dependencies
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-01-12 16:17:02 +03:00
Denis Kirillov
739447579a [#36] Fix needHash flag
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2023-01-12 15:48:06 +03:00
Denis Kirillov
6e8b6f8b51 [#36] Add test for storage group management
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2023-01-12 15:47:54 +03:00
Denis Kirillov
e83cef6d24 [#36] Add route to get and delete storage group
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2023-01-12 15:47:53 +03:00
Denis Kirillov
c20eed98f9 [#36] Add route to list storage groups
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2023-01-12 15:47:21 +03:00
Denis Kirillov
e5b9fd5f5a [#36] Add route to put storage group
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2023-01-12 15:46:06 +03:00
c9c85e9022 [#2] Rename internals
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2022-12-21 13:46:10 +03:00
803cafbbd5 [#1] Build REST Gateway with FrostFS dependencies 2022-12-16 12:48:05 +03:00
Denis Kirillov
3f05207530 [#2] Allow unauthenticated requests to GET and SEARCH
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-11-02 15:05:36 +03:00
Denis Kirillov
8d83320120 [#79] Fix panic on get empty object
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-10-20 11:01:22 +03:00
Denis Kirillov
feaea15aa7 [#73] Add missed CORS
Allow X-Bearer-For-All-Users, X-Bearer-Lifetime headers.
Add CORS to /auth/bearer route.

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-10-07 11:23:25 +03:00
Denis Kirillov
630547d488 [#69] Forbid SetEACL operation if basic acl final
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-09-22 12:29:56 +03:00
Denis Kirillov
09e8196ed4 [#68] Check basic ACL size
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-09-22 12:29:56 +03:00
0ed4e37e77 [#62] Add expiration header tests
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-01 17:24:35 +04:00
fa2bcf198f [#62] Fix expiration epoch calculation
Previous implementation does not provide 'at least'
lifetime guarantee.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-01 17:24:35 +04:00
Denis Kirillov
7c979aded7 [#61] Fix tests
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-30 16:45:50 +03:00
Denis Kirillov
d99c248a46 [#56] Add Allow-Origin header to all responses
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-25 17:44:42 +03:00
Denis Kirillov
ab2a2abbd5 [#53] Update SDK to fix panic on go1.19
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-25 11:31:44 +03:00
Denis Kirillov
c9aa772538 [#32] Add test for using full bearer token
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-25 11:15:00 +03:00
Denis Kirillov
8d5d19f3c4 [#32] Support full bearer token for object routes
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-25 11:15:00 +03:00
Denis Kirillov
e68cda7f9c [#32] Support bearer token for all users
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-25 11:15:00 +03:00
Denis Kirillov
07786dd94b [#32] Add route to form full binary bearer token
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-25 11:15:00 +03:00
Denis Kirillov
e0504fec78 [#38] Add cannedAcl field to ContainerInfo
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-18 15:55:50 +03:00
Denis Kirillov
c397efb1c2 [#44] Expose metrics
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-11 18:14:30 +03:00
Denis Kirillov
4fbd5a0c58 [#40] Add FilePath field to ObjectBaseInfo
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-11 15:04:33 +03:00
Denis Kirillov
d18312ecde [#39] Add CORS
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-10 21:41:26 +03:00
Denis Kirillov
6e01a0ead7 [#33] Add route to get NeoFS balance
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-29 12:08:55 +03:00
Denis Kirillov
8f4c94f134 [#25] Add computing container version
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-21 18:30:26 +03:00
Denis Kirillov
665bcfb52d [#25] Synchronize container get and put params
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-21 18:30:26 +03:00
Denis Kirillov
aeb68fdd7a [#16] Update SDK to v1.0.0-rc.5
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-13 15:02:56 +03:00
Denis Kirillov
0df815ed27 [#15] Update doc url
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-12 11:36:32 +03:00
Denis Kirillov
fd0ff4b803 [#15] Sign base64 token representation
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-12 11:36:32 +03:00
Denis Kirillov
5bee10d096 [#15] Add docs
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-12 11:36:32 +03:00
Denis Kirillov
592be967f6 [#15] Enable swagger UI
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-12 11:36:32 +03:00
Denis Kirillov
e604222f60 [#15] Expand container info in list
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-12 11:36:32 +03:00
Denis Kirillov
5c122a4325 [#15] Add check verbs and token type
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-12 11:36:32 +03:00
Denis Kirillov
eab43cea3b [#15] Check container name
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-12 11:36:32 +03:00
Denis Kirillov
9fba8d7f23 [#15] Use extended error response
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-12 11:36:32 +03:00
Denis Kirillov
e28c6e5375 [#15] Use status code 200 with payload on success
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-12 11:36:32 +03:00
Denis Kirillov
686588bc1a [#15] Accept list of tokens to sign
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-12 11:36:32 +03:00
Alex Vanin
61bc5af44b [#11] Receive hex encoded bearer token signature
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-06-16 17:25:09 +03:00
Denis Kirillov
70e25e6caf [#7] Make container name optional
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-06-16 11:31:21 +03:00
Denis Kirillov
d48a7b6f66 [#3] Use owner id to auth
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-06-10 16:28:05 +03:00
Denis Kirillov
808aff5c66 [#1] Make walletconnect package internal
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-04-29 10:20:37 +03:00
Denis Kirillov
06060348ae [#1] Use body to provide object attribute
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-04-29 10:20:37 +03:00
Denis Kirillov
3727f5561d [#1] Support GET/RANGE object payload
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-04-29 10:20:37 +03:00
Denis Kirillov
dc1926f9c6 [#1] Add search route
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-04-29 10:20:37 +03:00
Denis Kirillov
c7c570fd10 [#1] Add wallet connect support
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-04-29 10:20:37 +03:00
Denis Kirillov
f5eab95f95 [#1] Add route to delete object
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-04-29 10:20:37 +03:00
Denis Kirillov
26f0ae93f4 [#1] Add route to list containers
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-04-29 10:20:37 +03:00