Roman Khimov
5eb863dc22
*: fix golint warnings about comments to exported things.
2021-05-13 23:25:31 +03:00
Evgeniy Kulikov
2a93a216f8
Migrate to SDK 0.3.0 and fixes
...
- fix displaying list objects
- simplify `ListObjects`
- simplify `GetObjectHandler`
- simplify `HeadObjectHandler`
- add method for `GetBucketVersioningHandler`
- add method for `ListMultipartUploadsHandler`
- improvements for `HeadObjectHandler`, to display folders meta
- update dependencies
- github.com/aws/aws-sdk-go v1.36.26
- github.com/google/uuid v1.1.4
- github.com/gorilla/mux v1.8.0
- github.com/nspcc-dev/cdn-sdk v0.3.0
- github.com/nspcc-dev/neofs-api-go v1.22.0
- github.com/prometheus/client_golang v1.9.0
- github.com/stretchr/testify v1.7.0
- google.golang.org/grpc v1.35.0
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2021-01-14 20:39:48 +03:00
Evgeniy Kulikov
793925497a
Add listen-domains
...
- add listen-domains config key
- add method to fetch domains list to listen
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-12-10 18:11:45 +03:00
Evgeniy Kulikov
1cd636a24b
Refactoring api/auth package
...
Migrate to cred/bearer instead of CredentialsClient
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-11-24 19:31:57 +03:00
Evgeniy Kulikov
c1c8d56de5
Migrate cmd/gate to new components
...
- remove unused methods
- refactoring app.Worker
- migrate to new pool, client, auth and credentials
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-11-24 10:09:58 +03:00
Evgeniy Kulikov
4d605d1113
[ #25 ] Refactoring and make fixes
...
closes #25
closes #32
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-10-23 03:21:14 +03:00
Evgeniy Kulikov
424fb7a1d1
[ #25 ] Migrate cmd/gate to NeoFS API v2
...
Naive migration, without any tries to start application
closes #25
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-10-19 04:05:28 +03:00
Evgeniy Kulikov
65b5d6e3d2
[ #25 ] Fixes around cmd/gate
...
closes #25
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-10-13 12:31:23 +03:00
Pavel Korotkov
c972682430
[ #8 ] Switch outer code to using the new auth scheme
...
* Removed CLI flag for RSA key
* Passed through peers to auth center to be able to independently interact with a NeoFS node
* Added flag and loader for curve25519 (private) key
Signed-off-by: Pavel Korotkov <pkorotkov@gmail.com>
2020-08-07 14:12:27 +03:00
Evgeniy Kulikov
0161d2fbd3
[ #13 ] Rename go module name according to NSPCC standards
...
- refactoring s3 gate structure
- cleanup unused code
- rename go module to `github.com/nspcc-dev/neofs-s3-gate`
closes #13
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-08-06 15:02:13 +03:00
Evgeniy Kulikov
26dda9ef2b
Fixes for handler initialize
2020-08-06 13:50:04 +03:00
Evgeniy Kulikov
f7dc2095b1
Fixes for new NeoFS layer client
...
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-08-03 18:19:56 +03:00
Evgeniy Kulikov
e776e9c0cb
NFSSVC-27 Implement list-buckets
2020-07-24 19:10:41 +03:00
Pavel Korotkov
309179e9ba
Remove other useless stuff
2020-07-24 19:03:57 +03:00
Pavel Korotkov
de0a63a850
Remove useless log message
2020-07-24 19:00:08 +03:00
Pavel Korotkov
f6aeb06ee9
Fast hot fix before rework of auth scheme
2020-07-24 17:03:02 +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
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
a43c596f49
Remove enclove as a separate entity; move auth center to app settings
2020-07-15 23:16:27 +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
212e1a50b7
Move s3-gate files to cmd/gate
2020-07-09 12:28:52 +03:00