From 69f09c8030567dd4a5f1a9164dfa359c120860ab Mon Sep 17 00:00:00 2001 From: ZhangTao Date: Wed, 10 Mar 2021 18:54:06 +0800 Subject: [PATCH] change csharp namespace (#140) * change csharp namespace Signed-off-by: ZhangTao1596 * use Neo.FileStorage.API as base namespace Signed-off-by: ZhangTao1596 --- accounting/service.proto | 2 +- accounting/types.proto | 2 +- acl/types.proto | 2 +- audit/types.proto | 2 +- container/service.proto | 2 +- container/types.proto | 2 +- netmap/service.proto | 2 +- netmap/types.proto | 2 +- object/service.proto | 2 +- object/types.proto | 2 +- refs/types.proto | 2 +- session/service.proto | 2 +- session/types.proto | 2 +- storagegroup/types.proto | 2 +- tombstone/types.proto | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/accounting/service.proto b/accounting/service.proto index c0828f4..f648970 100644 --- a/accounting/service.proto +++ b/accounting/service.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package neo.fs.v2.accounting; option go_package = "github.com/nspcc-dev/neofs-api-go/v2/accounting/grpc;accounting"; -option csharp_namespace = "NeoFS.API.v2.Accounting"; +option csharp_namespace = "Neo.FileStorage.API.Accounting"; import "accounting/types.proto"; import "refs/types.proto"; diff --git a/accounting/types.proto b/accounting/types.proto index cc4fbf6..2776232 100644 --- a/accounting/types.proto +++ b/accounting/types.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package neo.fs.v2.accounting; option go_package = "github.com/nspcc-dev/neofs-api-go/v2/accounting/grpc;accounting"; -option csharp_namespace = "NeoFS.API.v2.Accounting"; +option csharp_namespace = "Neo.FileStorage.API.Accounting"; // Standard floating point data type can't be used in NeoFS due to inexactness // of the result when doing lots of small number operations. To solve the lost diff --git a/acl/types.proto b/acl/types.proto index 3ca0a2e..f60b1d1 100644 --- a/acl/types.proto +++ b/acl/types.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package neo.fs.v2.acl; option go_package = "github.com/nspcc-dev/neofs-api-go/v2/acl/grpc;acl"; -option csharp_namespace = "NeoFS.API.v2.Acl"; +option csharp_namespace = "Neo.FileStorage.API.Acl"; import "refs/types.proto"; diff --git a/audit/types.proto b/audit/types.proto index 551e8c2..11c5754 100644 --- a/audit/types.proto +++ b/audit/types.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package neo.fs.v2.audit; option go_package = "github.com/nspcc-dev/neofs-api-go/v2/audit/grpc;audit"; -option csharp_namespace = "NeoFS.API.v2.Audit"; +option csharp_namespace = "Neo.FileStorage.API.Audit"; import "refs/types.proto"; diff --git a/container/service.proto b/container/service.proto index 5e4295b..0eb28a7 100644 --- a/container/service.proto +++ b/container/service.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package neo.fs.v2.container; option go_package = "github.com/nspcc-dev/neofs-api-go/v2/container/grpc;container"; -option csharp_namespace = "NeoFS.API.v2.Container"; +option csharp_namespace = "Neo.FileStorage.API.Container"; import "acl/types.proto"; import "container/types.proto"; diff --git a/container/types.proto b/container/types.proto index f412a28..4456c5a 100644 --- a/container/types.proto +++ b/container/types.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package neo.fs.v2.container; option go_package = "github.com/nspcc-dev/neofs-api-go/v2/container/grpc;container"; -option csharp_namespace = "NeoFS.API.v2.Container"; +option csharp_namespace = "Neo.FileStorage.API.Container"; import "netmap/types.proto"; import "refs/types.proto"; diff --git a/netmap/service.proto b/netmap/service.proto index f865b2f..95e21a1 100644 --- a/netmap/service.proto +++ b/netmap/service.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package neo.fs.v2.netmap; option go_package = "github.com/nspcc-dev/neofs-api-go/v2/netmap/grpc;netmap"; -option csharp_namespace = "NeoFS.API.v2.Netmap"; +option csharp_namespace = "Neo.FileStorage.API.Netmap"; import "netmap/types.proto"; import "refs/types.proto"; diff --git a/netmap/types.proto b/netmap/types.proto index f2d1818..3f558e1 100644 --- a/netmap/types.proto +++ b/netmap/types.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package neo.fs.v2.netmap; option go_package = "github.com/nspcc-dev/neofs-api-go/v2/netmap/grpc;netmap"; -option csharp_namespace = "NeoFS.API.v2.Netmap"; +option csharp_namespace = "Neo.FileStorage.API.Netmap"; // Operations on filters enum Operation { diff --git a/object/service.proto b/object/service.proto index 5bcb095..8f94049 100644 --- a/object/service.proto +++ b/object/service.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package neo.fs.v2.object; option go_package = "github.com/nspcc-dev/neofs-api-go/v2/object/grpc;object"; -option csharp_namespace = "NeoFS.API.v2.Object"; +option csharp_namespace = "Neo.FileStorage.API.Object"; import "object/types.proto"; import "refs/types.proto"; diff --git a/object/types.proto b/object/types.proto index 3b26c69..cb6fe91 100644 --- a/object/types.proto +++ b/object/types.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package neo.fs.v2.object; option go_package = "github.com/nspcc-dev/neofs-api-go/v2/object/grpc;object"; -option csharp_namespace = "NeoFS.API.v2.Object"; +option csharp_namespace = "Neo.FileStorage.API.Object"; import "refs/types.proto"; import "session/types.proto"; diff --git a/refs/types.proto b/refs/types.proto index 84bab73..ef2141c 100644 --- a/refs/types.proto +++ b/refs/types.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package neo.fs.v2.refs; option go_package = "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc;refs"; -option csharp_namespace = "NeoFS.API.v2.Refs"; +option csharp_namespace = "Neo.FileStorage.API.Refs"; // Objects in NeoFS are addressed by their ContainerID and ObjectID. // diff --git a/session/service.proto b/session/service.proto index e3c0cc2..b959755 100644 --- a/session/service.proto +++ b/session/service.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package neo.fs.v2.session; option go_package = "github.com/nspcc-dev/neofs-api-go/v2/session/grpc;session"; -option csharp_namespace = "NeoFS.API.v2.Session"; +option csharp_namespace = "Neo.FileStorage.API.Session"; import "refs/types.proto"; import "session/types.proto"; diff --git a/session/types.proto b/session/types.proto index b73d27a..74c1d36 100644 --- a/session/types.proto +++ b/session/types.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package neo.fs.v2.session; option go_package = "github.com/nspcc-dev/neofs-api-go/v2/session/grpc;session"; -option csharp_namespace = "NeoFS.API.v2.Session"; +option csharp_namespace = "Neo.FileStorage.API.Session"; import "refs/types.proto"; import "acl/types.proto"; diff --git a/storagegroup/types.proto b/storagegroup/types.proto index 0400f64..21663ff 100644 --- a/storagegroup/types.proto +++ b/storagegroup/types.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package neo.fs.v2.storagegroup; option go_package = "github.com/nspcc-dev/neofs-api-go/v2/storagegroup/grpc;storagegroup"; -option csharp_namespace = "NeoFS.API.v2.StorageGroup"; +option csharp_namespace = "Neo.FileStorage.API.StorageGroup"; import "refs/types.proto"; diff --git a/tombstone/types.proto b/tombstone/types.proto index 4113cc5..4ad3c06 100644 --- a/tombstone/types.proto +++ b/tombstone/types.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package neo.fs.v2.tombstone; option go_package = "github.com/nspcc-dev/neofs-api-go/v2/tombstone/grpc;tombstone"; -option csharp_namespace = "NeoFS.API.v2.Tombstone"; +option csharp_namespace = "Neo.FileStorage.API.Tombstone"; import "refs/types.proto";