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
Denis Kirillov
acd8bbb34b
[ #129 ] Fix race condition tests
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-03-11 13:56:49 +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
f6ab94027c
[ #128 ] downloader: Avoid var naming collision
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-03-04 13:43:34 +03:00
Leonard Lyubich
271451dc32
[ #128 ] downloader: Simplify detecting the Content-Type from payload
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-03-04 13:43:34 +03:00
Alex Vanin
f55edbb613
[ #130 ] Remove race condition check in integration test
...
Race condition checks are suitable for unit tests
but mostly useless in case of full-size integration
test with neofs-all-in-one test container.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-03-04 13:41:42 +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
39c29c6d6a
[ #125 ] Set object ids in a separate function
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-02-15 12:21:42 +03:00