Commit graph

339 commits

Author SHA1 Message Date
23df22fe35 [#198] Add unreleased section in changelog
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-01 17:23:27 +04:00
a1052c04db [#198] Fix expiration epoch calculation
Previous implementation does not provide 'at least'
lifetime guarantee.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-01 17:23:27 +04:00
Denis Kirillov
4dcdb8ef02 [#197] Update lint to v1.49.0
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-30 16:41:09 +03:00
Denis Kirillov
fdfcc7a474 [#197] Update go version to 1.19
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-30 16:41:09 +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
e0ab929410 [#194] Use gauge instead of counter for metrics
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-25 11:00:24 +03:00
Denis Kirillov
4348f7253a [#188] Fix tests
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-24 17:57:40 +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
035f043da6 [#189] Mention NNS in README
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-15 11:12:56 +03:00
Denis Kirillov
1bd31a9e1d [#191] Fix lint issues
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-12 13:44:26 +03:00
6789dbc6a9 [#190] Filter version tags for version calculation
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2022-08-12 12:51:17 +03:00
Angira Kekteeva
d8b04223d4 [#186] Improve wallet params
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2022-08-03 17:57:48 +03:00
Angira Kekteeva
9d4049cfe3 [#186] Don't print env vars with empty values
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2022-08-03 17:57:48 +03:00
Denis Kirillov
ee49355bb7 [#179] Expose pool metrics
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-02 17:26:11 +03:00
Denis Kirillov
21b0af9d41 Release v0.23.0
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-02 10:52:46 +03:00
Denis Kirillov
0f7737088d [#184] Add config param for pool error threshold
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-29 11:23:44 +03:00
Denis Kirillov
af732d294c [#171] Sync metrics and pprof configuration
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-29 09:49:57 +03:00
Alex Vanin
f0e8bde761 [#182] Drop GO111MODULE from builds
It is enabled by default since go1.16

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-07-28 09:11:34 +03:00
Alex Vanin
98991d63ae Release v0.22.0
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-07-25 17:31:01 +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
f46ee45843 [#175] Return pointer from newStateMetrics
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-22 17:17:36 +03:00
Denis Kirillov
cf018c2fab [#175] Add health metric
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-22 17:17:36 +03:00
Denis Kirillov
dd50c4ed55 [#172] Change rpc_endpoint param example
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-22 17:16:44 +03:00
Denis Kirillov
3c64a33b2f [#172] Change pool defaults params
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-22 17:16:44 +03:00
Denis Kirillov
d9317f261e [#172] Describe configuration
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-22 17:16:44 +03:00
Denis Kirillov
a2d667acf9 [#169] Update VERSION calculating
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-18 13:35:05 +03:00
Denis Kirillov
4a2f9d6d6c [#169] Unify version output
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-18 13:35:05 +03:00
Alex Vanin
99eb87bec7 Add credits
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-07-14 12:12:13 +03:00
Denis Kirillov
1821248596 [#167] Use localhost instead of 127.0.0.1
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-07-13 15:39:27 +03:00
Angira Kekteeva
d81587f304 [#166] Add comment about empty password to examples
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2022-06-29 19:14:24 +03:00
Denis Kirillov
6ce5fe8025 Release v0.21.0
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-06-20 18:34:44 +03:00
Denis Kirillov
f88b4634e7 [#165] Drop workflow_dispatch
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-06-20 18:34:44 +03:00
Denis Kirillov
85ee0c44a2 [#163] Fix zip streaming
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-06-20 09:42:06 +03:00
Alex Vanin
0a0af13bea [#159] Unify docker targets for binary building
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-06-15 13:21:13 +03:00
Alex Vanin
6684ea1e3a [#159] Add docker/all target
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-06-15 13:21:13 +03:00
Alex Vanin
40e86fbfd6 [#159] Tidy Makefile
- Remove help target. Help target will always ignore variable targets,
  it is confusing.
- Remove imports target. Go fmt is enough.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-06-15 13:21:13 +03:00
Alex Vanin
5baa2774d5 [#159] Add docker/$(BINS) target
Use this target to build binaries in clean docker environment.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-06-15 13:21:13 +03:00
Denis Kirillov
b0b724393a [#148] Fix lint errors
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-06-07 17:19:33 +03:00
Denis Kirillov
562c7e994c [#148] Add custom multipart reader
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-06-07 17:19:33 +03:00
Denis Kirillov
8ced5f40e8 [#158] Update CodeQL action to v2
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-06-07 17:18:32 +03:00
Denis Kirillov
0bdc72cb28 [#161] Fix lint
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-06-07 13:10:12 +03:00
Denis Kirillov
97cde6e262 Release v0.20.0
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-04-29 12:26:40 +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
Elizaveta Chichindaeva
11283c1c79 [#153] English Check
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-04-22 18:05:51 +03:00
Alex Vanin
1e3df95eed [#145] Use application context in NeoFS API requests
It is meaningless to use RequestCtx as a context.Context
for NeoFS operation, because context won't be closed
until application shutdown. Moreover, it also triggers
data race detection, because server's done channel, which
is accessible for reading from RequestCtx, is set to `nil`.

Using application context doesn't change gateway behavior,
but it suppresses data race trigger at shutdown. It also
allows possibility to set configurable timeouts for NeoFS
networking if we will ever need them.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-04-22 15:33:11 +04:00
Alex Vanin
d906732ef4 [#146] Update default values for HTTP_GW_READ/WRITE_TIMEOUT
10 minute upload and 5 minute download timeouts are long enough
to handle average size objects in the real networks. For big
data streams these timeouts should be disabled.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-04-22 15:21:42 +04:00
Denis Kirillov
4f2b21a14b [#144] Add more verbose error output
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-04-22 15:14:52 +04: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