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
42cd897b25
[ #225 ] v2/object: Update GRPC files from neofs-api
...
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
b683dbe7e6
[ #218 ] pkg/object: Add marshal operations for SplitInfo
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-12-03 16:09:38 +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
3d08d8140f
[ #209 ] object: Support splitID
search attribute
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-26 11:56:30 +03:00
Alex Vanin
79c76e87e4
[ #209 ] object: Remove childfree
search attribute
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-26 11:56:30 +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
Alex Vanin
d441193952
[ #209 ] v2/object: Recompile GRPC files and add SplitID setter
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-26 11:56:30 +03:00
Leonard Lyubich
9325e22871
[ #168 ] object: Implement binary/JSON encoders/decoders on Object
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-13 18:07:26 +03:00
Leonard Lyubich
9cdd14841a
[ #168 ] object: Implement binary/JSON encoders/decoders on HeaderWithSig
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-13 18:07:26 +03:00
Leonard Lyubich
b8f86f1a60
[ #168 ] object: Implement binary/JSON encoders/decoders on Header
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-13 18:07:26 +03:00
Leonard Lyubich
78374caa41
[ #168 ] object: Implement binary/JSON encoders/decoders on SplitHeader
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-13 18:07:26 +03:00
Leonard Lyubich
0caff85fb7
[ #168 ] object: Implement binary/JSON encoders/decoders on Attribute
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-13 18:07:26 +03:00
Leonard Lyubich
ce0d70fa02
[ #168 ] object: Implement binary/JSON encoders/decoders on ShortHeader
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-13 18:07:26 +03:00
Alex Vanin
abed8a9156
[ #191 ] v2: Add ObjectID filters for ACL and Object packages
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-11 10:35:34 +03:00
Alex Vanin
91eade02cd
[ #191 ] v2/object: Rename leaf
filter to phy
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-11 10:35:34 +03:00
Alex Vanin
ef31dec43a
[ #191 ] Recompile latest neofs-api repository
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-11 10:35:34 +03:00
Leonard Lyubich
6b54019148
[ #182 ] v2/object: Define boolean property values
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-10-28 14:11:49 +03:00
Leonard Lyubich
31b1bed5d7
[ #182 ] v2/object: Define reserved search filter keys
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-10-28 14:11:49 +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
Leonard Lyubich
5be034ab80
[ #182 ] Regenerate proto-compiled files
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-10-28 14:11:49 +03:00
Leonard Lyubich
ad0b01e892
[ #172 ] Improve the readability of named attribute constants
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-10-22 19:15:45 +03:00
Leonard Lyubich
342eeb47a8
[ #172 ] v2/object: Define well-known system attributes
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-10-22 19:15:45 +03:00
Alex Vanin
8351c78f58
[ #172 ] Use protobuf v2 API for go
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-10-20 13:45:14 +03:00
Alex Vanin
80b7033606
[ #172 ] Update neofs-api with rich docs and JSON attributes
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-10-20 13:45:14 +03:00
Alex Vanin
790add6538
[ #139 ] v2/object: Fix string conversion errors for go1.15
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:45:11 +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
Leonard Lyubich
e222c441e5
[ #132 ] v2/object: Implement stable unmarshaler on Object
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-09-18 10:45:11 +03:00
Alex Vanin
86d56086e3
Rename unified client constructors
...
Client constructor `New` will be used as `package.New()`
in external packages. This definition is not very clear
since it can create new structure or new client or whatever.
`package.NewClient()` is quite unambiguous.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:45:08 +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
ae1c1a351c
Fix unified client tests
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:44:33 +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
556be90818
Recompile proto files with neofs-api jindo-rc-1
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:44:06 +03:00
Alex Vanin
bcacfb9cf6
Add object service interface for external clients
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:44:04 +03:00
Alex Vanin
e55b59bde7
Use protocol-specific names for stream structures
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:44:01 +03:00
Alex Vanin
5e25c76f40
Add client for object service
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:43:59 +03:00
Alex Vanin
dc91753206
Add stable marshal for object service
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:43:27 +03:00
Alex Vanin
93d2d12984
Add stable marshal for object structure
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:43:24 +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
Alex Vanin
c94cb44b58
Update neofs-api to latest jindo version
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:43:07 +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
b3cb483894
Adopt neofs-api structure changes
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:41:58 +03:00
Alex Vanin
8a94a6344a
Recompile proto files with latest neofs-api
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:41:55 +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
59858805a8
Update field names in setters and tests
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:40:40 +03:00