Commit graph

36 commits

Author SHA1 Message Date
Evgeniy Kulikov
a8c8bdaadf Add NeoFS helper to fetch object by refs.Address
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-08-03 18:08:55 +03:00
Evgeniy Kulikov
2731246239 Refactoring ObjectLayer
- simplify layer.Client
- refactoring neofs pool client

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-08-03 14:51:28 +03:00
Evgeniy Kulikov
a200ae327a NFSSVC-27 Add session token workaround to connection pool
- Renew token for connections
- Pool.SessionToken for connection and options

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-07-29 14:30:20 +03:00
Evgeniy Kulikov
1db70efd7b NFSSVC-27 Add CID to Bucket struct
This is done in order to cache the list of containers in the future
2020-07-28 11:43:42 +03:00
Evgeniy Kulikov
504ef4da91 NFSSVC-27 Return list of buckets from getContainerList 2020-07-28 01:56:10 +03:00
Evgeniy Kulikov
58fdcd090f NFSSVC-27 Fixes for auth middleware 2020-07-28 01:54:47 +03:00
Evgeniy Kulikov
1ca3e6e04b NFSSVC-27 Simplify ListBuckets handler 2020-07-27 09:49:23 +03:00
Evgeniy Kulikov
e59d62237e NFSSVC-27 Migrate to auth.GetBearerToken 2020-07-24 19:24:35 +03:00
Evgeniy Kulikov
e776e9c0cb NFSSVC-27 Implement list-buckets 2020-07-24 19:10:41 +03:00
Pavel Korotkov
c939abaf5e Add missing return 2020-07-24 17:05:33 +03:00
Pavel Korotkov
ae66e4de61 Add throwing error for GetBearerToken method 2020-07-23 11:05:50 +03:00
Pavel Korotkov
916a216da5 Move user auth procedure to S3 API router; activate overall setting bearer tokens in neofs objects 2020-07-22 22:48:34 +03:00
Pavel Korotkov
9662fb0019 Merged master into NFSSVC-26 2020-07-22 19:06:43 +03:00
Pavel Korotkov
57466b3db2 Add getting/setting bearer token at the auth package 2020-07-22 19:02:35 +03:00
Pavel Korotkov
1aa22329fa Add setting bearer token in container list method 2020-07-22 17:58:35 +03:00
Evgeniy Kulikov
c6bc8c513b NFSSVC-30 Isolate S3 routing from legacy code 2020-07-22 16:25:09 +03:00
Pavel Korotkov
24b19152c4 Remove aliasing 2020-07-21 12:58:53 +03:00
Pavel Korotkov
3870f59484 Rename GetNeoFSKey(Public/Private)Key to GetNeoFS(Public/Private)Key 2020-07-21 12:44:25 +03:00
Pavel Korotkov
3355a54272 Merge branch 'master' of bitbucket.org:nspcc-dev/neofs-s3-proto into NFSSVC-23 2020-07-21 10:46:53 +03:00
Pavel Korotkov
d9b146628d Tune getting bearer token; prepare for passing through bearer token 2020-07-20 20:23:16 +03:00
Pavel Korotkov
3ff7028229 Add early support of auth middleware 2020-07-16 18:33:47 +03:00
Evgeniy Kulikov
b9cc4acb99 NFSSVC-24 Migrate and refactoring metrics
- Request time duration
- Collect API/Network stats
2020-07-16 15:42:06 +03:00
Pavel Korotkov
aa28121466 Introduce a auth center + secure enclave in a separate package 2020-07-15 16:48:25 +03:00
Pavel Korotkov
d68347ff4d Add secure enclave 2020-07-15 13:01:22 +03:00
Evgeniy Kulikov
dd31b28ab7 Add logging to ObjectLayer.ListBuckets 2020-07-14 16:12:30 +03:00
Evgeniy Kulikov
b9c4156e5b Fix S3 NeoFS integration 2020-07-13 14:25:26 +03:00
Evgeniy Kulikov
151c3c672a Prepare to export 2020-07-13 02:05:51 +03:00
Evgeniy Kulikov
1665c8e35e Rename cmd -> legacy 2020-07-09 12:28:51 +03:00
Pavel Korotkov
05aedee59e Add encrypt/decrypt logic 2020-07-08 14:16:48 +03:00
Pavel Korotkov
2a1a8aa379 Move auth file to layer; add RSA keys 2020-07-08 02:37:27 +03:00
Evgeniy Kulikov
5254fd943b Wrap gRPC errors 2020-07-07 14:31:55 +03:00
Evgeniy Kulikov
2ccc778fca Move config to constants 2020-07-07 14:25:13 +03:00
Pavel Korotkov
88f0f9fcbe Add a stub for auth scheme 2020-07-07 10:08:58 +03:00
Evgeniy Kulikov
55a257f5ff Update to NeoFS API v1.1.0 2020-07-03 17:12:30 +03:00
Evgeniy Kulikov
d78a2c4488 Fix NeoFS Object Layer -> GetObjectNInfo 2020-07-03 17:10:18 +03:00
Evgeniy Kulikov
be43700e8f Add NeoFS ObjectLayer and connection pool 2020-07-03 16:58:49 +03:00