Commit graph

428 commits

Author SHA1 Message Date
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
Denis Kirillov
0b57b7add3 [#147] Update README
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-04-19 20:10:00 +04:00
Denis Kirillov
1c2fec8182 [#147] Download zip by FilePath attribute
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-04-19 20:10:00 +04:00
Denis Kirillov
48ce84e65f [#140] Fix typos
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-04-15 03:26:02 +04:00
Denis Kirillov
eacd7be33e [#140] Improve docs
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-04-15 03:26:02 +04:00
Denis Kirillov
baf425453d [#139] fix lint
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-04-08 00:23:12 +04: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
9475786df8 [#137] Refactor unused metrics code
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-03-29 10:15:59 +03:00
Denis Kirillov
d891c13cb3 [#137] Drop sdk logger
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-03-29 10:15:59 +03:00
Alex Vanin
d1bdef6f83 [#133] Replace go get with go install
Since Go 1.16, go install can install a command at a version
specified on the command line while. Starting in Go 1.17,
installing executables with go get is deprecated.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-03-21 16:36:26 +03:00
Denis Kirillov
f572aeb6da Release v0.19.0
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-03-16 17:15:21 +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