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

go.mod: Upgrade to latest github.com/nspcc-dev/neofs-sdk-go #2489

Merged
merged 7 commits into from
Sep 8, 2023

Commits on Sep 8, 2023

  1. go.mod: Upgrade to NeoFS SDK module to RC-11

    * `Client` methods' signature were slightly changed
    * object search `Read` method returns error instead of bool now, but
      `Iterate` is almost the same and, at the same time, much easier
    * test randomizers do not return pointers now
    
    Signed-off-by: Leonard Lyubich <[email protected]>
    cthulhu-rider committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    b1eb194 View commit details
    Browse the repository at this point in the history
  2. object: Use new constant key to the expiration attribute

    The constant is now declared in the NeoFS SDK and has same value, so
    NeoFS API Go usage is not needed anymore for this.
    
    Refs #1147.
    
    Signed-off-by: Leonard Lyubich <[email protected]>
    cthulhu-rider committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    986d414 View commit details
    Browse the repository at this point in the history
  3. cli/container: Access user attributes using dedicated methods

    After recent changes, NeoFS SDK provides methods to access user
    container/object attributes only, so there is no more need to filter
    them manually.
    
    Refs #1147.
    
    Signed-off-by: Leonard Lyubich <[email protected]>
    cthulhu-rider committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    b952548 View commit details
    Browse the repository at this point in the history
  4. metabase: Use constants and methods from NeoFS SDK instead of API Go

    SDK recently provided full functionality related to object filters, so
    there is no more need to import API Go lib.
    
    Refs #1147.
    
    Signed-off-by: Leonard Lyubich <[email protected]>
    cthulhu-rider committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    6305a0b View commit details
    Browse the repository at this point in the history
  5. crypto: Instantiate neofscrypto.Signature via constructor

    SDK recently provided constructor of signature instances that can be
    used when the signature is transmitted differently from the NeoFS API
    protocol (e.g. in smart contracts or in Control service).
    
    Refs #1147.
    
    Signed-off-by: Leonard Lyubich <[email protected]>
    cthulhu-rider committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    dbc5d27 View commit details
    Browse the repository at this point in the history
  6. ir/reputation: Drop no longer relevant FIXMEs

    They have already been resolved earlier.
    
    Closes #1147.
    
    Signed-off-by: Leonard Lyubich <[email protected]>
    cthulhu-rider committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    61df6c8 View commit details
    Browse the repository at this point in the history
  7. engine: Remove object's children if it's split info contains split ID…

    … only
    
    Previously, storage node selected objects with split ID similar to the
    one in the removed object and marked relatives as garbage. This didn't
    make any sense when split info was without split ID inside.
    
    From now `deleteChildren` accepts `object.SplitID` by value making it
    impossible to be called without split ID. As a consequence, this method
    is called from the `delete` one only if node contains split ID of the
    parent object.
    
    Signed-off-by: Leonard Lyubich <[email protected]>
    cthulhu-rider committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    9c35320 View commit details
    Browse the repository at this point in the history