Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/control service object list #2933

Merged
merged 5 commits into from
Sep 19, 2024

Commits on Sep 17, 2024

  1. go.mod: update google.golang.org/grpc to v1.64.0

    Signed-off-by: Andrey Butusov <andrey@nspcc.io>
    End-rey committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    d030264 View commit details
    Browse the repository at this point in the history
  2. Makefile: use google.golang.org/protobuf to protoc

    Use `google.golang.org/protobuf` instead of `github.com/golang/protobuf` since
    the official repository recommends it using: https://github.com/golang/protobuf.
    
    Signed-off-by: Andrey Butusov <andrey@nspcc.io>
    End-rey committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    8eea2a3 View commit details
    Browse the repository at this point in the history
  3. node/control: add object list control command

    Includes API definition extending; server side streaming RPC implementation;
    protoc version update.
    The command requests server's storage engine list of objects, that are known by
    node. Does not include inhumed objects.
    
    Signed-off-by: Andrey Butusov <andrey@nspcc.io>
    End-rey committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    a5f122d View commit details
    Browse the repository at this point in the history
  4. neofs-cli/control: add object list control command

    Support command that gets list of objects in node. Create separate file for
    `control object` commands.
    
    ```
    $ neofs-cli control object list --endpoint s01.neofs.devenv:8081 -w services/storage/wallet01.json
    Enter password >
    A2FtcmZh76XqAym55fkCvzfB7dJ5dUt3fuGzQitGkW7S/CxSt4cFbwMtnuKHjqEjsWjctdfVWWTZqLkXheLHxjn4p
    HimRwmgw4PNasobAxGwVMCmV45rkjvYkYdV7toDoavMu/2YCzyvgz9HMfyBAAbGNmcsq98serp77hzJuc6F4qSz5w
    HimRwmgw4PNasobAxGwVMCmV45rkjvYkYdV7toDoavMu/2hgSnzrZHaQZLxLNXz4XEGbHdB9Y1zUjDZa3Z1foBnma
    
    $ neofs-cli control object list --endpoint s02.neofs.devenv:8081 -w services/storage/wallet02.json
    Enter password >
    HimRwmgw4PNasobAxGwVMCmV45rkjvYkYdV7toDoavMu/GrHcAXjgWiS69iVXBpe8YGKx1H23rBbfTCBL5WojaoSw
    
    $ neofs-cli control object list --endpoint s03.neofs.devenv:8081 -w services/storage/wallet03.json
    Enter password >
    A2FtcmZh76XqAym55fkCvzfB7dJ5dUt3fuGzQitGkW7S/5rTDeZTrgMt3DZE8nbT6sKFn1MiZUKZu4Gfk7cFrW7WY
    HimRwmgw4PNasobAxGwVMCmV45rkjvYkYdV7toDoavMu/2hgSnzrZHaQZLxLNXz4XEGbHdB9Y1zUjDZa3Z1foBnma
    HimRwmgw4PNasobAxGwVMCmV45rkjvYkYdV7toDoavMu/GrHcAXjgWiS69iVXBpe8YGKx1H23rBbfTCBL5WojaoSw
    4rj9mynn8tijZFK9mgdG1Zc2fjwdEJstwYC2iYRM8skw/CRuojN8Lv6nzyoEfQ4FEPWdZxSSAtM2rqQPMuZLMePJQ
    A2FtcmZh76XqAym55fkCvzfB7dJ5dUt3fuGzQitGkW7S/CxSt4cFbwMtnuKHjqEjsWjctdfVWWTZqLkXheLHxjn4p
    HimRwmgw4PNasobAxGwVMCmV45rkjvYkYdV7toDoavMu/2YCzyvgz9HMfyBAAbGNmcsq98serp77hzJuc6F4qSz5w
    
    $ neofs-cli control object list --endpoint s04.neofs.devenv:8081 -w services/storage/wallet04.json
    Enter password >
    4rj9mynn8tijZFK9mgdG1Zc2fjwdEJstwYC2iYRM8skw/CRuojN8Lv6nzyoEfQ4FEPWdZxSSAtM2rqQPMuZLMePJQ
    A2FtcmZh76XqAym55fkCvzfB7dJ5dUt3fuGzQitGkW7S/5rTDeZTrgMt3DZE8nbT6sKFn1MiZUKZu4Gfk7cFrW7WY
    
    ```
    
    Closes #2853.
    
    Signed-off-by: Andrey Butusov <andrey@nspcc.io>
    End-rey committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    9c03eca View commit details
    Browse the repository at this point in the history
  5. grpc: fix deprecate grpc.DialContext and grpc.WithBlock

    Use `grpc.NewClient` instead of `grpc.DialContext`.
    According
    https://github.com/grpc/grpc-go/blob/master/Documentation/anti-patterns.md
    don't use `WithBlock`.
    
    Signed-off-by: Andrey Butusov <andrey@nspcc.io>
    End-rey committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    e0af43c View commit details
    Browse the repository at this point in the history