From 8308c3f71f35aa15a52a3b30a6539dbfde4700b0 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Fri, 9 Dec 2022 14:16:24 +0300 Subject: [PATCH] Move to frostfs-api Signed-off-by: Evgenii Stratonikov --- accounting/accounting.go | 4 ++-- accounting/convert.go | 10 +++++----- accounting/grpc/service.go | 4 ++-- accounting/grpc/service.pb.go | Bin 18905 -> 18945 bytes accounting/grpc/service_grpc.pb.go | Bin 4234 -> 4234 bytes accounting/grpc/types.pb.go | Bin 5981 -> 6012 bytes accounting/json.go | 4 ++-- accounting/marshal.go | 6 +++--- accounting/message_test.go | 6 +++--- accounting/test/generate.go | 6 +++--- acl/bench_test.go | 6 +++--- acl/convert.go | 10 +++++----- acl/grpc/types.go | 2 +- acl/grpc/types.pb.go | Bin 38693 -> 38729 bytes acl/json.go | 4 ++-- acl/marshal.go | 6 +++--- acl/message_test.go | 6 +++--- acl/string.go | 2 +- acl/test/generate.go | 4 ++-- acl/types.go | 2 +- audit/convert.go | 10 +++++----- audit/grpc/types.go | 2 +- audit/grpc/types.pb.go | Bin 12336 -> 12371 bytes audit/json.go | 4 ++-- audit/marshal.go | 8 ++++---- audit/message_test.go | 6 +++--- audit/test/generate.go | 4 ++-- audit/types.go | 2 +- container/attributes_test.go | 4 ++-- container/convert.go | 22 +++++++++++----------- container/grpc/service.go | 6 +++--- container/grpc/service.pb.go | Bin 112710 -> 112755 bytes container/grpc/service_grpc.pb.go | Bin 17499 -> 17499 bytes container/grpc/types.go | 4 ++-- container/grpc/types.pb.go | Bin 13332 -> 13373 bytes container/json.go | 4 ++-- container/marshal.go | 6 +++--- container/message_test.go | 6 +++--- container/status.go | 4 ++-- container/status_test.go | 4 ++-- container/test/generate.go | 10 +++++----- container/types.go | 8 ++++---- docs/release-instruction.md | 2 +- go.mod | 10 +++------- go.sum | 8 ++++---- lock/grpc/types.go | 2 +- lock/grpc/types.pb.go | Bin 5645 -> 5680 bytes netmap/attributes.go | 2 +- netmap/attributes_test.go | 6 +++--- netmap/convert.go | 10 +++++----- netmap/grpc/service.go | 4 ++-- netmap/grpc/service.pb.go | Bin 45928 -> 45969 bytes netmap/grpc/service_grpc.pb.go | Bin 8859 -> 8859 bytes netmap/grpc/types.go | 2 +- netmap/grpc/types.pb.go | Bin 45734 -> 47714 bytes netmap/json.go | 4 ++-- netmap/marshal.go | 6 +++--- netmap/message_test.go | 6 +++--- netmap/string.go | 2 +- netmap/test/generate.go | 6 +++--- netmap/types.go | 4 ++-- object/convert.go | 14 +++++++------- object/grpc/service.go | 4 ++-- object/grpc/service.pb.go | Bin 131124 -> 131164 bytes object/grpc/service_grpc.pb.go | Bin 31238 -> 31238 bytes object/grpc/status.pb.go | Bin 8490 -> 8496 bytes object/grpc/types.go | 4 ++-- object/grpc/types.pb.go | Bin 40934 -> 40974 bytes object/json.go | 4 ++-- object/lock.go | 12 ++++++------ object/lock_test.go | 4 ++-- object/marshal.go | 8 ++++---- object/message_test.go | 6 +++--- object/status.go | 4 ++-- object/status_test.go | 6 +++--- object/string.go | 2 +- object/test/generate.go | 10 +++++----- object/types.go | 4 ++-- refs/convert.go | 6 +++--- refs/grpc/types.pb.go | Bin 29032 -> 29063 bytes refs/json.go | 4 ++-- refs/marshal.go | 6 +++--- refs/message_test.go | 6 +++--- refs/string.go | 2 +- refs/test/generate.go | 2 +- refs/types_test.go | 2 +- reputation/convert.go | 10 +++++----- reputation/grpc/service.go | 2 +- reputation/grpc/service.pb.go | Bin 35818 -> 35853 bytes reputation/grpc/service_grpc.pb.go | Bin 6971 -> 6971 bytes reputation/grpc/types.go | 2 +- reputation/grpc/types.pb.go | Bin 17494 -> 17529 bytes reputation/json.go | 4 ++-- reputation/marshal.go | 6 +++--- reputation/message_test.go | 6 +++--- reputation/test/generate.go | 6 +++--- reputation/types.go | 4 ++-- rpc/accounting.go | 6 +++--- rpc/client/client.go | 2 +- rpc/client/connect.go | 2 +- rpc/client/flows.go | 4 ++-- rpc/client/init.go | 6 +++--- rpc/client/options_test.go | 10 +++++----- rpc/common/call_test.go | 2 +- rpc/container.go | 6 +++--- rpc/grpc/init.go | 2 +- rpc/grpc/util.go | 2 +- rpc/message/encoding.go | 2 +- rpc/message/message.go | 2 +- rpc/message/test/message.go | 2 +- rpc/netmap.go | 6 +++--- rpc/object.go | 8 ++++---- rpc/reputation.go | 6 +++--- rpc/session.go | 6 +++--- session/convert.go | 18 +++++++++--------- session/grpc/service.go | 2 +- session/grpc/service.pb.go | Bin 18185 -> 18220 bytes session/grpc/service_grpc.pb.go | Bin 4026 -> 4026 bytes session/grpc/types.go | 6 +++--- session/grpc/types.pb.go | Bin 56844 -> 56889 bytes session/json.go | 4 ++-- session/marshal.go | 6 +++--- session/message_test.go | 6 +++--- session/status.go | 4 ++-- session/status_test.go | 4 ++-- session/string.go | 2 +- session/test/generate.go | 10 +++++----- session/types.go | 8 ++++---- session/util.go | 2 +- signature/sign.go | 16 ++++++++-------- signature/sign_test.go | 6 +++--- status/convert.go | 6 +++--- status/grpc/types.pb.go | Bin 21677 -> 21707 bytes status/marshal.go | 6 +++--- status/message_test.go | 6 +++--- status/test/codes.go | 2 +- status/test/generate.go | 2 +- storagegroup/convert.go | 10 +++++----- storagegroup/grpc/types.go | 2 +- storagegroup/grpc/types.pb.go | Bin 8800 -> 8835 bytes storagegroup/json.go | 4 ++-- storagegroup/marshal.go | 8 ++++---- storagegroup/message_test.go | 6 +++--- storagegroup/test/generate.go | 4 ++-- storagegroup/types.go | 2 +- subnet/encoding_test.go | 6 +++--- subnet/grpc/types.go | 2 +- subnet/grpc/types.pb.go | Bin 6137 -> 6172 bytes subnet/info.go | 12 ++++++------ subnet/test/generate.go | 4 ++-- tombstone/convert.go | 8 ++++---- tombstone/grpc/types.go | 2 +- tombstone/grpc/types.pb.go | Bin 7149 -> 7184 bytes tombstone/json.go | 4 ++-- tombstone/marshal.go | 6 +++--- tombstone/message_test.go | 6 +++--- tombstone/test/generate.go | 4 ++-- tombstone/types.go | 2 +- util/proto/marshal_test.go | 4 ++-- util/proto/test/test.pb.go | Bin 13851 -> 13851 bytes util/protogen/main.go | 6 +++--- util/signature/data.go | 4 ++-- util/signature/options.go | 6 +++--- util/signature/sign_test.go | 2 +- util/signature/walletconnect/sign.go | 2 +- 165 files changed, 361 insertions(+), 365 deletions(-) diff --git a/accounting/accounting.go b/accounting/accounting.go index 5277b1d..25d6199 100644 --- a/accounting/accounting.go +++ b/accounting/accounting.go @@ -1,8 +1,8 @@ package accounting import ( - "github.com/nspcc-dev/neofs-api-go/v2/refs" - "github.com/nspcc-dev/neofs-api-go/v2/session" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/session" ) type BalanceRequestBody struct { diff --git a/accounting/convert.go b/accounting/convert.go index 1d32210..d37fd1e 100644 --- a/accounting/convert.go +++ b/accounting/convert.go @@ -1,11 +1,11 @@ package accounting import ( - accounting "github.com/nspcc-dev/neofs-api-go/v2/accounting/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/refs" - refsGRPC "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" + accounting "github.com/TrueCloudLab/frostfs-api-go/v2/accounting/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + refsGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (b *BalanceRequestBody) ToGRPCMessage() grpc.Message { diff --git a/accounting/grpc/service.go b/accounting/grpc/service.go index 91f9713..0570cd3 100644 --- a/accounting/grpc/service.go +++ b/accounting/grpc/service.go @@ -1,8 +1,8 @@ package accounting import ( - refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" - session "github.com/nspcc-dev/neofs-api-go/v2/session/grpc" + refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) // SetOwnerId sets identifier of the account owner. diff --git a/accounting/grpc/service.pb.go b/accounting/grpc/service.pb.go index 7c745aca7424a9306679fa6532726036a64155b0..d0783f29664a2dccb7820e6b72e27cc5a92c7dd7 100644 GIT binary patch delta 311 zcmcaPnXz#St&3bCb!dO;nkk8=6@i7!Ad0|78JJBjRZ`mAXXY&o0R5I$ ArvLx| delta 203 zcmZpi!gzBsimSX&4#A~FZU{GP22qKNs zCM%n`TbiYUIOfJ+(f~x7f!Pq!C^{6W2z-YO#ky8Kw90&vK delta 12 TcmeBD>{6W2z-YFyky8Kw8~Fq2 diff --git a/accounting/grpc/types.pb.go b/accounting/grpc/types.pb.go index 883a04111d5b170385a13b3652078f3065e96d79..89a8c762acbb4386d81d3d690399fd7554346fc0 100644 GIT binary patch delta 220 zcmcbs_eXC+0i)%{LLDAna~%bP3e!XoX<{;Y6_0zpsR@WZ}F$0lCX_Ip^#V2pCwNwD<28$URL1e&c4Z)T$uuNcuzHhZ9WG9wQbVvbShEpWk(n7-DOkh|q77`2 zIanK17A#_v0#Z5ooQgCP7w63Vn{cx$<91g@ zM&4LHGZP&Jg9_6`5NTpGJt2<IGqS937ocz)hpTs2nw4(gtl8IM!u!wHvW89^}XJ(?KU{GP2 z2qI04CSOx^uQvq?nHzzG%uPY08JILN2D6jFWEzqzSiK2E+)#&$6Q}{K*$Ax2%nYm) zEMf-H1~$kXtPLs)7BNZzshnJ=rpUy_IeCGa?Br?ET9fC>a|%LDGKZQ3lx0+xojgZc z1tdG!M_p6_Y%9dEU^|RbL26CFcAHu1C`@itcN7OHGBp580EG-Hpo%7MP*j+FPD*q# OpN1&V=FKV^AGiU$VOzlf delta 223 zcmdm+F(qR{0i)T(!f@Wa;)3L4-IUZa{k+utiMMo61vX1C?o#11P18{@s4z_gk;W;L zAE>%}o27y{=Eh*s07ROB*$~nw1uS9$CQZR=%s`|O*dU-@E>55Zu!LFKw2OaZX++tvOjhU1IWl8UD!@>ii&~gHk$^OVmXtGs}xkp0Cac5?ZP52-NaM9jpZ; RZ>AwSIZQ@$bE3u_ZUC<8KuQ1r diff --git a/container/json.go b/container/json.go index b354585..ac8bdf3 100644 --- a/container/json.go +++ b/container/json.go @@ -1,8 +1,8 @@ package container import ( - container "github.com/nspcc-dev/neofs-api-go/v2/container/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" + container "github.com/TrueCloudLab/frostfs-api-go/v2/container/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (a *Attribute) MarshalJSON() ([]byte, error) { diff --git a/container/marshal.go b/container/marshal.go index ae1ac78..a7f77ab 100644 --- a/container/marshal.go +++ b/container/marshal.go @@ -1,9 +1,9 @@ package container import ( - container "github.com/nspcc-dev/neofs-api-go/v2/container/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - protoutil "github.com/nspcc-dev/neofs-api-go/v2/util/proto" + container "github.com/TrueCloudLab/frostfs-api-go/v2/container/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + protoutil "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/container/message_test.go b/container/message_test.go index 3f7b076..62e1914 100644 --- a/container/message_test.go +++ b/container/message_test.go @@ -3,9 +3,9 @@ package container_test import ( "testing" - containertest "github.com/nspcc-dev/neofs-api-go/v2/container/test" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - messagetest "github.com/nspcc-dev/neofs-api-go/v2/rpc/message/test" + containertest "github.com/TrueCloudLab/frostfs-api-go/v2/container/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" ) func TestMessageConvert(t *testing.T) { diff --git a/container/status.go b/container/status.go index 499c855..d5aa147 100644 --- a/container/status.go +++ b/container/status.go @@ -1,8 +1,8 @@ package container import ( - "github.com/nspcc-dev/neofs-api-go/v2/status" - statusgrpc "github.com/nspcc-dev/neofs-api-go/v2/status/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/status" + statusgrpc "github.com/TrueCloudLab/frostfs-api-go/v2/status/grpc" ) // LocalizeFailStatus checks if passed global status.Code is related to container failure and: diff --git a/container/status_test.go b/container/status_test.go index c7d9c91..adbfd2f 100644 --- a/container/status_test.go +++ b/container/status_test.go @@ -3,8 +3,8 @@ package container_test import ( "testing" - "github.com/nspcc-dev/neofs-api-go/v2/container" - statustest "github.com/nspcc-dev/neofs-api-go/v2/status/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/container" + statustest "github.com/TrueCloudLab/frostfs-api-go/v2/status/test" ) func TestStatusCodes(t *testing.T) { diff --git a/container/test/generate.go b/container/test/generate.go index dfd2098..82f378a 100644 --- a/container/test/generate.go +++ b/container/test/generate.go @@ -1,11 +1,11 @@ package containertest import ( - acltest "github.com/nspcc-dev/neofs-api-go/v2/acl/test" - "github.com/nspcc-dev/neofs-api-go/v2/container" - netmaptest "github.com/nspcc-dev/neofs-api-go/v2/netmap/test" - refstest "github.com/nspcc-dev/neofs-api-go/v2/refs/test" - sessiontest "github.com/nspcc-dev/neofs-api-go/v2/session/test" + acltest "github.com/TrueCloudLab/frostfs-api-go/v2/acl/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/container" + netmaptest "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/test" + refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" + sessiontest "github.com/TrueCloudLab/frostfs-api-go/v2/session/test" ) func GenerateAttribute(empty bool) *container.Attribute { diff --git a/container/types.go b/container/types.go index 215f830..fdb35f8 100644 --- a/container/types.go +++ b/container/types.go @@ -1,10 +1,10 @@ package container import ( - "github.com/nspcc-dev/neofs-api-go/v2/acl" - "github.com/nspcc-dev/neofs-api-go/v2/netmap" - "github.com/nspcc-dev/neofs-api-go/v2/refs" - "github.com/nspcc-dev/neofs-api-go/v2/session" + "github.com/TrueCloudLab/frostfs-api-go/v2/acl" + "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/session" ) type Attribute struct { diff --git a/docs/release-instruction.md b/docs/release-instruction.md index 74465d7..4134f1c 100644 --- a/docs/release-instruction.md +++ b/docs/release-instruction.md @@ -7,7 +7,7 @@ These should run successfully: * `golangci-lint run ./...`; * `go fmt ./...` (should not change any files); * `go mog tidy` (should not change any files); -* `./prepare.sh /path/to/neofs-api/on/your/machine` (should not change any files). +* `./prepare.sh /path/to/frostfs-api/on/your/machine` (should not change any files). ## Writing changelog diff --git a/go.mod b/go.mod index aa93538..4eddb9e 100644 --- a/go.mod +++ b/go.mod @@ -1,19 +1,19 @@ -module github.com/nspcc-dev/neofs-api-go/v2 +module github.com/TrueCloudLab/frostfs-api-go/v2 go 1.17 require ( - github.com/nspcc-dev/neofs-crypto v0.4.0 + github.com/TrueCloudLab/frostfs-crypto v0.5.0 github.com/stretchr/testify v1.7.0 google.golang.org/grpc v1.48.0 google.golang.org/protobuf v1.28.0 ) require ( + github.com/TrueCloudLab/rfc6979 v0.3.0 // indirect github.com/davecgh/go-spew v1.1.0 // indirect github.com/golang/protobuf v1.5.2 // indirect github.com/mr-tron/base58 v1.2.0 // indirect - github.com/nspcc-dev/rfc6979 v0.2.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect golang.org/x/net v0.0.0-20201021035429-f5854403a974 // indirect golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 // indirect @@ -21,7 +21,3 @@ require ( google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 // indirect gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect ) - -// This version uses broken NeoFS API with incompatible signature -// definitions. See fix in https://github.com/nspcc-dev/neofs-api/pull/203 -retract v2.12.0 diff --git a/go.sum b/go.sum index 4917800..68f8351 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,10 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/TrueCloudLab/frostfs-crypto v0.5.0 h1:ZoLjixSkQv3j1EwZ1WJzMEJY2NR+9nO4Pd8WSyM/RRI= +github.com/TrueCloudLab/frostfs-crypto v0.5.0/go.mod h1:775MUewpH8AWpXrimAG2NYWOXB6lpKOI5kqgu+eI5zs= +github.com/TrueCloudLab/rfc6979 v0.3.0 h1:0SYMAfQWh/TjnofqYQHy+s3rmQ5gi0fvOaDbqd60/Ic= +github.com/TrueCloudLab/rfc6979 v0.3.0/go.mod h1:qylxFXFQ/sMvpZC/8JyWp+mfzk5Zj/KDT5FAbekhobc= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= @@ -48,10 +52,6 @@ github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+ github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/mr-tron/base58 v1.2.0 h1:T/HDJBh4ZCPbU39/+c3rRvE0uKBQlU27+QI8LJ4t64o= github.com/mr-tron/base58 v1.2.0/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc= -github.com/nspcc-dev/neofs-crypto v0.4.0 h1:5LlrUAM5O0k1+sH/sktBtrgfWtq1pgpDs09fZo+KYi4= -github.com/nspcc-dev/neofs-crypto v0.4.0/go.mod h1:6XJ8kbXgOfevbI2WMruOtI+qUJXNwSGM/E9eClXxPHs= -github.com/nspcc-dev/rfc6979 v0.2.0 h1:3e1WNxrN60/6N0DW7+UYisLeZJyfqZTNOjeV/toYvOE= -github.com/nspcc-dev/rfc6979 v0.2.0/go.mod h1:exhIh1PdpDC5vQmyEsGvc4YDM/lyQp/452QxGq/UEso= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= diff --git a/lock/grpc/types.go b/lock/grpc/types.go index f10684c..d39c134 100644 --- a/lock/grpc/types.go +++ b/lock/grpc/types.go @@ -1,6 +1,6 @@ package lock -import refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" +import refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" // SetMembers sets `members` field. func (x *Lock) SetMembers(ids []*refs.ObjectID) { diff --git a/lock/grpc/types.pb.go b/lock/grpc/types.pb.go index d54ad2fa452abdb1eb9c28ef4a1a78b6121e2d82..35bef9e32d91ceba0866d3374cc720e2dbf3deb5 100644 GIT binary patch delta 241 zcmeCx*`PC_fYEYdp^s2VQE94kPJU^MPhygOT2X#+$;MOvxOh!<6bvd%6G5c0#pJ8p z?)9c7Ada~am;_6kfk_i%kce3_m`u~*;sh#!NP{()KqL&o(qPR-X<)V)h=dqt1{N^~ z8)OdFWd@N2ix{PVR8Fqt;bh|CoZQYM%cwAU8IL1~^MXfqaxIYN=d}cJJ$XTL8N6V* RRlKs3LpVh@-{m#n002k)2lO~fYEGXp$~6faY1sjZc1vIeqL(+#`FKUcnx$E3@S_$L8P(qZeGX9|2Q}&U*i=8s@?pC*M$QBthz5m diff --git a/netmap/attributes.go b/netmap/attributes.go index 4f69287..6901da5 100644 --- a/netmap/attributes.go +++ b/netmap/attributes.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/nspcc-dev/neofs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" ) // prefix of keys to subnet attributes. diff --git a/netmap/attributes_test.go b/netmap/attributes_test.go index e485dac..0385f42 100644 --- a/netmap/attributes_test.go +++ b/netmap/attributes_test.go @@ -4,9 +4,9 @@ import ( "strconv" "testing" - "github.com/nspcc-dev/neofs-api-go/v2/netmap" - netmaptest "github.com/nspcc-dev/neofs-api-go/v2/netmap/test" - "github.com/nspcc-dev/neofs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" + netmaptest "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" "github.com/stretchr/testify/require" ) diff --git a/netmap/convert.go b/netmap/convert.go index d2121b1..36af646 100644 --- a/netmap/convert.go +++ b/netmap/convert.go @@ -1,11 +1,11 @@ package netmap import ( - netmap "github.com/nspcc-dev/neofs-api-go/v2/netmap/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/refs" - refsGRPC "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" + netmap "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + refsGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (f *Filter) ToGRPCMessage() grpc.Message { diff --git a/netmap/grpc/service.go b/netmap/grpc/service.go index c97f8be..ad72ced 100644 --- a/netmap/grpc/service.go +++ b/netmap/grpc/service.go @@ -1,8 +1,8 @@ package netmap import ( - refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" - session "github.com/nspcc-dev/neofs-api-go/v2/session/grpc" + refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) // SetBody sets body of the request. diff --git a/netmap/grpc/service.pb.go b/netmap/grpc/service.pb.go index f0629293eff9a47d2b8ed316fc8e98e66fec16ac..64859ae2f80cbfd0d1d363c2c32afed61736520c 100644 GIT binary patch delta 280 zcmaFyjA`O?rU?a%mJx#>@5^eom^`b?adJW_%jC)7a!kfalM_ocCaZUgPBy9$ s<1zu8XlALSFgd2%k%^0Q^1N=@$#v~QlN(AnCtvSY2MTTe-<_!r0Px6EyZ`_I delta 248 zcmbREoax0grU?a%W)lm8dGm@3l9P2)Qp@!7Qu8NX(?S*4EW~)AgV#()!Jxu45kwlB zPrl#jZfTYZ;+PwQNdpjR24(|EE>43AqZF`^379kmD*~Hgls0)`vY5UZm;=!bRcZ)U z1To1H#D$`G$f%!Me25wEfMTOv!Ok-m$Ch957;wiW~{}% z_+Mz`itGh(>%HO+=%wch{sp8;<<6<6z8UYXchRN|QKHe#`!Vy)_ul*b>t9Q6-Yxx{ zox64P%@MT1K3SSvsaR#)43z)cr%brpWBtpK#8U><;1fQb>bk%~nKk&<}^awt%N zkS)Q03xIRv>V7_LW z`}@L|DIPF0hp9sk1{pdm_A)65506Ub6$Y&%V1_{`6)?z9aT!>njlxX&@ftj+A2dPd zOJNwd*r)GlOhN{zPxTPuf8k3yljGY7XZj?5EnGo031E8nRSmvEX1Ej+`lr4c>Kv}} z0~wy;`Y%Y$h5rksJbSVCc!YwwTAOx~#cZ|#ouTPhTgfIGSQ1IaO`Jlmza{RtaIJWN zS#E0Lv}^b|qKKyeeV(!e!bDP-h+3JXb_9{zwza1`JnXi{EvKmqi`!t?r)hFm z>RI^x`oxn^^J$WuqKs+%{u4?n{^B=$$TaQQ#^23rfOGgzb_exbKrr^x^fH~Rn$B{- ziL99B1H44~k54xXCyc@!nbM!iV(#BzIwszjIFOs?1)?GiJN4I z>ufjI-XrvlzDn#BRLx*oud(PD5=-DAFj3GHkw9FzO+wR*YRD4py w^-8p=-;XaWu98~`tx2^Nb(Pi5FFmjvcqs!H8x%~2v(VNfy1#iQ?O8@`> delta 192 zcmaF#g=yJSrU?a%W)lkoc=L)2l9P2)Qp@!7Qu8-no|3+)KvR#`Oh>_>!ZZ;?8kzQB=DVRF<0Ss-U~ I#e!Fo03HoIcmMzZ diff --git a/netmap/json.go b/netmap/json.go index 05979ba..aed469c 100644 --- a/netmap/json.go +++ b/netmap/json.go @@ -1,8 +1,8 @@ package netmap import ( - netmap "github.com/nspcc-dev/neofs-api-go/v2/netmap/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" + netmap "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (p *PlacementPolicy) MarshalJSON() ([]byte, error) { diff --git a/netmap/marshal.go b/netmap/marshal.go index fcbf920..d006f92 100644 --- a/netmap/marshal.go +++ b/netmap/marshal.go @@ -1,9 +1,9 @@ package netmap import ( - netmap "github.com/nspcc-dev/neofs-api-go/v2/netmap/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - protoutil "github.com/nspcc-dev/neofs-api-go/v2/util/proto" + netmap "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + protoutil "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/netmap/message_test.go b/netmap/message_test.go index 92a6027..2ebec3c 100644 --- a/netmap/message_test.go +++ b/netmap/message_test.go @@ -3,9 +3,9 @@ package netmap_test import ( "testing" - netmaptest "github.com/nspcc-dev/neofs-api-go/v2/netmap/test" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - messagetest "github.com/nspcc-dev/neofs-api-go/v2/rpc/message/test" + netmaptest "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" ) func TestMessageConvert(t *testing.T) { diff --git a/netmap/string.go b/netmap/string.go index 11ab18c..0c2a491 100644 --- a/netmap/string.go +++ b/netmap/string.go @@ -1,7 +1,7 @@ package netmap import ( - netmap "github.com/nspcc-dev/neofs-api-go/v2/netmap/grpc" + netmap "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" ) // String returns string representation of Clause. diff --git a/netmap/test/generate.go b/netmap/test/generate.go index 87cdc50..835e7f1 100644 --- a/netmap/test/generate.go +++ b/netmap/test/generate.go @@ -1,9 +1,9 @@ package netmaptest import ( - "github.com/nspcc-dev/neofs-api-go/v2/netmap" - refstest "github.com/nspcc-dev/neofs-api-go/v2/refs/test" - sessiontest "github.com/nspcc-dev/neofs-api-go/v2/session/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" + refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" + sessiontest "github.com/TrueCloudLab/frostfs-api-go/v2/session/test" ) func GenerateFilter(empty bool) *netmap.Filter { diff --git a/netmap/types.go b/netmap/types.go index b581d3e..dc76f80 100644 --- a/netmap/types.go +++ b/netmap/types.go @@ -1,8 +1,8 @@ package netmap import ( - "github.com/nspcc-dev/neofs-api-go/v2/refs" - "github.com/nspcc-dev/neofs-api-go/v2/session" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/session" ) type LocalNodeInfoRequest struct { diff --git a/object/convert.go b/object/convert.go index c4b0868..82eba35 100644 --- a/object/convert.go +++ b/object/convert.go @@ -3,13 +3,13 @@ package object import ( "fmt" - object "github.com/nspcc-dev/neofs-api-go/v2/object/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/refs" - refsGRPC "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - "github.com/nspcc-dev/neofs-api-go/v2/session" - sessionGRPC "github.com/nspcc-dev/neofs-api-go/v2/session/grpc" + object "github.com/TrueCloudLab/frostfs-api-go/v2/object/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + refsGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + "github.com/TrueCloudLab/frostfs-api-go/v2/session" + sessionGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) func TypeToGRPCField(t Type) object.ObjectType { diff --git a/object/grpc/service.go b/object/grpc/service.go index b77208f..d85d44b 100644 --- a/object/grpc/service.go +++ b/object/grpc/service.go @@ -1,8 +1,8 @@ package object import ( - refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" - session "github.com/nspcc-dev/neofs-api-go/v2/session/grpc" + refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) // SetAddress sets address of the requested object. diff --git a/object/grpc/service.pb.go b/object/grpc/service.pb.go index b0aa9bc335bb932938235d81ad5bd5dc02e91c19..5821b775de9449b1913e0a50b6a2e43ff16818f2 100644 GIT binary patch delta 290 zcmdnez;UO6V?qI=<;22Zp^&1|ROg)h(iES>B>l9a{Nj>{7qzg6Hghm;=U`-Xm?xB^ zqhL^Bng}9|lR>1}^tHZ>;?oP~GiukHnt(*ijliTSSQbp07=zgm^=U}5VD%=+I$WGU zgABonz?zM~ipoU&VfwEHjE>XGr!dN}m;r6s9=(w9W*h(tO;aTR delta 257 zcmcc9z_F!)V?qI=*~G$N-n`<1j!D_%}7^O|$*u*G4U3dYbt}IAT z8c5CvOqzpL7#l%ErZ2E()S7;Pmr<6n+a delta 76 zcmdnsw90A17P<7If@B4y^vsfs(j>j){9OIK;)3L4-IUZa{k+uti9e>uaTcYf<)kK; XC@4W0N?e@9m3cs2AaZjT<1%>wZ5%ZY^nLLo(^sm?k1r71p%N&0C;`Nbs@&uL>3-OR>l-^`n&qhL^B zng}9|lP3qYxYwJSfH>wxVA2#snt@3ZV=y}zOr{~pg4LTq#0|l+V7*3QHD+dDm0%IG zG#xHZpwVE1%)#2A(qIvz6p+%%zgp}kdqgWu_6(7mT-mC~#Kk#zcB|~<$#J5S&$a4; ZxPMw@85Jf=w>g416G9X=*R^Fx0st<+P9XpQ delta 243 zcmeA>!1QcC(}V&>vx$WPym`e1$;rAYsb%_ksreHxYoiKm7GSh*<~7q%FsLw11d+z( zlVe)kEzD9u9CKqZX#gV4z-$O@d?1H)a!ae-!HjUecB&2>{OkNM-;4 diff --git a/object/json.go b/object/json.go index 1555005..6999cc9 100644 --- a/object/json.go +++ b/object/json.go @@ -1,8 +1,8 @@ package object import ( - object "github.com/nspcc-dev/neofs-api-go/v2/object/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" + object "github.com/TrueCloudLab/frostfs-api-go/v2/object/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (h *ShortHeader) MarshalJSON() ([]byte, error) { diff --git a/object/lock.go b/object/lock.go index 44597eb..e9704a8 100644 --- a/object/lock.go +++ b/object/lock.go @@ -4,12 +4,12 @@ import ( "errors" "fmt" - lock "github.com/nspcc-dev/neofs-api-go/v2/lock/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/refs" - refsGRPC "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - "github.com/nspcc-dev/neofs-api-go/v2/util/proto" + lock "github.com/TrueCloudLab/frostfs-api-go/v2/lock/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + refsGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" ) // Lock represents object Lock message from NeoFS API V2 protocol. diff --git a/object/lock_test.go b/object/lock_test.go index 17e9e46..90c7e7f 100644 --- a/object/lock_test.go +++ b/object/lock_test.go @@ -3,8 +3,8 @@ package object_test import ( "testing" - "github.com/nspcc-dev/neofs-api-go/v2/object" - objecttest "github.com/nspcc-dev/neofs-api-go/v2/object/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/object" + objecttest "github.com/TrueCloudLab/frostfs-api-go/v2/object/test" "github.com/stretchr/testify/require" ) diff --git a/object/marshal.go b/object/marshal.go index 03ba265..e286578 100644 --- a/object/marshal.go +++ b/object/marshal.go @@ -1,10 +1,10 @@ package object import ( - object "github.com/nspcc-dev/neofs-api-go/v2/object/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/refs" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - "github.com/nspcc-dev/neofs-api-go/v2/util/proto" + object "github.com/TrueCloudLab/frostfs-api-go/v2/object/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/object/message_test.go b/object/message_test.go index 98461df..94b1c1d 100644 --- a/object/message_test.go +++ b/object/message_test.go @@ -3,9 +3,9 @@ package object_test import ( "testing" - objecttest "github.com/nspcc-dev/neofs-api-go/v2/object/test" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - messagetest "github.com/nspcc-dev/neofs-api-go/v2/rpc/message/test" + objecttest "github.com/TrueCloudLab/frostfs-api-go/v2/object/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" ) func TestMessageConvert(t *testing.T) { diff --git a/object/status.go b/object/status.go index e1e96c8..bbdeb3f 100644 --- a/object/status.go +++ b/object/status.go @@ -1,8 +1,8 @@ package object import ( - "github.com/nspcc-dev/neofs-api-go/v2/status" - statusgrpc "github.com/nspcc-dev/neofs-api-go/v2/status/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/status" + statusgrpc "github.com/TrueCloudLab/frostfs-api-go/v2/status/grpc" ) // LocalizeFailStatus checks if passed global status.Code is related to object failure and: diff --git a/object/status_test.go b/object/status_test.go index a330a9f..af7dcf9 100644 --- a/object/status_test.go +++ b/object/status_test.go @@ -3,9 +3,9 @@ package object_test import ( "testing" - "github.com/nspcc-dev/neofs-api-go/v2/object" - "github.com/nspcc-dev/neofs-api-go/v2/status" - statustest "github.com/nspcc-dev/neofs-api-go/v2/status/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/object" + "github.com/TrueCloudLab/frostfs-api-go/v2/status" + statustest "github.com/TrueCloudLab/frostfs-api-go/v2/status/test" "github.com/stretchr/testify/require" ) diff --git a/object/string.go b/object/string.go index 3191e31..ef22f8b 100644 --- a/object/string.go +++ b/object/string.go @@ -1,7 +1,7 @@ package object import ( - object "github.com/nspcc-dev/neofs-api-go/v2/object/grpc" + object "github.com/TrueCloudLab/frostfs-api-go/v2/object/grpc" ) // String returns string representation of Type. diff --git a/object/test/generate.go b/object/test/generate.go index 0c6ffab..1c74576 100644 --- a/object/test/generate.go +++ b/object/test/generate.go @@ -1,11 +1,11 @@ package objecttest import ( - "github.com/nspcc-dev/neofs-api-go/v2/internal/random" - "github.com/nspcc-dev/neofs-api-go/v2/object" - "github.com/nspcc-dev/neofs-api-go/v2/refs" - refstest "github.com/nspcc-dev/neofs-api-go/v2/refs/test" - sessiontest "github.com/nspcc-dev/neofs-api-go/v2/session/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/internal/random" + "github.com/TrueCloudLab/frostfs-api-go/v2/object" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" + sessiontest "github.com/TrueCloudLab/frostfs-api-go/v2/session/test" ) func GenerateShortHeader(empty bool) *object.ShortHeader { diff --git a/object/types.go b/object/types.go index 15477c1..33eb48e 100644 --- a/object/types.go +++ b/object/types.go @@ -1,8 +1,8 @@ package object import ( - "github.com/nspcc-dev/neofs-api-go/v2/refs" - "github.com/nspcc-dev/neofs-api-go/v2/session" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/session" ) type Type uint32 diff --git a/refs/convert.go b/refs/convert.go index e402f50..dade588 100644 --- a/refs/convert.go +++ b/refs/convert.go @@ -1,9 +1,9 @@ package refs import ( - refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" + refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (o *OwnerID) ToGRPCMessage() grpc.Message { diff --git a/refs/grpc/types.pb.go b/refs/grpc/types.pb.go index 28798033580239863b53c025ef16ac2c94b39dfb..7fcf89d25c67ad1fa35c02d96b586677588ec87d 100644 GIT binary patch delta 198 zcmaFyh_U@KlNptRPh; dlizuWPhJ?K4pedqqT~fo$uSS<&91RdA^_~SFmeC@ diff --git a/refs/json.go b/refs/json.go index 5a48cdb..44198ae 100644 --- a/refs/json.go +++ b/refs/json.go @@ -1,8 +1,8 @@ package refs import ( - refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" + refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (a *Address) MarshalJSON() ([]byte, error) { diff --git a/refs/marshal.go b/refs/marshal.go index ef85324..50c3501 100644 --- a/refs/marshal.go +++ b/refs/marshal.go @@ -3,9 +3,9 @@ package refs import ( "encoding/binary" - refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - "github.com/nspcc-dev/neofs-api-go/v2/util/proto" + refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/refs/message_test.go b/refs/message_test.go index f54b2b5..8d8a69d 100644 --- a/refs/message_test.go +++ b/refs/message_test.go @@ -3,9 +3,9 @@ package refs_test import ( "testing" - refstest "github.com/nspcc-dev/neofs-api-go/v2/refs/test" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - messagetest "github.com/nspcc-dev/neofs-api-go/v2/rpc/message/test" + refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" ) func TestMessageConvert(t *testing.T) { diff --git a/refs/string.go b/refs/string.go index 1b98600..2dac54a 100644 --- a/refs/string.go +++ b/refs/string.go @@ -1,7 +1,7 @@ package refs import ( - refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" + refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // String returns string representation of ChecksumType. diff --git a/refs/test/generate.go b/refs/test/generate.go index 13aefbd..b11b1a0 100644 --- a/refs/test/generate.go +++ b/refs/test/generate.go @@ -3,7 +3,7 @@ package refstest import ( "math/rand" - "github.com/nspcc-dev/neofs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" ) func GenerateVersion(empty bool) *refs.Version { diff --git a/refs/types_test.go b/refs/types_test.go index e2077b2..11ad628 100644 --- a/refs/types_test.go +++ b/refs/types_test.go @@ -5,7 +5,7 @@ import ( "strconv" "testing" - "github.com/nspcc-dev/neofs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" "github.com/stretchr/testify/require" ) diff --git a/reputation/convert.go b/reputation/convert.go index 924b1ed..25e887d 100644 --- a/reputation/convert.go +++ b/reputation/convert.go @@ -1,11 +1,11 @@ package reputation import ( - "github.com/nspcc-dev/neofs-api-go/v2/refs" - refsGRPC "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" - reputation "github.com/nspcc-dev/neofs-api-go/v2/reputation/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + refsGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + reputation "github.com/TrueCloudLab/frostfs-api-go/v2/reputation/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) // ToGRPCMessage converts PeerID to gRPC-generated diff --git a/reputation/grpc/service.go b/reputation/grpc/service.go index 519c2df..b737d6d 100644 --- a/reputation/grpc/service.go +++ b/reputation/grpc/service.go @@ -1,7 +1,7 @@ package reputation import ( - session "github.com/nspcc-dev/neofs-api-go/v2/session/grpc" + session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) // SetEpoch sets epoch in which the trust was assessed. diff --git a/reputation/grpc/service.pb.go b/reputation/grpc/service.pb.go index c5c3a2d35465e24bd136ef5460facd836b3bf09f..2abb8d78e5d532b325299965a89790c7c8a4161c 100644 GIT binary patch delta 237 zcmaDgovC*Q(}V&>%ZY_iLLo(^sm?k1r71p%N&0C;`Nbt0Z#>N4HP=xvs4z_gktQaS zk7c?~KAIvFZe|J=Fb0uk$zU=KM4FrGaB%{KOu*6*2}7{75r{MbD>5?!D+P;~L9~Gl zGB=qVk)_JS#W}eyOO{b#^4u)P$;Qqali9K@L4pq1vXhllMJE?$>w>rovq5SOWIIZL aZG@Pdim=PTY;vQs@Z@+W{>|1o>*WEvZ$&i# delta 281 zcmeC3!Srf6(}V&>vx$XKym`e1$;rAYsb%_ksrei4KFr`X(ory|FiixJ#%YsJXS!RO zrGhx-#$eI_M4Exw5Yi|GEMfvCO?9|9flAFl9HX?!im76g>$4OUKs<;tbFi{Bh&+e{ zs^#LGd?3qlazi@TU873~ZPI*oEc>Aj5QAq&COptd|D>&o@t& diff --git a/reputation/grpc/service_grpc.pb.go b/reputation/grpc/service_grpc.pb.go index 29de6557aa11ae7247c714f31af7102c0de7187d..582a8cd54681270de6008b220a75d149e21571e0 100644 GIT binary patch delta 12 TcmdmOw%cq%1Eb}}#$8eXBTfY~ delta 12 TcmdmOw%cq%1Ebl-#$8eXBR>T& diff --git a/reputation/grpc/types.go b/reputation/grpc/types.go index 14848d3..01766f8 100644 --- a/reputation/grpc/types.go +++ b/reputation/grpc/types.go @@ -1,7 +1,7 @@ package reputation import ( - refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" + refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // SetPublicKey sets binary public key of ID. diff --git a/reputation/grpc/types.pb.go b/reputation/grpc/types.pb.go index 873eab5c3098b1f33242b779d0a2854a559ee2c7..96992844fcee1d94ca169e7c19adc4771e327acf 100644 GIT binary patch delta 260 zcmccC!T7U-aY6y3<;21Wp^&1|ROg)h(iES>B>l9a{Nj?0*M8~qn(HVSRG21$NE4IE zcMaSphwAW00eNPoU@>D5X_gEo(?F!TsSXz>P{;%<4UsSeOB;bmBd{VfGq6&yh#5p1 z*dTM0$@zw=S|9_AQox$P_Cu6Fw3>sp8bb}6d_YNia)74zWHn`3CgUV1S8Q^;k?7<} mTB4J?jC7f}I4AEgl4VqweBHtfr{=JfffBSa-3XXz(3jBm>;NTbF{IXAOIgn BHH`oO diff --git a/reputation/json.go b/reputation/json.go index 17f559f..d1b4d4d 100644 --- a/reputation/json.go +++ b/reputation/json.go @@ -1,8 +1,8 @@ package reputation import ( - reputation "github.com/nspcc-dev/neofs-api-go/v2/reputation/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" + reputation "github.com/TrueCloudLab/frostfs-api-go/v2/reputation/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (x *PeerID) MarshalJSON() ([]byte, error) { diff --git a/reputation/marshal.go b/reputation/marshal.go index 83b9a5a..138e0e8 100644 --- a/reputation/marshal.go +++ b/reputation/marshal.go @@ -1,9 +1,9 @@ package reputation import ( - reputation "github.com/nspcc-dev/neofs-api-go/v2/reputation/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - protoutil "github.com/nspcc-dev/neofs-api-go/v2/util/proto" + reputation "github.com/TrueCloudLab/frostfs-api-go/v2/reputation/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + protoutil "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/reputation/message_test.go b/reputation/message_test.go index 0f948c9..8f308b0 100644 --- a/reputation/message_test.go +++ b/reputation/message_test.go @@ -3,9 +3,9 @@ package reputation_test import ( "testing" - reputationtest "github.com/nspcc-dev/neofs-api-go/v2/reputation/test" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - messagetest "github.com/nspcc-dev/neofs-api-go/v2/rpc/message/test" + reputationtest "github.com/TrueCloudLab/frostfs-api-go/v2/reputation/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" ) func TestMessageConvert(t *testing.T) { diff --git a/reputation/test/generate.go b/reputation/test/generate.go index 00e6009..09d61d2 100644 --- a/reputation/test/generate.go +++ b/reputation/test/generate.go @@ -1,9 +1,9 @@ package reputationtest import ( - refstest "github.com/nspcc-dev/neofs-api-go/v2/refs/test" - "github.com/nspcc-dev/neofs-api-go/v2/reputation" - sessiontest "github.com/nspcc-dev/neofs-api-go/v2/session/test" + refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/reputation" + sessiontest "github.com/TrueCloudLab/frostfs-api-go/v2/session/test" ) func GeneratePeerID(empty bool) *reputation.PeerID { diff --git a/reputation/types.go b/reputation/types.go index f058efc..3876f1a 100644 --- a/reputation/types.go +++ b/reputation/types.go @@ -1,8 +1,8 @@ package reputation import ( - "github.com/nspcc-dev/neofs-api-go/v2/refs" - "github.com/nspcc-dev/neofs-api-go/v2/session" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/session" ) // PeerID represents reputation.PeerID message diff --git a/rpc/accounting.go b/rpc/accounting.go index 0c0bd7b..21c7a7f 100644 --- a/rpc/accounting.go +++ b/rpc/accounting.go @@ -1,9 +1,9 @@ package rpc import ( - "github.com/nspcc-dev/neofs-api-go/v2/accounting" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/client" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/common" + "github.com/TrueCloudLab/frostfs-api-go/v2/accounting" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" ) const serviceAccounting = serviceNamePrefix + "accounting.AccountingService" diff --git a/rpc/client/client.go b/rpc/client/client.go index 16b3496..40b5d1a 100644 --- a/rpc/client/client.go +++ b/rpc/client/client.go @@ -3,7 +3,7 @@ package client import ( "sync" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" ) // Client represents client for exchanging messages diff --git a/rpc/client/connect.go b/rpc/client/connect.go index cdbbbea..2fe77d5 100644 --- a/rpc/client/connect.go +++ b/rpc/client/connect.go @@ -7,7 +7,7 @@ import ( "net" "net/url" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" grpcstd "google.golang.org/grpc" "google.golang.org/grpc/credentials" "google.golang.org/grpc/credentials/insecure" diff --git a/rpc/client/flows.go b/rpc/client/flows.go index 4f4a04a..e741ca3 100644 --- a/rpc/client/flows.go +++ b/rpc/client/flows.go @@ -5,8 +5,8 @@ import ( "io" "sync" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/common" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) // SendUnary initializes communication session by RPC info, performs unary RPC diff --git a/rpc/client/init.go b/rpc/client/init.go index bad7ed0..b45871b 100644 --- a/rpc/client/init.go +++ b/rpc/client/init.go @@ -3,9 +3,9 @@ package client import ( "io" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/common" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) // MessageReader is an interface of the Message reader. diff --git a/rpc/client/options_test.go b/rpc/client/options_test.go index eeb5a13..56704b6 100644 --- a/rpc/client/options_test.go +++ b/rpc/client/options_test.go @@ -8,7 +8,7 @@ import ( ) func TestWithNetworkURIAddress(t *testing.T) { - hostPort := "neofs.example.com:8080" + hostPort := "frostfs.example.com:8080" apiPort := "127.0.0.1:8080" serverName := "testServer" @@ -22,25 +22,25 @@ func TestWithNetworkURIAddress(t *testing.T) { { uri: grpcScheme + "://" + hostPort, tlsConfig: nil, - wantHost: "neofs.example.com:8080", + wantHost: "frostfs.example.com:8080", wantTLS: false, }, { uri: grpcScheme + "://" + hostPort, tlsConfig: &tls.Config{}, - wantHost: "neofs.example.com:8080", + wantHost: "frostfs.example.com:8080", wantTLS: false, }, { uri: grpcTLSScheme + "://" + hostPort, tlsConfig: nil, - wantHost: "neofs.example.com:8080", + wantHost: "frostfs.example.com:8080", wantTLS: true, }, { uri: grpcTLSScheme + "://" + hostPort, tlsConfig: &tls.Config{ServerName: serverName}, - wantHost: "neofs.example.com:8080", + wantHost: "frostfs.example.com:8080", wantTLS: true, }, { diff --git a/rpc/common/call_test.go b/rpc/common/call_test.go index aa4898f..f3acd08 100644 --- a/rpc/common/call_test.go +++ b/rpc/common/call_test.go @@ -3,7 +3,7 @@ package common_test import ( "testing" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/common" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" "github.com/stretchr/testify/require" ) diff --git a/rpc/container.go b/rpc/container.go index 219e919..a33afe1 100644 --- a/rpc/container.go +++ b/rpc/container.go @@ -1,9 +1,9 @@ package rpc import ( - "github.com/nspcc-dev/neofs-api-go/v2/container" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/client" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/common" + "github.com/TrueCloudLab/frostfs-api-go/v2/container" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" ) const serviceContainer = serviceNamePrefix + "container.ContainerService" diff --git a/rpc/grpc/init.go b/rpc/grpc/init.go index 31a2ba7..bc9aa9c 100644 --- a/rpc/grpc/init.go +++ b/rpc/grpc/init.go @@ -5,7 +5,7 @@ import ( "io" "time" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/common" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" "google.golang.org/grpc" ) diff --git a/rpc/grpc/util.go b/rpc/grpc/util.go index c7c65e2..220c656 100644 --- a/rpc/grpc/util.go +++ b/rpc/grpc/util.go @@ -3,7 +3,7 @@ package grpc import ( "fmt" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/common" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" ) const methodNameFmt = "/%s/%s" diff --git a/rpc/message/encoding.go b/rpc/message/encoding.go index 4a53b68..b28cde3 100644 --- a/rpc/message/encoding.go +++ b/rpc/message/encoding.go @@ -1,7 +1,7 @@ package message import ( - "github.com/nspcc-dev/neofs-api-go/v2/rpc/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" ) diff --git a/rpc/message/message.go b/rpc/message/message.go index 576559d..4f6acaf 100644 --- a/rpc/message/message.go +++ b/rpc/message/message.go @@ -3,7 +3,7 @@ package message import ( "fmt" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" ) // Message represents raw Protobuf message diff --git a/rpc/message/test/message.go b/rpc/message/test/message.go index 7c4450f..138b758 100644 --- a/rpc/message/test/message.go +++ b/rpc/message/test/message.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" "github.com/stretchr/testify/require" ) diff --git a/rpc/netmap.go b/rpc/netmap.go index f67743c..bfe2ef4 100644 --- a/rpc/netmap.go +++ b/rpc/netmap.go @@ -1,9 +1,9 @@ package rpc import ( - "github.com/nspcc-dev/neofs-api-go/v2/netmap" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/client" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/common" + "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" ) const serviceNetmap = serviceNamePrefix + "netmap.NetmapService" diff --git a/rpc/object.go b/rpc/object.go index 58faa9f..b2d0c95 100644 --- a/rpc/object.go +++ b/rpc/object.go @@ -1,10 +1,10 @@ package rpc import ( - "github.com/nspcc-dev/neofs-api-go/v2/object" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/client" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/common" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" + "github.com/TrueCloudLab/frostfs-api-go/v2/object" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) const serviceObject = serviceNamePrefix + "object.ObjectService" diff --git a/rpc/reputation.go b/rpc/reputation.go index 9332f10..413868d 100644 --- a/rpc/reputation.go +++ b/rpc/reputation.go @@ -1,9 +1,9 @@ package rpc import ( - "github.com/nspcc-dev/neofs-api-go/v2/reputation" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/client" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/common" + "github.com/TrueCloudLab/frostfs-api-go/v2/reputation" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" ) const serviceReputation = serviceNamePrefix + "reputation.ReputationService" diff --git a/rpc/session.go b/rpc/session.go index cdd43c2..f180780 100644 --- a/rpc/session.go +++ b/rpc/session.go @@ -1,9 +1,9 @@ package rpc import ( - "github.com/nspcc-dev/neofs-api-go/v2/rpc/client" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/common" - "github.com/nspcc-dev/neofs-api-go/v2/session" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" + "github.com/TrueCloudLab/frostfs-api-go/v2/session" ) const serviceSession = serviceNamePrefix + "session.SessionService" diff --git a/session/convert.go b/session/convert.go index b9a93e6..a6bc6d6 100644 --- a/session/convert.go +++ b/session/convert.go @@ -3,15 +3,15 @@ package session import ( "fmt" - "github.com/nspcc-dev/neofs-api-go/v2/acl" - aclGRPC "github.com/nspcc-dev/neofs-api-go/v2/acl/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/refs" - refsGRPC "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - session "github.com/nspcc-dev/neofs-api-go/v2/session/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/status" - statusGRPC "github.com/nspcc-dev/neofs-api-go/v2/status/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/acl" + aclGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + refsGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/status" + statusGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/status/grpc" ) func (c *CreateRequestBody) ToGRPCMessage() grpc.Message { diff --git a/session/grpc/service.go b/session/grpc/service.go index 14348e4..a9e5282 100644 --- a/session/grpc/service.go +++ b/session/grpc/service.go @@ -1,7 +1,7 @@ package session import ( - refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" + refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // SetOwnerId sets identifier of the session initiator. diff --git a/session/grpc/service.pb.go b/session/grpc/service.pb.go index 0c90cb6ca95d002ab1c45c927f2392f78a14ddf5..5bf16776fd63d20f1043916c26bc311a80c436a2 100644 GIT binary patch delta 242 zcmeC|V_eh6IH7>ia$;eKP)Jc}s&h_$X^Kx`l73oIesRghONvIksX7V<6{d+G(l~XJ zv3tF#35acO1SU;Eq#2krF$S}f!DJeetcea6r$L1YM8Xg(4c2S~R%B)dRtgp|gJ=UA zWDd3lDhn1dN&%^yyuw(NiHmdcK4V!%g~@k~9YGv<6WPh{j1?!xnJ9v|4JIJD`6ghw Phd{XoHPOu?re6gCh^siY+_*uZ(eahaagq#2kEA&pYNA|_zc6s*Qfhl|so!YFO>L@lw&JB`&9Kw8Yf3erHN5tuYL z1F?;bfQl!XI8K&Vc8f&h}jJcIxM diff --git a/session/grpc/service_grpc.pb.go b/session/grpc/service_grpc.pb.go index ebda887a95fb314cc9d2e90d928b2fa902f4d078..a05628041df67f26e6ebf71931312583527e4e93 100644 GIT binary patch delta 12 Tcmdlbze|2X1Eb}}MoWGGAYTM` delta 12 Tcmdlbze|2X1Ebl-MoWGGAW#H! diff --git a/session/grpc/types.go b/session/grpc/types.go index 7cdb7d5..e3ee8d6 100644 --- a/session/grpc/types.go +++ b/session/grpc/types.go @@ -1,9 +1,9 @@ package session import ( - acl "github.com/nspcc-dev/neofs-api-go/v2/acl/grpc" - refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" - status "github.com/nspcc-dev/neofs-api-go/v2/status/grpc" + acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + status "github.com/TrueCloudLab/frostfs-api-go/v2/status/grpc" ) // SetKey sets key to the X-Header. diff --git a/session/grpc/types.pb.go b/session/grpc/types.pb.go index c964738d16746dd132051d439f6e295f092de22f..b96f9541ce690222bce9cc087e33791b694348a7 100644 GIT binary patch delta 283 zcmeC#!@P43^MnFM%ZY`-LLo(^sm?k1r71p%N&0C;`Nbs@FKS{Doy^XtjYW8~J>%QW zys0`01{J1>AksK>vgKCyOj8pO$J_`^nu16(Flk~8W+#KmG$dIQ9WG9T3KNKgAy^u$ z*$Ax2%nYm)EMf-H1~$mtWb)~)+Du%WlfQ43Wd+(|ls36=p6cWW&0Lc`xAB1_BDTp+ puA3(T6ylsbeVZakXy-OrMuo{YwmGta>@-T999W~h*=zeDH30AQTL1t6 delta 231 zcmdnFhq-4D^MnFMvx$Ylym`e1$;rAYsb%_ksreJHX`%{D7G%^$71`{^_;xd|rH+C@ zg=r#)G`5`VvDMwuEEU8tHwKdiAkqxXhLA=nU=b5AX$n?jro+W)P+^odd1H^*0 zRX|$I!3xqqq!E}jHv_SajbMrs%k?I2Et6w1PMU1EMSt>T_jCW1)gux2B$A~Q3vQm}{_L>t&3bFen3ELg-S1*CHFDR*f(uu)*e z5JSwth8RPQo$O%d%mz|ooCIWQOfK;-X5!+Uyuw4473}iK4HjaPA9|>R1O+{$ILyHM Q49q64HB;K`=NZop01T_jCW1&~^T|r??%rmpAda~)m^1*9W?(jiG)e)B zn1D%Buo|!tMrk@+oIs^u&1PT;v$V;V+zk~#2Bd)$0+oOa1}irPMWOfA;|<3Z1HepRG56+LzWF>thv$T1`Dyt|2@x$jl6^6f9x}(FQii z++^|wF+&BgCa^F>xj9(5G2DR3jN*=9lg$l4=0MFfN0ofYEGXVGM6xaY1sjZc1vIeqL(+#{1@?ycRkN1{J1>AkxHmva*=Fw^=HP zV{Qy44M3zBm<=I~Qotf6VA2$<#tcLnrRi{S0+oU_n}H?F(k5RPGgJT>kOox(G8nAf z*a)s^@T_jCW1)gx$jl6^6f9x}(FQii z++=b#uPPH4=j4gJvWyCoH}EPIZgmLJwwm{ delta 219 zcmbPZ@Kb+60i)T(!T{d9;)3L4-IUZa{k+utjhFv%^P1@>7*v=hf=FZY$@h5Nz0FcV z9CKqZX#gV4z-$OCYsO?0?84JyoyKw{>mAkqv>nizxG$zU=KNfvB|2}IlwEDP3a1Xg2a2383cF@xwb zhFD-SIYCg8QDJhmpd%9(=j6SDvXf8n@=q4vk)F&dBr$nCuf}9oAxn@{y^t(W-8>;j LklgUC>T_jCW1)gl*v~F+|tZa zb+|YUD$I>RV&(=Q(hSUokVYwB5fd7tB4AmFX;8g}Kno_% v6Lg$>jz^9O$ovmvzT*Zn6NDTU;0BmNoB**3Y?!$bNb5l%nEK61!tXc${YE|m diff --git a/tombstone/json.go b/tombstone/json.go index 28ffc1b..1059910 100644 --- a/tombstone/json.go +++ b/tombstone/json.go @@ -1,8 +1,8 @@ package tombstone import ( - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - tombstone "github.com/nspcc-dev/neofs-api-go/v2/tombstone/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + tombstone "github.com/TrueCloudLab/frostfs-api-go/v2/tombstone/grpc" ) func (s *Tombstone) MarshalJSON() ([]byte, error) { diff --git a/tombstone/marshal.go b/tombstone/marshal.go index 62497db..706d9c1 100644 --- a/tombstone/marshal.go +++ b/tombstone/marshal.go @@ -1,9 +1,9 @@ package tombstone import ( - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - tombstone "github.com/nspcc-dev/neofs-api-go/v2/tombstone/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/util/proto" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + tombstone "github.com/TrueCloudLab/frostfs-api-go/v2/tombstone/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/tombstone/message_test.go b/tombstone/message_test.go index 858cb01..ae0ad00 100644 --- a/tombstone/message_test.go +++ b/tombstone/message_test.go @@ -3,9 +3,9 @@ package tombstone_test import ( "testing" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - messagetest "github.com/nspcc-dev/neofs-api-go/v2/rpc/message/test" - tombstonetest "github.com/nspcc-dev/neofs-api-go/v2/tombstone/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + tombstonetest "github.com/TrueCloudLab/frostfs-api-go/v2/tombstone/test" ) func TestMessageConvert(t *testing.T) { diff --git a/tombstone/test/generate.go b/tombstone/test/generate.go index 771f109..00ffa92 100644 --- a/tombstone/test/generate.go +++ b/tombstone/test/generate.go @@ -1,8 +1,8 @@ package tombstonetest import ( - refstest "github.com/nspcc-dev/neofs-api-go/v2/refs/test" - "github.com/nspcc-dev/neofs-api-go/v2/tombstone" + refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/tombstone" ) func GenerateTombstone(empty bool) *tombstone.Tombstone { diff --git a/tombstone/types.go b/tombstone/types.go index d04935d..4f2ffb4 100644 --- a/tombstone/types.go +++ b/tombstone/types.go @@ -1,7 +1,7 @@ package tombstone import ( - "github.com/nspcc-dev/neofs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" ) // Tombstone is a unified structure of Tombstone diff --git a/util/proto/marshal_test.go b/util/proto/marshal_test.go index cda1440..b34e9d0 100644 --- a/util/proto/marshal_test.go +++ b/util/proto/marshal_test.go @@ -4,8 +4,8 @@ import ( "math" "testing" - "github.com/nspcc-dev/neofs-api-go/v2/util/proto" - "github.com/nspcc-dev/neofs-api-go/v2/util/proto/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" + "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto/test" "github.com/stretchr/testify/require" goproto "google.golang.org/protobuf/proto" ) diff --git a/util/proto/test/test.pb.go b/util/proto/test/test.pb.go index f884c084840fc4ac340a3746520f4c0d4ce2975f..de6f380584db9c0c4b9b69583776b06e3c419cb3 100644 GIT binary patch delta 12 TcmbQ8GdpKO0i)%{!d0dKBq0S# delta 12 TcmbQ8GdpKO0i)T*!d0dKBoYNj diff --git a/util/protogen/main.go b/util/protogen/main.go index 68c4da8..b5a1931 100644 --- a/util/protogen/main.go +++ b/util/protogen/main.go @@ -25,13 +25,13 @@ func main() { // generateFile generates a *.pb.go file enforcing field-order serialization. func generateFile(gen *protogen.Plugin, file *protogen.File) *protogen.GeneratedFile { - filename := file.GeneratedFilenamePrefix + "_neofs.pb.go" + filename := file.GeneratedFilenamePrefix + "_frostfs.pb.go" g := gen.NewGeneratedFile(filename, file.GoImportPath) - g.P("// Code generated by protoc-gen-go-neofs. DO NOT EDIT.") + g.P("// Code generated by protoc-gen-go-frostfs. DO NOT EDIT.") g.P() g.P("package ", file.GoPackageName) g.P() - g.P(`import "github.com/nspcc-dev/neofs-api-go/v2/util/proto"`) + g.P(`import "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto"`) //for _, e := range file.Enums { // g.P("type " + e.GoIdent.GoName + " int32") diff --git a/util/signature/data.go b/util/signature/data.go index 387be93..efe543d 100644 --- a/util/signature/data.go +++ b/util/signature/data.go @@ -3,8 +3,8 @@ package signature import ( "crypto/ecdsa" - "github.com/nspcc-dev/neofs-api-go/v2/refs" - crypto "github.com/nspcc-dev/neofs-crypto" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + crypto "github.com/TrueCloudLab/frostfs-crypto" ) type DataSource interface { diff --git a/util/signature/options.go b/util/signature/options.go index 615b443..cb25034 100644 --- a/util/signature/options.go +++ b/util/signature/options.go @@ -5,9 +5,9 @@ import ( "encoding/base64" "fmt" - "github.com/nspcc-dev/neofs-api-go/v2/refs" - "github.com/nspcc-dev/neofs-api-go/v2/util/signature/walletconnect" - crypto "github.com/nspcc-dev/neofs-crypto" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/util/signature/walletconnect" + crypto "github.com/TrueCloudLab/frostfs-crypto" ) type cfg struct { diff --git a/util/signature/sign_test.go b/util/signature/sign_test.go index 11ed442..c819068 100644 --- a/util/signature/sign_test.go +++ b/util/signature/sign_test.go @@ -6,7 +6,7 @@ import ( "crypto/rand" "testing" - "github.com/nspcc-dev/neofs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" "github.com/stretchr/testify/require" ) diff --git a/util/signature/walletconnect/sign.go b/util/signature/walletconnect/sign.go index 8c49fec..bd24a89 100644 --- a/util/signature/walletconnect/sign.go +++ b/util/signature/walletconnect/sign.go @@ -7,7 +7,7 @@ import ( "encoding/binary" "encoding/hex" - crypto "github.com/nspcc-dev/neofs-crypto" + crypto "github.com/TrueCloudLab/frostfs-crypto" ) const ( -- 2.45.2