Denis Kirillov
eeeaa8a4fd
[ #14 ] Added tests for sampler
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-18 16:24:57 +03:00
Evgenii Stratonikov
4a0ed2f6ea
[ #3 ] policy: update doc.go
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-06-15 11:42:14 +03:00
Evgenii Stratonikov
f5413e94b5
[ #3 ] policy/test: increase test coverage
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-06-15 11:42:14 +03:00
Evgenii Stratonikov
e78eb268a9
[ #3 ] policy/test: remove debug print
2021-06-15 11:42:14 +03:00
Evgenii Stratonikov
0f5ce2e8bb
[ #3 ] policy: allow to use brackets in filters
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-06-15 11:42:14 +03:00
Evgenii Stratonikov
3aeeafe79e
[ #3 ] policy: use ANTLRv4 parser generator
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-06-15 11:42:14 +03:00
Denis Kirillov
8d8a5f8a86
[ #12 ] Ensuring that pool implements interface
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-15 10:46:44 +03:00
Denis Kirillov
e71da21f3a
[ #12 ] Implemented client.Object in Pool
...
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-13 15:18:43 +03:00
Denis Kirillov
10284ddd63
[ #9 ] Dropped direct gRPC connections
...
Using neofs-api-go client.New to create grpc connections.
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-09 17:27:17 +03:00
Roman Khimov
cf9a2d1e54
pool: don't use deprecated token.SessionToken
...
pkg/pool/pool.go:86:32 staticcheck SA1019: token.SessionToken is deprecated: use session.Token instead
pkg/pool/pool.go:92:16 staticcheck SA1019: token.SessionToken is deprecated: use session.Token instead
pkg/pool/pool.go:151:46 staticcheck SA1019: token.SessionToken is deprecated: use session.Token instead
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-06-04 13:35:52 +03:00
Roman Khimov
878f2cd855
neofs: drop package
...
We don't really need Credentials (it's all about private key) and ClientPlant
(it's a pool). NewEphemeralKey moved temporarily to pool.
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-28 23:13:47 +03:00
Angira Kekteeva
7cfe91fac7
[ #4 ] pool: Rename exported structs in pool pkg
...
Renamed PoolBuilderOptions to BuilderOptions and PoolBuilder to Builder
because usages of them with prefix pool.* in other packages stutter.
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-25 14:58:55 +03:00
Angira Kekteeva
9f476e3c16
[ #4 ] neofs: Remove useless neofsClientObject
...
Also ObjectClient interface and its functions
Resolve imports
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-25 14:27:21 +03:00
Angira Kekteeva
4225a21ea5
[ #4 ] *: Add connections, neofs, logger from httpgw
...
Commit in http-gw: a4ad52e181e3653ee43742e2beb8c594c487c8cc
Rename connections dir and pkg to pool
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-25 14:00:05 +03:00
Angira Kekteeva
05d97531a9
[ nspcc-dev/neofs-node#116 ] policy: Fix grammar.go
...
Linter prints warnings because of tags on structs
on grammar.go. But we need this syntax, so govet
and golint are turned off for this file.
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-21 00:02:33 +03:00
Angira Kekteeva
0caf8cfd95
[ nspcc-dev/neofs-node#116 ] policy: Add comments
...
Added comments to exported variables and
functions, fix typos in comments and extra
newlines in code
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-21 00:01:28 +03:00
Angira Kekteeva
4d1900e543
[ nspcc-dev/neofs-node#116 ] policy: Replace dependency
...
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-20 23:01:12 +03:00
Angira Kekteeva
0eeddf6dfe
[ nspcc-dev/neofs-node#116 ] policy: Move files from neofs-node repo
...
Took from commit on neofs-node: f81ecbe8db17e63674a47b4b6d49575aced3c16d
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-20 23:01:12 +03:00