Leonard Lyubich
1031f3122e
[ #263 ] v2: Support new rpc library
...
Implement `message.Message` interface on all structures and use new methods
for conversion instead of functions. make `Unmarshal` and JSON methods to
use encoding functions from `message` library. Remove all per-service
clients and implement `rpc` library of the functions which execute NeoFS API
RPC through new RPC client. Remove no longer used gRPC per-service clients.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-03-17 14:03:49 +03:00
Leonard Lyubich
ebff07aaf2
[ #254 ] object: Support new values of search match type
...
Support STRING_NOT_EQUAL and NOT_PRESENT match types
of object search filters.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-11 15:04:13 +03:00
Leonard Lyubich
8fe135ab8c
[ #229 ] v2/object: Add hash fields to ShortHeader message
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-12-25 16:20:26 +03:00
Leonard Lyubich
2aa51d3add
v2/object: Fix NPE in SplitInfo.GetObject
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-12-11 14:48:27 +03:00
Leonard Lyubich
4567986682
[ #226 ] v2/object: Add tombstone field to DeleteResponseBody
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-12-10 18:26:23 +03:00
Alex Vanin
ded06674ac
[ #225 ] v2/object: Support more SplitInfo structures
...
- SplitInfo structure in object.HeadResponse
- SplitInfo structure in object.GetRangeResponse
- Raw flag in object.GetRangeRequest
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-12-08 10:23:27 +03:00
Alex Vanin
28aad71860
[ #225 ] Do not use wrappers on oneof object.HeadResponse types
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-12-08 10:23:27 +03:00
Alex Vanin
1fdeca84e1
[ #218 ] Support SplitInfo structure
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-12-03 16:09:38 +03:00
Alex Vanin
b9778464b9
[ #209 ] v2/object: Add splitID to unified structure
...
* Add getters/setters
* Support stable marshaling
* Support converters
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-26 11:56:30 +03:00
Leonard Lyubich
dc9fcd5d98
[ #182 ] Rename methods to match updated field names
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-10-28 14:11:49 +03:00
Alex Vanin
581cb2d2ba
[ #138 ] v2/object: Update to neofs-api jindo release
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:45:11 +03:00
Alex Vanin
ecb0a4be67
Split object service structs from types
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:44:36 +03:00
Alex Vanin
252b7036c7
Adopt service session removal in packages
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:44:30 +03:00
Alex Vanin
db12420c99
Move version and signature structures to refs package
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:44:19 +03:00
Alex Vanin
f1addc4cc5
Use checksum structure in object package
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:44:16 +03:00
Alex Vanin
e553843552
Update unified DeleteRequestBody structure after api update
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:43:21 +03:00
Alex Vanin
61c536148d
Fix short header version setter stack overflow
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:43:19 +03:00
Leonard Lyubich
7a55865f74
v2/object: Implement uni-structures for ObjectService
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-09-18 10:42:59 +03:00
Leonard Lyubich
b197e382ca
v2/object: Implement uni-structures for Object
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-09-18 10:42:41 +03:00
Alex Vanin
60e9c3d0d3
Update structure with grpc subdir
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:40:48 +03:00
Alex Vanin
1f143e54bd
Move api-v2 files into v2 subdir
...
This subdir contains generated proto files
and small wrappers.
2020-09-18 10:40:17 +03:00