diff --git a/accounting/accounting.go b/accounting/accounting.go index 5277b1d3..25d61999 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 1d322106..d37fd1e5 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 91f9713d..0570cd35 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 7c745aca..d0783f29 100644 Binary files a/accounting/grpc/service.pb.go and b/accounting/grpc/service.pb.go differ diff --git a/accounting/grpc/service_grpc.pb.go b/accounting/grpc/service_grpc.pb.go index beec45e2..f1cfeb52 100644 Binary files a/accounting/grpc/service_grpc.pb.go and b/accounting/grpc/service_grpc.pb.go differ diff --git a/accounting/grpc/types.pb.go b/accounting/grpc/types.pb.go index 883a0411..89a8c762 100644 Binary files a/accounting/grpc/types.pb.go and b/accounting/grpc/types.pb.go differ diff --git a/accounting/json.go b/accounting/json.go index 5b4378ed..b0738f68 100644 --- a/accounting/json.go +++ b/accounting/json.go @@ -1,8 +1,8 @@ package accounting import ( - accounting "github.com/nspcc-dev/neofs-api-go/v2/accounting/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/rpc/message" ) func (d *Decimal) MarshalJSON() ([]byte, error) { diff --git a/accounting/marshal.go b/accounting/marshal.go index f5265b19..06a1299b 100644 --- a/accounting/marshal.go +++ b/accounting/marshal.go @@ -1,9 +1,9 @@ package accounting import ( - accounting "github.com/nspcc-dev/neofs-api-go/v2/accounting/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - protoutil "github.com/nspcc-dev/neofs-api-go/v2/util/proto" + accounting "github.com/TrueCloudLab/frostfs-api-go/v2/accounting/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + protoutil "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/accounting/message_test.go b/accounting/message_test.go index 16e6d308..cdbac362 100644 --- a/accounting/message_test.go +++ b/accounting/message_test.go @@ -3,9 +3,9 @@ package accounting_test import ( "testing" - accountingtest "github.com/nspcc-dev/neofs-api-go/v2/accounting/test" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - messagetest "github.com/nspcc-dev/neofs-api-go/v2/rpc/message/test" + accountingtest "github.com/TrueCloudLab/frostfs-api-go/v2/accounting/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" ) func TestMessage(t *testing.T) { diff --git a/accounting/test/generate.go b/accounting/test/generate.go index abd9fb85..171693d5 100644 --- a/accounting/test/generate.go +++ b/accounting/test/generate.go @@ -1,9 +1,9 @@ package accountingtest import ( - "github.com/nspcc-dev/neofs-api-go/v2/accounting" - accountingtest "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/accounting" + accountingtest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" + sessiontest "github.com/TrueCloudLab/frostfs-api-go/v2/session/test" ) func GenerateBalanceRequest(empty bool) *accounting.BalanceRequest { diff --git a/acl/bench_test.go b/acl/bench_test.go index f0ddd293..01961760 100644 --- a/acl/bench_test.go +++ b/acl/bench_test.go @@ -3,9 +3,9 @@ package acl_test import ( "testing" - "github.com/nspcc-dev/neofs-api-go/v2/acl" - aclGrpc "github.com/nspcc-dev/neofs-api-go/v2/acl/grpc" - acltest "github.com/nspcc-dev/neofs-api-go/v2/acl/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/acl" + aclGrpc "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + acltest "github.com/TrueCloudLab/frostfs-api-go/v2/acl/test" ) func BenchmarkTable_ToGRPCMessage(b *testing.B) { diff --git a/acl/convert.go b/acl/convert.go index a49aa6be..697f6998 100644 --- a/acl/convert.go +++ b/acl/convert.go @@ -1,11 +1,11 @@ package acl import ( - acl "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" + acl "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" ) // RoleToGRPCField converts unified role enum into grpc enum. diff --git a/acl/grpc/types.go b/acl/grpc/types.go index 032f5c91..436ae589 100644 --- a/acl/grpc/types.go +++ b/acl/grpc/types.go @@ -1,7 +1,7 @@ package acl import ( - refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" + refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // SetVersion sets version of EACL rules in table. diff --git a/acl/grpc/types.pb.go b/acl/grpc/types.pb.go index 9d5934ae..6e9ac460 100644 Binary files a/acl/grpc/types.pb.go and b/acl/grpc/types.pb.go differ diff --git a/acl/json.go b/acl/json.go index 81449547..7a50e90d 100644 --- a/acl/json.go +++ b/acl/json.go @@ -1,8 +1,8 @@ package acl import ( - acl "github.com/nspcc-dev/neofs-api-go/v2/acl/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" + acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (f *HeaderFilter) MarshalJSON() ([]byte, error) { diff --git a/acl/marshal.go b/acl/marshal.go index 87d476d8..1ecdb707 100644 --- a/acl/marshal.go +++ b/acl/marshal.go @@ -1,9 +1,9 @@ package acl import ( - acl "github.com/nspcc-dev/neofs-api-go/v2/acl/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - protoutil "github.com/nspcc-dev/neofs-api-go/v2/util/proto" + acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + protoutil "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/acl/message_test.go b/acl/message_test.go index ac1b369e..d3e70cf8 100644 --- a/acl/message_test.go +++ b/acl/message_test.go @@ -3,9 +3,9 @@ package acl_test import ( "testing" - acltest "github.com/nspcc-dev/neofs-api-go/v2/acl/test" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - messagetest "github.com/nspcc-dev/neofs-api-go/v2/rpc/message/test" + acltest "github.com/TrueCloudLab/frostfs-api-go/v2/acl/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/acl/string.go b/acl/string.go index 1968f5d3..76c03459 100644 --- a/acl/string.go +++ b/acl/string.go @@ -1,7 +1,7 @@ package acl import ( - acl "github.com/nspcc-dev/neofs-api-go/v2/acl/grpc" + acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" ) // String returns string representation of Action. diff --git a/acl/test/generate.go b/acl/test/generate.go index 3d90fc91..67098cf4 100644 --- a/acl/test/generate.go +++ b/acl/test/generate.go @@ -1,8 +1,8 @@ package acltest import ( - "github.com/nspcc-dev/neofs-api-go/v2/acl" - accountingtest "github.com/nspcc-dev/neofs-api-go/v2/refs/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/acl" + accountingtest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" ) func GenerateBearerToken(empty bool) *acl.BearerToken { diff --git a/acl/types.go b/acl/types.go index 23c994cb..f360af64 100644 --- a/acl/types.go +++ b/acl/types.go @@ -1,6 +1,6 @@ package acl -import "github.com/nspcc-dev/neofs-api-go/v2/refs" +import "github.com/TrueCloudLab/frostfs-api-go/v2/refs" // HeaderFilter is a unified structure of FilterInfo // message from proto definition. diff --git a/audit/convert.go b/audit/convert.go index a8b18fab..23a5ce68 100644 --- a/audit/convert.go +++ b/audit/convert.go @@ -1,11 +1,11 @@ package audit import ( - audit "github.com/nspcc-dev/neofs-api-go/v2/audit/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" + audit "github.com/TrueCloudLab/frostfs-api-go/v2/audit/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 (a *DataAuditResult) ToGRPCMessage() grpc.Message { diff --git a/audit/grpc/types.go b/audit/grpc/types.go index 36a2267c..206fc882 100644 --- a/audit/grpc/types.go +++ b/audit/grpc/types.go @@ -1,7 +1,7 @@ package audit import ( - refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" + refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // SetVersion is a Version field setter. diff --git a/audit/grpc/types.pb.go b/audit/grpc/types.pb.go index bd1d59b6..ceb0955c 100644 Binary files a/audit/grpc/types.pb.go and b/audit/grpc/types.pb.go differ diff --git a/audit/json.go b/audit/json.go index be46491b..550977cd 100644 --- a/audit/json.go +++ b/audit/json.go @@ -1,8 +1,8 @@ package audit import ( - audit "github.com/nspcc-dev/neofs-api-go/v2/audit/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" + audit "github.com/TrueCloudLab/frostfs-api-go/v2/audit/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (a *DataAuditResult) MarshalJSON() ([]byte, error) { diff --git a/audit/marshal.go b/audit/marshal.go index c97fb4eb..1560b214 100644 --- a/audit/marshal.go +++ b/audit/marshal.go @@ -1,10 +1,10 @@ package audit import ( - audit "github.com/nspcc-dev/neofs-api-go/v2/audit/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" + audit "github.com/TrueCloudLab/frostfs-api-go/v2/audit/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/audit/message_test.go b/audit/message_test.go index 1e0d485e..efbbca74 100644 --- a/audit/message_test.go +++ b/audit/message_test.go @@ -3,9 +3,9 @@ package audit_test import ( "testing" - audittest "github.com/nspcc-dev/neofs-api-go/v2/audit/test" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - messagetest "github.com/nspcc-dev/neofs-api-go/v2/rpc/message/test" + audittest "github.com/TrueCloudLab/frostfs-api-go/v2/audit/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/audit/test/generate.go b/audit/test/generate.go index 0d5ff01e..44c6d14e 100644 --- a/audit/test/generate.go +++ b/audit/test/generate.go @@ -1,8 +1,8 @@ package audittest import ( - "github.com/nspcc-dev/neofs-api-go/v2/audit" - refstest "github.com/nspcc-dev/neofs-api-go/v2/refs/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/audit" + refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" ) func GenerateDataAuditResult(empty bool) *audit.DataAuditResult { diff --git a/audit/types.go b/audit/types.go index 354ef477..14a00254 100644 --- a/audit/types.go +++ b/audit/types.go @@ -1,7 +1,7 @@ package audit import ( - "github.com/nspcc-dev/neofs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" ) // DataAuditResult is a unified structure of diff --git a/container/attributes_test.go b/container/attributes_test.go index 823445d4..aa34b2aa 100644 --- a/container/attributes_test.go +++ b/container/attributes_test.go @@ -3,8 +3,8 @@ package container_test import ( "testing" - "github.com/nspcc-dev/neofs-api-go/v2/container" - containertest "github.com/nspcc-dev/neofs-api-go/v2/container/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/container" + containertest "github.com/TrueCloudLab/frostfs-api-go/v2/container/test" "github.com/stretchr/testify/require" ) diff --git a/container/convert.go b/container/convert.go index fc174e36..8e35efa0 100644 --- a/container/convert.go +++ b/container/convert.go @@ -1,17 +1,17 @@ package container import ( - "github.com/nspcc-dev/neofs-api-go/v2/acl" - aclGRPC "github.com/nspcc-dev/neofs-api-go/v2/acl/grpc" - container "github.com/nspcc-dev/neofs-api-go/v2/container/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/netmap" - netmapGRPC "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" - "github.com/nspcc-dev/neofs-api-go/v2/session" - sessionGRPC "github.com/nspcc-dev/neofs-api-go/v2/session/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/acl" + aclGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + container "github.com/TrueCloudLab/frostfs-api-go/v2/container/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" + netmapGRPC "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" + "github.com/TrueCloudLab/frostfs-api-go/v2/session" + sessionGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) func (a *Attribute) ToGRPCMessage() grpc.Message { diff --git a/container/grpc/service.go b/container/grpc/service.go index e8f8e721..ca5c4d92 100644 --- a/container/grpc/service.go +++ b/container/grpc/service.go @@ -1,9 +1,9 @@ package container import ( - acl "github.com/nspcc-dev/neofs-api-go/v2/acl/grpc" - refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" - session "github.com/nspcc-dev/neofs-api-go/v2/session/grpc" + acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) // SetContainer sets container of the request. diff --git a/container/grpc/service.pb.go b/container/grpc/service.pb.go index 1e83d89a..ed607e20 100644 Binary files a/container/grpc/service.pb.go and b/container/grpc/service.pb.go differ diff --git a/container/grpc/service_grpc.pb.go b/container/grpc/service_grpc.pb.go index e84c9b93..1de8b5f2 100644 Binary files a/container/grpc/service_grpc.pb.go and b/container/grpc/service_grpc.pb.go differ diff --git a/container/grpc/types.go b/container/grpc/types.go index 2bb9b8b4..91e94704 100644 --- a/container/grpc/types.go +++ b/container/grpc/types.go @@ -1,8 +1,8 @@ package container import ( - netmap "github.com/nspcc-dev/neofs-api-go/v2/netmap/grpc" - refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" + netmap "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" + refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // SetKey sets key to the container attribute. diff --git a/container/grpc/types.pb.go b/container/grpc/types.pb.go index 29901f2b..0b78b3fd 100644 Binary files a/container/grpc/types.pb.go and b/container/grpc/types.pb.go differ diff --git a/container/json.go b/container/json.go index b3545856..ac8bdf32 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 ae1ac787..a7f77ab1 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 3f7b0766..62e19146 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 499c8558..d5aa1470 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 c7d9c910..adbfd2f7 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 dfd20985..82f378a8 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 215f830d..fdb35f80 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 74465d77..4134f1cc 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 aa935383..4eddb9e6 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 49178002..68f83516 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 f10684c2..d39c1342 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 d54ad2fa..35bef9e3 100644 Binary files a/lock/grpc/types.pb.go and b/lock/grpc/types.pb.go differ diff --git a/netmap/attributes.go b/netmap/attributes.go index 4f69287c..6901da54 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 e485dacd..0385f423 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 d2121b10..36af6461 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 c97f8be5..ad72cedb 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 f0629293..64859ae2 100644 Binary files a/netmap/grpc/service.pb.go and b/netmap/grpc/service.pb.go differ diff --git a/netmap/grpc/service_grpc.pb.go b/netmap/grpc/service_grpc.pb.go index 34c6f809..9ac25db1 100644 Binary files a/netmap/grpc/service_grpc.pb.go and b/netmap/grpc/service_grpc.pb.go differ diff --git a/netmap/grpc/types.go b/netmap/grpc/types.go index c555180a..b97a0c8a 100644 --- a/netmap/grpc/types.go +++ b/netmap/grpc/types.go @@ -1,6 +1,6 @@ package netmap -import refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" +import refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" // SetReplicas of placement policy. func (m *PlacementPolicy) SetReplicas(v []*Replica) { diff --git a/netmap/grpc/types.pb.go b/netmap/grpc/types.pb.go index c34f6bb0..5d2237bc 100644 Binary files a/netmap/grpc/types.pb.go and b/netmap/grpc/types.pb.go differ diff --git a/netmap/json.go b/netmap/json.go index 05979ba1..aed469ce 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 fcbf9205..d006f924 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 92a60272..2ebec3cf 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 11ab18cb..0c2a491b 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 87cdc509..835e7f1c 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 b581d3ee..dc76f80d 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 c4b08685..82eba350 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 b77208fc..d85d44be 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 b0aa9bc3..5821b775 100644 Binary files a/object/grpc/service.pb.go and b/object/grpc/service.pb.go differ diff --git a/object/grpc/service_grpc.pb.go b/object/grpc/service_grpc.pb.go index 6371473d..8864e00c 100644 Binary files a/object/grpc/service_grpc.pb.go and b/object/grpc/service_grpc.pb.go differ diff --git a/object/grpc/status.pb.go b/object/grpc/status.pb.go index 08d06d13..17ad8de6 100644 Binary files a/object/grpc/status.pb.go and b/object/grpc/status.pb.go differ diff --git a/object/grpc/types.go b/object/grpc/types.go index 10e063a8..98010376 100644 --- a/object/grpc/types.go +++ b/object/grpc/types.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" ) // SetKey sets key to the object attribute. diff --git a/object/grpc/types.pb.go b/object/grpc/types.pb.go index 4809930d..19a888bb 100644 Binary files a/object/grpc/types.pb.go and b/object/grpc/types.pb.go differ diff --git a/object/json.go b/object/json.go index 1555005e..6999cc9e 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 44597ebc..e9704a8e 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 17e9e46f..90c7e7f4 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 03ba265a..e2865780 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 98461dff..94b1c1df 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 e1e96c82..bbdeb3f0 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 a330a9ff..af7dcf97 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 3191e31f..ef22f8be 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 0c6ffab4..1c745760 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 15477c14..33eb48e5 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 e402f50e..dade5886 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 28798033..7fcf89d2 100644 Binary files a/refs/grpc/types.pb.go and b/refs/grpc/types.pb.go differ diff --git a/refs/json.go b/refs/json.go index 5a48cdb4..44198aed 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 ef85324b..50c35019 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 f54b2b5f..8d8a69db 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 1b986000..2dac54ae 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 13aefbda..b11b1a04 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 e2077b2b..11ad6280 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 924b1edd..25e887d3 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 519c2dfb..b737d6de 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 c5c3a2d3..2abb8d78 100644 Binary files a/reputation/grpc/service.pb.go and b/reputation/grpc/service.pb.go differ diff --git a/reputation/grpc/service_grpc.pb.go b/reputation/grpc/service_grpc.pb.go index 29de6557..582a8cd5 100644 Binary files a/reputation/grpc/service_grpc.pb.go and b/reputation/grpc/service_grpc.pb.go differ diff --git a/reputation/grpc/types.go b/reputation/grpc/types.go index 14848d3e..01766f87 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 873eab5c..96992844 100644 Binary files a/reputation/grpc/types.pb.go and b/reputation/grpc/types.pb.go differ diff --git a/reputation/json.go b/reputation/json.go index 17f559f7..d1b4d4d0 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 83b9a5a7..138e0e80 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 0f948c9b..8f308b0c 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 00e6009d..09d61d22 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 f058efc9..3876f1a7 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 0c0bd7b5..21c7a7f8 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 16b3496d..40b5d1a6 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 cdbbbea8..2fe77d54 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 4f4a04ad..e741ca34 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 bad7ed0a..b45871b6 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 eeb5a135..56704b6c 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 aa4898f4..f3acd085 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 219e9198..a33afe1f 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 31a2ba78..bc9aa9cd 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 c7c65e26..220c6565 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 4a53b68d..b28cde30 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 576559d8..4f6acaf6 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 7c4450f0..138b7582 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 f67743c1..bfe2ef4f 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 58faa9f9..b2d0c953 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 9332f10f..413868d7 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 cdd43c27..f180780b 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 b9a93e66..a6bc6d62 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 14348e47..a9e52828 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 0c90cb6c..5bf16776 100644 Binary files a/session/grpc/service.pb.go and b/session/grpc/service.pb.go differ diff --git a/session/grpc/service_grpc.pb.go b/session/grpc/service_grpc.pb.go index ebda887a..a0562804 100644 Binary files a/session/grpc/service_grpc.pb.go and b/session/grpc/service_grpc.pb.go differ diff --git a/session/grpc/types.go b/session/grpc/types.go index 7cdb7d51..e3ee8d66 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 c964738d..b96f9541 100644 Binary files a/session/grpc/types.pb.go and b/session/grpc/types.pb.go differ diff --git a/session/json.go b/session/json.go index b4235677..d44325f3 100644 --- a/session/json.go +++ b/session/json.go @@ -1,8 +1,8 @@ package session import ( - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - session "github.com/nspcc-dev/neofs-api-go/v2/session/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" "google.golang.org/protobuf/encoding/protojson" ) diff --git a/session/marshal.go b/session/marshal.go index 2c82179b..f4b1bc94 100644 --- a/session/marshal.go +++ b/session/marshal.go @@ -1,9 +1,9 @@ package session import ( - "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/util/proto" + "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/util/proto" goproto "google.golang.org/protobuf/proto" ) diff --git a/session/message_test.go b/session/message_test.go index d9294c97..33489ded 100644 --- a/session/message_test.go +++ b/session/message_test.go @@ -3,9 +3,9 @@ package session_test import ( "testing" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - rpctest "github.com/nspcc-dev/neofs-api-go/v2/rpc/message/test" - sessiontest "github.com/nspcc-dev/neofs-api-go/v2/session/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + rpctest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + sessiontest "github.com/TrueCloudLab/frostfs-api-go/v2/session/test" ) func TestMessageConvert(t *testing.T) { diff --git a/session/status.go b/session/status.go index a6dbfca5..04aa450a 100644 --- a/session/status.go +++ b/session/status.go @@ -1,8 +1,8 @@ package session 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 session failure and: diff --git a/session/status_test.go b/session/status_test.go index a2847f8f..2a7ff6d1 100644 --- a/session/status_test.go +++ b/session/status_test.go @@ -3,8 +3,8 @@ package session_test import ( "testing" - "github.com/nspcc-dev/neofs-api-go/v2/session" - statustest "github.com/nspcc-dev/neofs-api-go/v2/status/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/session" + statustest "github.com/TrueCloudLab/frostfs-api-go/v2/status/test" ) func TestStatusCodes(t *testing.T) { diff --git a/session/string.go b/session/string.go index 0335ed7f..24e7d090 100644 --- a/session/string.go +++ b/session/string.go @@ -1,7 +1,7 @@ package session import ( - session "github.com/nspcc-dev/neofs-api-go/v2/session/grpc" + session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) // String returns string representation of ObjectSessionVerb. diff --git a/session/test/generate.go b/session/test/generate.go index 8bb2c82c..dc06aed2 100644 --- a/session/test/generate.go +++ b/session/test/generate.go @@ -1,11 +1,11 @@ package sessiontest import ( - acltest "github.com/nspcc-dev/neofs-api-go/v2/acl/test" - "github.com/nspcc-dev/neofs-api-go/v2/internal/random" - refstest "github.com/nspcc-dev/neofs-api-go/v2/refs/test" - "github.com/nspcc-dev/neofs-api-go/v2/session" - statustest "github.com/nspcc-dev/neofs-api-go/v2/status/test" + acltest "github.com/TrueCloudLab/frostfs-api-go/v2/acl/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/internal/random" + refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/session" + statustest "github.com/TrueCloudLab/frostfs-api-go/v2/status/test" ) func GenerateCreateRequestBody(empty bool) *session.CreateRequestBody { diff --git a/session/types.go b/session/types.go index cb148254..d00d76f3 100644 --- a/session/types.go +++ b/session/types.go @@ -1,10 +1,10 @@ package session import ( - "github.com/nspcc-dev/neofs-api-go/v2/acl" - "github.com/nspcc-dev/neofs-api-go/v2/refs" - "github.com/nspcc-dev/neofs-api-go/v2/status" - "github.com/nspcc-dev/neofs-api-go/v2/util/proto" + "github.com/TrueCloudLab/frostfs-api-go/v2/acl" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/status" + "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" ) type CreateRequestBody struct { diff --git a/session/util.go b/session/util.go index f39097db..59ee076e 100644 --- a/session/util.go +++ b/session/util.go @@ -1,7 +1,7 @@ package session import ( - session "github.com/nspcc-dev/neofs-api-go/v2/session/grpc" + session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) // RequestHeaders represents common part of diff --git a/signature/sign.go b/signature/sign.go index ea2e1aa7..f1d4cf6b 100644 --- a/signature/sign.go +++ b/signature/sign.go @@ -5,14 +5,14 @@ import ( "errors" "fmt" - "github.com/nspcc-dev/neofs-api-go/v2/accounting" - "github.com/nspcc-dev/neofs-api-go/v2/container" - "github.com/nspcc-dev/neofs-api-go/v2/netmap" - "github.com/nspcc-dev/neofs-api-go/v2/object" - "github.com/nspcc-dev/neofs-api-go/v2/refs" - "github.com/nspcc-dev/neofs-api-go/v2/reputation" - "github.com/nspcc-dev/neofs-api-go/v2/session" - "github.com/nspcc-dev/neofs-api-go/v2/util/signature" + "github.com/TrueCloudLab/frostfs-api-go/v2/accounting" + "github.com/TrueCloudLab/frostfs-api-go/v2/container" + "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" + "github.com/TrueCloudLab/frostfs-api-go/v2/object" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/reputation" + "github.com/TrueCloudLab/frostfs-api-go/v2/session" + "github.com/TrueCloudLab/frostfs-api-go/v2/util/signature" ) type serviceRequest interface { diff --git a/signature/sign_test.go b/signature/sign_test.go index cd3aee8a..fb508a38 100644 --- a/signature/sign_test.go +++ b/signature/sign_test.go @@ -3,9 +3,9 @@ package signature import ( "testing" - "github.com/nspcc-dev/neofs-api-go/v2/accounting" - "github.com/nspcc-dev/neofs-api-go/v2/session" - crypto "github.com/nspcc-dev/neofs-crypto" + "github.com/TrueCloudLab/frostfs-api-go/v2/accounting" + "github.com/TrueCloudLab/frostfs-api-go/v2/session" + crypto "github.com/TrueCloudLab/frostfs-crypto" "github.com/stretchr/testify/require" ) diff --git a/status/convert.go b/status/convert.go index 50145ef9..e13e5672 100644 --- a/status/convert.go +++ b/status/convert.go @@ -1,9 +1,9 @@ package status import ( - "github.com/nspcc-dev/neofs-api-go/v2/rpc/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - status "github.com/nspcc-dev/neofs-api-go/v2/status/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + status "github.com/TrueCloudLab/frostfs-api-go/v2/status/grpc" ) func (x *Detail) ToGRPCMessage() grpc.Message { diff --git a/status/grpc/types.pb.go b/status/grpc/types.pb.go index b864629a..d4960fb0 100644 Binary files a/status/grpc/types.pb.go and b/status/grpc/types.pb.go differ diff --git a/status/marshal.go b/status/marshal.go index 968a6fc4..553b7d73 100644 --- a/status/marshal.go +++ b/status/marshal.go @@ -1,9 +1,9 @@ package status import ( - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - status "github.com/nspcc-dev/neofs-api-go/v2/status/grpc" - protoutil "github.com/nspcc-dev/neofs-api-go/v2/util/proto" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + status "github.com/TrueCloudLab/frostfs-api-go/v2/status/grpc" + protoutil "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/status/message_test.go b/status/message_test.go index b6f8d2d9..47355f12 100644 --- a/status/message_test.go +++ b/status/message_test.go @@ -3,9 +3,9 @@ package status_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" - statustest "github.com/nspcc-dev/neofs-api-go/v2/status/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + statustest "github.com/TrueCloudLab/frostfs-api-go/v2/status/test" ) func TestMessageConvert(t *testing.T) { diff --git a/status/test/codes.go b/status/test/codes.go index acc5a503..4df7da5b 100644 --- a/status/test/codes.go +++ b/status/test/codes.go @@ -3,7 +3,7 @@ package statustest import ( "testing" - "github.com/nspcc-dev/neofs-api-go/v2/status" + "github.com/TrueCloudLab/frostfs-api-go/v2/status" "github.com/stretchr/testify/require" ) diff --git a/status/test/generate.go b/status/test/generate.go index 01df633a..88128145 100644 --- a/status/test/generate.go +++ b/status/test/generate.go @@ -1,7 +1,7 @@ package statustest import ( - "github.com/nspcc-dev/neofs-api-go/v2/status" + "github.com/TrueCloudLab/frostfs-api-go/v2/status" ) // Detail returns status.Detail filled with static random values. diff --git a/storagegroup/convert.go b/storagegroup/convert.go index 3dac3999..dddd8b47 100644 --- a/storagegroup/convert.go +++ b/storagegroup/convert.go @@ -1,11 +1,11 @@ package storagegroup import ( - "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" - sg "github.com/nspcc-dev/neofs-api-go/v2/storagegroup/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" + sg "github.com/TrueCloudLab/frostfs-api-go/v2/storagegroup/grpc" ) func (s *StorageGroup) ToGRPCMessage() grpc.Message { diff --git a/storagegroup/grpc/types.go b/storagegroup/grpc/types.go index 86280d3f..f1151c46 100644 --- a/storagegroup/grpc/types.go +++ b/storagegroup/grpc/types.go @@ -1,7 +1,7 @@ package storagegroup import ( - refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" + refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // SetValidationDataSize sets the total size of the payloads of the storage group. diff --git a/storagegroup/grpc/types.pb.go b/storagegroup/grpc/types.pb.go index 8f5100c5..98e2bcd4 100644 Binary files a/storagegroup/grpc/types.pb.go and b/storagegroup/grpc/types.pb.go differ diff --git a/storagegroup/json.go b/storagegroup/json.go index 32248355..61360686 100644 --- a/storagegroup/json.go +++ b/storagegroup/json.go @@ -1,8 +1,8 @@ package storagegroup import ( - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - storagegroup "github.com/nspcc-dev/neofs-api-go/v2/storagegroup/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + storagegroup "github.com/TrueCloudLab/frostfs-api-go/v2/storagegroup/grpc" ) func (s *StorageGroup) MarshalJSON() ([]byte, error) { diff --git a/storagegroup/marshal.go b/storagegroup/marshal.go index 22e0ca9a..f7a94f7c 100644 --- a/storagegroup/marshal.go +++ b/storagegroup/marshal.go @@ -1,10 +1,10 @@ package storagegroup import ( - "github.com/nspcc-dev/neofs-api-go/v2/refs" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/message" - storagegroup "github.com/nspcc-dev/neofs-api-go/v2/storagegroup/grpc" - "github.com/nspcc-dev/neofs-api-go/v2/util/proto" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + storagegroup "github.com/TrueCloudLab/frostfs-api-go/v2/storagegroup/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/storagegroup/message_test.go b/storagegroup/message_test.go index 0eb65ef7..ccc214c5 100644 --- a/storagegroup/message_test.go +++ b/storagegroup/message_test.go @@ -3,9 +3,9 @@ package storagegroup_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" - storagegrouptest "github.com/nspcc-dev/neofs-api-go/v2/storagegroup/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + storagegrouptest "github.com/TrueCloudLab/frostfs-api-go/v2/storagegroup/test" ) func TestMessageConvert(t *testing.T) { diff --git a/storagegroup/test/generate.go b/storagegroup/test/generate.go index 80ba7b98..fb338e47 100644 --- a/storagegroup/test/generate.go +++ b/storagegroup/test/generate.go @@ -1,8 +1,8 @@ package storagegrouptest import ( - refstest "github.com/nspcc-dev/neofs-api-go/v2/refs/test" - "github.com/nspcc-dev/neofs-api-go/v2/storagegroup" + refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/storagegroup" ) func GenerateStorageGroup(empty bool) *storagegroup.StorageGroup { diff --git a/storagegroup/types.go b/storagegroup/types.go index a03faf39..179705e7 100644 --- a/storagegroup/types.go +++ b/storagegroup/types.go @@ -1,7 +1,7 @@ package storagegroup import ( - "github.com/nspcc-dev/neofs-api-go/v2/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/refs" ) // StorageGroup is a unified structure of StorageGroup diff --git a/subnet/encoding_test.go b/subnet/encoding_test.go index e85c02b9..3e41b232 100644 --- a/subnet/encoding_test.go +++ b/subnet/encoding_test.go @@ -3,9 +3,9 @@ package subnet_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" - subnettest "github.com/nspcc-dev/neofs-api-go/v2/subnet/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + subnettest "github.com/TrueCloudLab/frostfs-api-go/v2/subnet/test" ) func TestMessageConvert(t *testing.T) { diff --git a/subnet/grpc/types.go b/subnet/grpc/types.go index 58a72683..548e6560 100644 --- a/subnet/grpc/types.go +++ b/subnet/grpc/types.go @@ -1,7 +1,7 @@ package subnet import ( - refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" + refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // SetID returns identifier of the subnet. Nil arg is equivalent to zero subnet ID. diff --git a/subnet/grpc/types.pb.go b/subnet/grpc/types.pb.go index 015e66dd..2de1bc80 100644 Binary files a/subnet/grpc/types.pb.go and b/subnet/grpc/types.pb.go differ diff --git a/subnet/info.go b/subnet/info.go index 952b7e7d..37ecfe2a 100644 --- a/subnet/info.go +++ b/subnet/info.go @@ -1,12 +1,12 @@ package subnet import ( - "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" - subnet "github.com/nspcc-dev/neofs-api-go/v2/subnet/grpc" - protoutil "github.com/nspcc-dev/neofs-api-go/v2/util/proto" + "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" + subnet "github.com/TrueCloudLab/frostfs-api-go/v2/subnet/grpc" + protoutil "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" ) // Info represents information about NeoFS subnet. Structure is compatible with NeoFS API V2 protocol. diff --git a/subnet/test/generate.go b/subnet/test/generate.go index a62482d9..d5eab774 100644 --- a/subnet/test/generate.go +++ b/subnet/test/generate.go @@ -1,8 +1,8 @@ package subnettest import ( - refstest "github.com/nspcc-dev/neofs-api-go/v2/refs/test" - "github.com/nspcc-dev/neofs-api-go/v2/subnet" + refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" + "github.com/TrueCloudLab/frostfs-api-go/v2/subnet" ) func GenerateSubnetInfo(empty bool) *subnet.Info { diff --git a/tombstone/convert.go b/tombstone/convert.go index beb92a77..48e64a6c 100644 --- a/tombstone/convert.go +++ b/tombstone/convert.go @@ -1,10 +1,10 @@ package tombstone import ( - "github.com/nspcc-dev/neofs-api-go/v2/refs" - "github.com/nspcc-dev/neofs-api-go/v2/rpc/grpc" - "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/refs" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + tombstone "github.com/TrueCloudLab/frostfs-api-go/v2/tombstone/grpc" ) func (s *Tombstone) ToGRPCMessage() grpc.Message { diff --git a/tombstone/grpc/types.go b/tombstone/grpc/types.go index aace76db..67936357 100644 --- a/tombstone/grpc/types.go +++ b/tombstone/grpc/types.go @@ -1,7 +1,7 @@ package tombstone import ( - refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc" + refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // SetExpirationEpoch sets number of tombstone expiration epoch. diff --git a/tombstone/grpc/types.pb.go b/tombstone/grpc/types.pb.go index 84b0c3ef..b8ea61ac 100644 Binary files a/tombstone/grpc/types.pb.go and b/tombstone/grpc/types.pb.go differ diff --git a/tombstone/json.go b/tombstone/json.go index 28ffc1b1..10599103 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 62497db1..706d9c1b 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 858cb01f..ae0ad009 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 771f1092..00ffa927 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 d04935d6..4f2ffb47 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 cda1440d..b34e9d04 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 f884c084..de6f3805 100644 Binary files a/util/proto/test/test.pb.go and b/util/proto/test/test.pb.go differ diff --git a/util/protogen/main.go b/util/protogen/main.go index 68c4da8f..b5a19315 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 387be935..efe543d2 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 615b4439..cb250346 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 11ed442e..c8190685 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 8c49fece..bd24a895 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 (