Commit graph

1408 commits

Author SHA1 Message Date
Evgeniy Kulikov
c6bc8c513b NFSSVC-30 Isolate S3 routing from legacy code 2020-07-22 16:25:09 +03:00
Pavel Korotkov
324bbdb934 Change app name 2020-07-22 15:38:37 +03:00
Pavel Korotkov
e1c43497db Embed bearer token into context 2020-07-22 12:12:22 +03:00
Evgeniy Kulikov
1c6da41bee NFSSVC-25 Isolate health-checkers
- Add mime-type for health-check response
- Remove legacy health-checkers
2020-07-21 17:43:45 +03:00
Pavel Korotkov
4098bfda9c Merged in NFSSVC-23 (pull request #4)
[WIP] Isolate a new auth scheme within a subrouter
2020-07-21 10:50:37 +00:00
Pavel Korotkov
b5bd835cd5 Add error checking while creating auth center 2020-07-21 13:21:03 +03:00
Pavel Korotkov
c6b6076544 Get back checking severe auth errors 2020-07-21 13:07: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
ea7286c875 Split code into smaller parts within the auth package 2020-07-21 12:40:46 +03:00
Pavel Korotkov
6c0ddca8d0 Add missing error checks 2020-07-21 12:28:00 +03:00
Pavel Korotkov
e4f7a702dc Move auth HTTP header field regexp to a package level variable 2020-07-21 11:35:30 +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
22487b9ccf Enable auth validation for signed requests 2020-07-21 02:43:40 +03:00
Pavel Korotkov
5d0505001c Update deps 2020-07-21 02:42:48 +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
e0a8e48672 Merged in NFSSVC-24 (pull request #5)
NFSSVC-24 Metric isolation

It now collects:
* Info on invoked routes
* Durations of requests
* Tx/Rx bytes
2020-07-16 13:11:56 +00: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
a43c596f49 Remove enclove as a separate entity; move auth center to app settings 2020-07-15 23:16:27 +03:00
Pavel Korotkov
a890d9142d Clear useless comments 2020-07-15 18:31:05 +03:00
Pavel Korotkov
4fc7eaed34 Remove global state 2020-07-15 18:20:45 +03:00
Evgeniy Kulikov
f3f16ba768 NFSSVC-24 Remove unnecessary metrics route 2020-07-15 18:01:36 +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
e670e68226 Set legacy gateway name to the actual gate's name 2020-07-15 13:28:43 +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
170f9b4b08 Update scripts for building docker image 2020-07-14 14:33:52 +03:00
Evgeniy Kulikov
c38c4ca5db Add posibility to serve HTTPS/TLS connection 2020-07-13 18:50:11 +03:00
Evgeniy Kulikov
b9c4156e5b Fix S3 NeoFS integration 2020-07-13 14:25:26 +03:00
Evgeniy Kulikov
45d31752a9 Fixes for S3 API router 2020-07-13 13:22:37 +03:00
Evgeniy Kulikov
48d8138474 Move metrics, pprof and healthy routes to /system subrouter 2020-07-13 12:51:21 +03:00
Evgeniy Kulikov
151c3c672a Prepare to export 2020-07-13 02:05:51 +03:00
Evgeniy Kulikov
0bdd3e4507 Merged in refactoring (pull request #2)
Refactoring

Approved-by: Pavel Korotkov
2020-07-09 11:49:48 +00:00
Evgeniy Kulikov
212e1a50b7 Move s3-gate files to cmd/gate 2020-07-09 12:28:52 +03:00
Evgeniy Kulikov
3c7682402e Rename cmd -> legacy 2020-07-09 12:28:51 +03:00
Evgeniy Kulikov
1665c8e35e Rename cmd -> legacy 2020-07-09 12:28:51 +03:00
Evgeniy Kulikov
b75a189805 Refactoring cmd package 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
fc0a329f0f Update deps 2020-07-08 14:16:10 +03:00
Pavel Korotkov
0f14addfa3 Remove the cbrotli dep; set neofs-api-go a specific commit 2020-07-08 10:39:32 +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
cba8cbd13c Fix merge conflicts 2020-07-07 14:28:49 +03:00
Evgeniy Kulikov
2ccc778fca Move config to constants 2020-07-07 14:25:13 +03:00
Pavel Korotkov
ac500c8d09 Update deps 2020-07-07 10:10:05 +03:00
Pavel Korotkov
88f0f9fcbe Add a stub for auth scheme 2020-07-07 10:08:58 +03:00
Pavel Korotkov
2fee7d2577 Extract the app name 2020-07-07 10:07:59 +03:00
Pavel Korotkov
d6a970af48 Add a log line 2020-07-07 10:06:17 +03:00
Pavel Korotkov
589ab11401 Remove a useless file 2020-07-06 20:18:55 +03:00