e02ee50d7b
Rename package name
...
Due to source code relocation from GitHub.
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2023-03-07 17:08:53 +03:00
ed983f8ad0
[TrueCloudLab#11] Update SDK to renew tokens beforehand
...
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-02-03 17:01:01 +03:00
5f01abf300
[ #8 ] Update neo-go and viper
...
Signed-off-by: Artem Tataurov <a.tataurov@yadro.com>
2023-01-25 15:23:50 +03:00
361acacf07
[TrueCloudLab#9] Update go version to 1.18
...
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-01-25 11:24:41 +03:00
7df26d9181
[ #6 ] Update SDK
...
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-01-10 11:25:14 +03:00
2d9eee81c2
[ #1 ] Build HTTP Gateway with FrostFS dependencies
...
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-12-15 13:26:08 +03:00
Denis Kirillov
408d914347
[ #234 ] Update SDK to support timeout for stream
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-11-15 18:06:53 +03:00
Denis Kirillov
a6ec194c2a
[ #233 ] Update sdk
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-11-15 10:22:36 +03:00
Denis Kirillov
5eb3c6b26d
[ #212 ] Update SDK to support interrupt pool dial
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-10-11 16:54:52 +03:00
Denis Kirillov
6190e2bd72
[ #209 ] Add check dirty version to CI
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-09-30 17:04:06 +03:00
Denis Kirillov
1c51979a03
[ #196 ] Update sdk
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-29 15:02:27 +03:00
Denis Kirillov
9ebcb6b964
[ #188 ] Update SDK to avoid panic on go1.19
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-24 17:57:40 +03:00
Denis Kirillov
0fb75a1cde
[ #178 ] Update SDK to v1.0.0-rc.5
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-25 14:27:24 +03:00
Denis Kirillov
a42606742a
[ #142 ] Support resolving container nicename
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-04-28 17:18:13 +03:00
Denis Kirillov
2b780c1772
[ #142 ] Update SDK
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-04-28 17:18:13 +03:00
Alex Vanin
2884abafd0
[ #143 ] Update go to v1.17
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-04-21 13:33:06 +03:00
Alex Vanin
54151992ab
[ #143 ] Update testcontainers-go to v0.13.0
...
This fixes vulnerabilities in indirect dependencies:
- docker/distribution (CWE-843)
- opencontainers/runc (CWE-190)
- opencontainers/image-spec (CWE-843)
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-04-21 13:33:06 +03:00
Denis Kirillov
5080b43a04
[ #139 ] Update SDK
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-04-08 00:23:12 +04:00
Denis Kirillov
d891c13cb3
[ #137 ] Drop sdk logger
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-03-29 10:15:59 +03:00
Denis Kirillov
6d362894ad
[ #132 ] Update NeoFS SDK to v1.0.0-rc.3
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-03-16 17:15:21 +03:00
Denis Kirillov
c4521300ac
[ #129 ] Update fasthttp to v1.34.0
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-03-11 13:56:49 +03:00
Leonard Lyubich
03985f2eda
[ #126 ] Upgrade NeoFS SDK Go to 2nd release candidate v1.0.0
...
Avoid using the deprecated elements.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-03-03 18:25:53 +03:00
Leonard Lyubich
c482bbd25a
[ #126 ] downloader: Replace Read
with Iterate
on ObjectListReader
...
Make `Downloader.DownloadZipped` to call `Iterate` method instead of
`Read` one during processing the `ObjectListReader`.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-03-03 18:25:53 +03:00
Leonard Lyubich
2b7e4a36fb
[ #126 ] Upgrade NeoFS SDK Go library
...
Core changes:
- `object.ID` moved to new package `oid`;
- `object.Address` moved to new package `address`;
- `pool.Object` interface changes.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-03-03 18:25:53 +03:00
Denis Kirillov
71e846a4fc
[ #115 ] Update sdk version to support priority
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-12-10 10:59:43 +03:00
Denis Kirillov
79501077ff
[ #100 ] Update testcontainers version to 0.12.0
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-12-01 16:53:01 +03:00
Denis Kirillov
cd0633cda0
[ #108 ] Add different expiration header formats
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-11-29 15:42:32 +03:00
Alex Vanin
c55c4a3557
[ #106 ] Update neo-go to the latest version
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-11-15 14:46:50 +03:00
Alex Vanin
79765fb7cc
[ #106 ] Update neofs-sdk-go to the latest version
...
Includes:
- fix for unavailable endpoints of client pool,
- session token cache with request retry in case
of missing session token,
- migrated neofs client.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-11-15 14:46:50 +03:00
Denis Kirillov
0b364504a7
[ #92 ] Support zip download
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-10-22 18:36:09 +03:00
Denis Kirillov
d2b0532929
[ #85 ] Add integration tests
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-09-07 13:14:46 +03:00
Denis Kirillov
eb6d46fe51
[ #82 ] Update sdk-go
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-28 13:07:08 +03:00
Angira Kekteeva
67ea967ec8
Update dependencies versions
...
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-07-24 11:46:57 +03:00
Denis Kirillov
5eed0fd22d
[ #67 ] Added streaming to download
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-24 13:06:13 +03:00
Denis Kirillov
2d41fbc95e
[ #68 ] Support NEP-6 wallets
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-23 14:53:04 +03:00
Denis Kirillov
fffb0b2f12
[ #63 ] Using client.Object from sdk
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-15 11:28:30 +03:00
Denis Kirillov
7734be609c
[ #60 ] Dropped grpc keepalive options
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-10 18:48:55 +03:00
Angira Kekteeva
124a30eec7
[ #57 ] go.mod: Update api-go and sdk-go versions
...
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-06-04 15:55:02 +03:00
Roman Khimov
e8b94553c3
*: update to use unneofsed sdk-go
...
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-31 23:07:01 +03:00
Angira Kekteeva
82b2126bfd
[ #46 ] *: Remove moved to sdk packages, refactoring
...
Removed connections, logger, neofs because they were moved to sdk repo.
Made changes in downloader, uploader, main.go and app.go via
refactoring of neofs.
Replaced dependencies to removed packages by sdk packages.
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-28 14:45:46 +03:00
masterSplinter01
8e76ec6a45
Merge pull request #45 from roman-khimov/bump-api-go
...
[#44 ] go.mod: update neofs-api-go to 1.26.1
2021-05-24 15:10:44 +03:00
Roman Khimov
51ede419af
[ #44 ] go.mod: update neofs-api-go to 1.26.1
...
Fix compatibility with the latest NeoFS nodes (0.20.0). Fixes #44 .
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-24 14:45:00 +03:00
Angira Kekteeva
33b1a28bf1
Replace http-gate by http-gw in files
...
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-18 15:14:36 +03:00
Roman Khimov
685c229a97
go.mod: update neofs-api-go to 1.26.0
...
Fix #39 .
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-13 19:26:29 +03:00
Roman Khimov
afbb9d51f1
*: drop github.com/pkg/errors dependency
...
Use standard error wrapping/unwrapping instead. The conversion is mostly
straightforward, but see grpc/grpc-go#2934 for GRPC `status.FromError`, it
doesn't currently support unwrapping/errors.As(), so we're unwrapping manually
here.
2021-04-30 14:31:14 +03:00
Roman Khimov
88e0963240
go.mod: temporarily use nspcc-dev fork of valyala/fasthttp
...
We need proper chunk processing.
2021-04-30 14:31:14 +03:00
Roman Khimov
464a0134bd
neofs: drop PrepareObjectOnsite option
...
It's using NeoFS node internal packages which shouldn't ever be used in gate
code, it's not adding any value to the code we have (standard api-go
interfaces work fine).
2021-04-30 14:31:14 +03:00
Pavel Korotkov
4c96885a42
[ #19 ] Add a version with no cdn-sdk deps
...
Signed-off-by: Pavel Korotkov <pavel@nspcc.ru>
2021-04-06 12:19:21 +03:00
Pavel Korotkov
237c247ec4
[ #13 ] Add bearer token usage in receive/upload methods
2021-02-16 16:22:25 +01:00
Evgeniy Kulikov
d09a1643e1
Update dependencies
...
- update dependencies
- github.com/nspcc-dev/cdn-sdk v0.3.4
- github.com/nspcc-dev/neofs-api-go v1.23.0
- github.com/valyala/fasthttp v1.20.0
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2021-02-12 12:19:43 +03:00