Commit graph

372 commits

Author SHA1 Message Date
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
Denis Kirillov
2764fabf04 [#125] Use the same HEAD, GET headers formation
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-02-15 12:21:42 +03:00
Angira Kekteeva
9d085740e0 [#123] Add url-encoded queries for prefix values
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2022-01-27 16:51:11 +03:00
Angira Kekteeva
c11b2332f9 [#123] Add url-encoded queries for attributes
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2022-01-27 16:51:11 +03:00
Denis Kirillov
c21217bc62 [#120] Fix project name
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-12-27 16:36:09 +03:00
Angira Kekteeva
2110e924e9 Release v0.18.0
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-12-10 16:13:38 +03:00
Denis Kirillov
567f54d82d [#115] Fix tests
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-12-10 10:59:43 +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
Angira Kekteeva
1bb6c5f384 [#111] Fix X- headers
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-12-09 16:12:13 +03:00
Angira Kekteeva
d6dd244756 [#111] Fix expiration epoch headers
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-12-09 16:12:13 +03:00
Angira Kekteeva
dbbc9e05cf [#111] Move attributes to a separate file
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-12-09 16:12:13 +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
Angira Kekteeva
06be798111 [#109] Add version to logs in start
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-11-29 13:56:36 +03:00
Alex Vanin
89e03f1280 Release v0.17.0
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-11-15 15:52:28 +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
6265fcb26a [#105] Add newline to errors
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-11-12 15:32:18 +03:00
Alex Vanin
3ef46151d2 [#102] test: Set up pool with SessionExpiration value
neofs-node v0.26.1 release tracks session token expiration
more closely, so it has to be specified correctly.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-11-12 15:13:02 +03:00
Denis Kirillov
0d2621d346 [#94] Fix multiple testcontainer images
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-11-01 12:03:43 +03:00
Denis Kirillov
9b92c0146c [#96] Add zip compression
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-11-01 11:27:22 +03:00
Denis Kirillov
62dd8b1927 [#92] Use only the latest aio testcontainer
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-10-22 18:36:09 +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
Angira Kekteeva
0e2861152d [#91] Replace golint by revive
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-10-04 12:38:17 +03:00
Denis Kirillov
0597c0c143 [#87] Allow canonical X-Attribute-Neofs-* headers
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-09-13 13:15:26 +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
anastasia prasolova
5caac8f526 [#86] Remove GitHub workflow of image publishing
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-09-01 12:59:18 +03:00
Denis Kirillov
196cfb3137 CHANGELOG: release v0.16.1
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-29 10:15:41 +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
Alex Vanin
2355162386
Merge pull request #81 from masterSplinter01/update-versions
Update dependencies versions
2021-07-26 10:04:49 +03:00
Angira Kekteeva
67ea967ec8 Update dependencies versions
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-07-24 11:46:57 +03:00
Alex Vanin
4d3d80f007
Merge pull request #80 from KirillovDenis/bugfix/30-correct_404_error
[#30] Fix not found responses
2021-07-21 11:22:28 +03:00
Denis Kirillov
03a3f986ff [#30] Fix not found responses
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-20 13:40:39 +03:00
Alex Vanin
ce32b26e87
Merge pull request #79 from KirillovDenis/feature/76_added_head_request
[#76] Added HEAD methods
2021-07-15 16:33:55 +03:00
Denis Kirillov
87918483c6 [#76] Refactor HeadObject logic
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-15 10:57:22 +03:00
Denis Kirillov
d856fdf4c4 [#76] Added HEAD methods
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-14 18:56:27 +03:00
Denis Kirillov
2b8aa4914e [#77] Added requests logging
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-09 13:48:50 +03:00
Roman Khimov
9241156af4 README: fix typo 2021-06-29 17:19:30 +03:00
Roman Khimov
7d8b89b850 CHANGELOG: release v0.16.0 2021-06-29 17:01:05 +03:00
Kirillov Denis
cca416ad75
Merge pull request #75 from roman-khimov/fix-last-modified-header
downloader: fix Last-Modified header
2021-06-29 13:01:10 +03:00
Roman Khimov
dee182a0c1 downloader: fix Last-Modified header
It should never ever be sent in local time, instead of
  Last-Modified: Tue, 29 Jun 2021 12:02:57 MSK
one should receive
  Last-Modified: Tue, 29 Jun 2021 09:02:57 GMT

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-06-29 12:25:14 +03:00
Angira Kekteeva
6cc9faad00
Merge pull request #74 from KirillovDenis/feature/71-yaml_config
[#71] Fix yaml config support
2021-06-28 17:23:30 +03:00
Denis Kirillov
5b6cc990c0 [#71] Fix yaml config support
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-28 16:17:08 +03:00
Roman Khimov
4f3620fdff
Merge pull request #72 from KirillovDenis/feature/67-download_streaming
[#67] Added streaming to download
2021-06-24 13:28:50 +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
Roman Khimov
222a434e5c
Merge pull request #70 from KirillovDenis/feature/68-nep6_wallet_support
[#68] Support NEP-6 wallets
2021-06-23 17:21:32 +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
Roman Khimov
b1c72b83a9 go.sum: go mod tidy
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-06-22 13:56:04 +03:00