Leonard Lyubich
0f4d5d5f1e
[ #168 ] acl: Implement binary/JSON encoders/decoders on TokenLifetime
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-13 18:07:26 +03:00
Leonard Lyubich
233756ca8f
[ #168 ] acl: Implement binary/JSON encoders/decoders on Table
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-13 18:07:26 +03:00
Leonard Lyubich
ae68790bbd
[ #168 ] acl: Implement binary/JSON encoders/decoders on Record
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-13 18:07:26 +03:00
Leonard Lyubich
9ddc4c1f48
[ #168 ] acl: Implement binary/JSON encoders/decoders on Target
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-13 18:07:26 +03:00
Leonard Lyubich
7f42156201
[ #168 ] acl: Implement binary/JSON encoders/decoders on HeaderFilter
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-13 18:07:26 +03:00
Leonard Lyubich
9bebc1247d
[ #168 ] accounting: Implement binary/JSON encoders/decoders on Decimal
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-13 18:07:26 +03:00
Leonard Lyubich
52fae76533
[ #168 ] sdk/accounting: Refactor Decimal type
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-13 18:07:26 +03:00
Leonard Lyubich
e721734599
[ #168 ] netmap: Implement binary and JSON encoders/decoders on Filter
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-13 18:07:26 +03:00
Alex Vanin
874a4b937f
[ #193 ] pkg/client: Fix error message typos
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-13 12:28:00 +03:00
Alex Vanin
d442b204ca
[ #193 ] pkg/client: Update container structure
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-13 12:28:00 +03:00
Alex Vanin
5ff7b5ba6b
[ #193 ] pkg/container: Increase test coverage
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-13 12:28:00 +03:00
Alex Vanin
f16a420bed
[ #193 ] pkg/container: Wrap container structure with SDK functions
...
All setters and getters should work with SDK types.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-13 12:28:00 +03:00
Alex Vanin
7894749060
[ #192 ] v2/netmap: Fix client error messages
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-11 14:07:01 +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
fe48e3ab5b
[ #191 ] pkg/object: Use root
and phy
filters as flags
...
Inverted values for `root` and `phy` filters now are not supported.
Therefore these filters works like flags. It either presented in
search query or not.
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
Alex Vanin
d704795dcc
[ #189 ] sdk/netmap: Define unspecified clause
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-06 09:28:50 +03:00
Leonard Lyubich
162b0de725
[ #189 ] sdk/client: Return NodeInfo SDK type from EndpointInfo method
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-06 09:28:50 +03:00
Leonard Lyubich
9834ed4e68
[ #189 ] sdk/netmap: Get rid of the use of v2 types in the placement code
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-06 09:28:50 +03:00
Leonard Lyubich
40d7c9cd93
[ #189 ] sdk/netmap: Implement NodeInfo JSON encode/decode functions
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-06 09:28:50 +03:00
Leonard Lyubich
8367b498d9
[ #189 ] sdk/netmap: Implement NodeInfo type
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-06 09:28:50 +03:00
Leonard Lyubich
6347f846eb
[ #189 ] sdk/netmap: Implement NodeAttribute type
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-06 09:28:50 +03:00
Leonard Lyubich
d4f5c27d47
[ #189 ] sdk/netmap: Implement NodeState enum
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-06 09:28:50 +03:00
Leonard Lyubich
53697081ce
[ #189 ] sdk: Fix type conflicts after netmap package refactoring
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-06 09:28:50 +03:00
Leonard Lyubich
9f19139999
[ #189 ] sdk/netmap: Refactor PlacementPolicy type
...
Replace alias to v2 type PlacementPolicy with v2-compatible implementation.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-06 09:28:50 +03:00
Leonard Lyubich
6a29d9c360
[ #189 ] sdk/netmap: Refactor Replica type
...
Replace alias to v2 type Replica with v2-compatible implementation.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-06 09:28:50 +03:00
Leonard Lyubich
eb96fffa5c
[ #189 ] sdk/netmap: Refactor Selector type
...
Replace alias to v2 type Selector with v2-compatible implementation.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-06 09:28:50 +03:00
Leonard Lyubich
fd0c10b832
[ #189 ] sdk/netmap: Refactor Filter type
...
Replace alias to v2 type Filter with v2-compatible implementation.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-06 09:28:50 +03:00
Leonard Lyubich
8c1afc6bab
[ #189 ] sdk/netmap: Refactor Clause enum
...
Replace alias to v2 type Clause with v2-compatible implementation.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-06 09:28:50 +03:00
Leonard Lyubich
6d8612fd51
[ #189 ] sdk/netmap: Refactor Operation enum
...
Replace alias to v2 type Operation with v2-compatible implementation.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-06 09:28:50 +03:00
Leonard Lyubich
e4111ff3e7
[ #190 ] sdk/object: Implement AddParentIDFilter method on SearchFilters
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-06 09:25:40 +03:00
Alex Vanin
3fb3cfd1a5
[ #186 ] sdk/netmap: Use JSON placement policy converters in SDK
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-05 10:38:04 +03:00
Alex Vanin
e4d94bbe03
[ #186 ] v2/netmap: Add JSON converter for placement policy
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-05 10:38:04 +03:00
Leonard Lyubich
2b171e1617
[ #188 ] sdk: Implement Epoch method
...
Implement Epoch method on Client that receives epoch number through Netmap
.LocalNodeInfo call.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-05 09:58:21 +03:00
Leonard Lyubich
89a7a946dc
[ #187 ] sdk: Implement IsSupportedVersion function
...
Implement function that checks the compatibility of the specified version
with the current NeoFS revision.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-03 11:36:23 +03:00
Alex Vanin
352e99d9b9
[ #185 ] v2: Return errors in JSON converters
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-10-29 10:15:28 +03:00
Leonard Lyubich
ac38d13f04
[ #182 ] sdk/object: Refactor a way to add filters by properties
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-10-28 14:11:49 +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
88c8c08c6b
[ #182 ] sdk/object: Implement methods for adding object search filters
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-10-28 14:11:49 +03:00
Leonard Lyubich
6f45f713c1
[ #182 ] sdk/eacl: Implement convenient methods for adding object filters
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-10-28 14:11:49 +03:00
Leonard Lyubich
309c39481e
[ #182 ] v2/acl: Define filter keys for object headers
...
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
7f0f42bc30
[ #180 ] sdk/client: Set session token field in all requests
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-10-28 12:15:49 +03:00
Leonard Lyubich
b2ba0eef07
[ #180 ] sdk/client: Implement methods that attach tokens to Client
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-10-28 12:15:49 +03:00
Leonard Lyubich
805ad54f41
[ #180 ] sdk/client: Make defaultOptions func a Client method
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-10-28 12:15: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
5494d3417f
[ #172 ] sdk/object: Define well-known application attributes
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-10-22 19:15:45 +03:00