Commit graph

135 commits

Author SHA1 Message Date
Roman Khimov
35ffc1fbc1 *: use sdk-go instead of http-gw
Now that the packages have moved there we can do it.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-28 14:05:46 +03:00
Roman Khimov
d19ce03072 *: drop old sdk dependecies, bump neofs-api-go version
I'm not sure it works, but it's enough code-wise for now. We're reusing some
http-gw components here that are to be moved into sdk-go in future.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-26 21:01:46 +03:00
Roman Khimov
69e3e22dbc cmd: drop grace package dependency
Note that signal.NotifyContext is a Go 1.16 feature.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-25 13:32:08 +03:00
Angira Kekteeva
9d496d70a7 [#53] *: Remove external pkg/errors dependency
Replaced functions from pkg/errors by functions from errors, fixed not fully correct comment

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-20 15:50:14 +03:00
Angira Kekteeva
acc84a6464 [#46] authmate: Add authmate'dependencies to go.mod
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-19 12:27:41 +03:00
Angira Kekteeva
a399590204 Replace s3-gate by s3-gw
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-18 14:12:24 +03:00
Evgeniy Kulikov
26636235d6 Update dependencies
- update dependencies
  - github.com/aws/aws-sdk-go v1.37.9
  - github.com/nspcc-dev/cdn-sdk v0.3.4
  - github.com/nspcc-dev/neofs-api-go v1.23.0

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2021-02-12 12:27:22 +03:00
Evgeniy Kulikov
8467a07c9b Update dependencies and fixes
- Closes #39
- Cleanup code
- Make code more readable
- Update dependencies
	- github.com/aws/aws-sdk-go v1.37.1
	- github.com/google/uuid v1.2.0
	- github.com/nspcc-dev/cdn-sdk v0.3.3
	- github.com/nspcc-dev/neofs-api-go v1.22.2

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2021-02-01 19:59:42 +03:00
Evgeniy Kulikov
c26045007b Release v0.14.1 with CDN SDK v0.3.1 and NeoFS API Go v1.22.1
- github.com/aws/aws-sdk-go v1.36.26 => v1.36.28
- github.com/google/uuid v1.1.4 => v1.1.5
- github.com/nspcc-dev/cdn-sdk v0.3.0 => v0.3.1
- github.com/nspcc-dev/neofs-api-go v1.22.0 => v1.22.1

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2021-01-18 11:04:54 +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
d7a36f2fb4 Migrate to CDN SDK release
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-12-02 12:36:18 +03:00
Evgeniy Kulikov
67f2239e6b Migrate to NeoFS API Go v1.20.3
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-11-27 15:37:25 +03:00
Evgeniy Kulikov
d8d6dc7593 Upgrade dependencies
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-11-24 09:57:40 +03:00
Evgeniy Kulikov
258993551c Prepare go modules to build
Need `GOPRIVATE=github.com/nspcc-dev` while repos in private:
- github.com/nspcc-dev/neofs-api-go
- github.com/nspcc-dev/neofs-authmate

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-11-09 15:28:42 +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
fbd4a83602 [#25] Refactoring over api/layer
closes #25

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-10-22 03:19:16 +03:00
Evgeniy Kulikov
ec56a1818e [#25] Upgrade dependencies
closes #25

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-10-19 04:03:32 +03:00
Evgeniy Kulikov
339c3d934d [#25] Upgrade dependencies
closes #25

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-10-13 12:30:12 +03:00
Pavel Korotkov
f6cb0a6ecc [#8] Update deps
Signed-off-by: Pavel Korotkov <pkorotkov@gmail.com>
2020-08-07 14:14:52 +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
4c6572141b Update dependencies (cleanup from legacy code usage) 2020-08-06 13:51:03 +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
b12b5008e3 NFSSVC-27 Update dependencies 2020-07-28 01:55:08 +03:00
Evgeniy Kulikov
e776e9c0cb NFSSVC-27 Implement list-buckets 2020-07-24 19:10:41 +03:00
Pavel Korotkov
5d0505001c Update deps 2020-07-21 02:42:48 +03:00
Evgeniy Kulikov
170f9b4b08 Update scripts for building docker image 2020-07-14 14:33:52 +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
Pavel Korotkov
ac500c8d09 Update deps 2020-07-07 10:10:05 +03:00
Evgeniy Kulikov
f117e2207d Remove minio/gateways 2020-07-06 12:22:09 +03:00
Evgeniy Kulikov
f36a911914 Prepare base application 2020-07-06 12:18:16 +03:00
Evgeniy Kulikov
8d97dcbf10 Cleanup + Makefile + Dockerfile 2020-07-03 18:08:57 +03:00
Evgeniy Kulikov
be43700e8f Add NeoFS ObjectLayer and connection pool 2020-07-03 16:58:49 +03:00
Evgeniy Kulikov
9bf57615b0 Initial commit based on https://github.com/minio/minio/releases/tag/RELEASE.2020-07-02T00-15-09Z 2020-07-03 15:03:06 +03:00