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 7c745ac..d0783f2 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 beec45e..f1cfeb5 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 883a041..89a8c76 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 5b4378e..b0738f6 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 f5265b1..06a1299 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 16e6d30..cdbac36 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 abd9fb8..171693d 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 f0ddd29..0196176 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 a49aa6b..697f699 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 032f5c9..436ae58 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 9d5934a..6e9ac46 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 8144954..7a50e90 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 87d476d..1ecdb70 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 ac1b369..d3e70cf 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 1968f5d..76c0345 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 3d90fc9..67098cf 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 23c994c..f360af6 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 a8b18fa..23a5ce6 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 36a2267..206fc88 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 bd1d59b..ceb0955 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 be46491..550977c 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 c97fb4e..1560b21 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 1e0d485..efbbca7 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 0d5ff01..44c6d14 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 354ef47..14a0025 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 823445d..aa34b2a 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 fc174e3..8e35efa 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 e8f8e72..ca5c4d9 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 1e83d89..ed607e2 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 e84c9b9..1de8b5f 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 2bb9b8b..91e9470 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 29901f2..0b78b3f 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 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 d54ad2f..35bef9e 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 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 f062929..64859ae 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 34c6f80..9ac25db 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 c555180..b97a0c8 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 c34f6bb..5d2237b 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 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 b0aa9bc..5821b77 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 6371473..8864e00 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 08d06d1..17ad8de 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 10e063a..9801037 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 4809930..19a888b 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 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 2879803..7fcf89d 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 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 c5c3a2d..2abb8d7 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 29de655..582a8cd 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 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 873eab5..9699284 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 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 0c90cb6..5bf1677 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 ebda887..a056280 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 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 c964738..b96f954 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 b423567..d44325f 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 2c82179..f4b1bc9 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 d9294c9..33489de 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 a6dbfca..04aa450 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 a2847f8..2a7ff6d 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 0335ed7..24e7d09 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 8bb2c82..dc06aed 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 cb14825..d00d76f 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 f39097d..59ee076 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 ea2e1aa..f1d4cf6 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 cd3aee8..fb508a3 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 50145ef..e13e567 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 b864629..d4960fb 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 968a6fc..553b7d7 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 b6f8d2d..47355f1 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 acc5a50..4df7da5 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 01df633..8812814 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 3dac399..dddd8b4 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 86280d3..f1151c4 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 8f5100c..98e2bcd 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 3224835..6136068 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 22e0ca9..f7a94f7 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 0eb65ef..ccc214c 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 80ba7b9..fb338e4 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 a03faf3..179705e 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 e85c02b..3e41b23 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 58a7268..548e656 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 015e66d..2de1bc8 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 952b7e7..37ecfe2 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 a62482d..d5eab77 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 beb92a7..48e64a6 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 aace76d..6793635 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 84b0c3e..b8ea61a 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 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 f884c08..de6f380 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 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 (