[#1] Fix project name in control service

Signed-off-by: Stanislav Bogatyrev <s.bogatyrev@yadro.com>
This commit is contained in:
Stanislav Bogatyrev 2023-02-03 19:58:09 +03:00 committed by Stanislav Bogatyrev
parent f825cfac78
commit c761a95eef
12 changed files with 19 additions and 19 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -19,7 +19,7 @@ type Server struct {
// HealthChecker is component interface for calculating
// the current health status of a node.
type HealthChecker interface {
// Must calculate and return current status of the node in NeoFS network map.
// Must calculate and return current status of the node in FrostFS network map.
//
// If status can not be calculated for any reason,
// control.netmapStatus_STATUS_UNDEFINED should be returned.

View file

@ -8,7 +8,7 @@ import (
"google.golang.org/grpc/status"
)
// SetNetmapStatus sets node status in NeoFS network.
// SetNetmapStatus sets node status in FrostFS network.
//
// If request is unsigned or signed by disallowed key, permission error returns.
func (s *Server) SetNetmapStatus(ctx context.Context, req *control.SetNetmapStatusRequest) (*control.SetNetmapStatusResponse, error) {

View file

@ -7,7 +7,7 @@ func (x *HealthCheckRequest) SetBody(v *HealthCheckRequest_Body) {
}
}
// SetNetmapStatus sets status of the storage node in NeoFS network map.
// SetNetmapStatus sets status of the storage node in FrostFS network map.
func (x *HealthCheckResponse_Body) SetNetmapStatus(v NetmapStatus) {
if x != nil {
x.NetmapStatus = v
@ -28,7 +28,7 @@ func (x *HealthCheckResponse) SetBody(v *HealthCheckResponse_Body) {
}
}
// SetStatus sets new storage node status in NeoFS network map.
// SetStatus sets new storage node status in FrostFS network map.
func (x *SetNetmapStatusRequest_Body) SetStatus(v NetmapStatus) {
if x != nil {
x.Status = v
@ -54,7 +54,7 @@ func (x *SetNetmapStatusResponse) SetBody(v *SetNetmapStatusResponse_Body) {
}
}
// SetAddressList sets list of objects to be removed in NeoFS API binary format.
// SetAddressList sets list of objects to be removed in FrostFS API binary format.
func (x *DropObjectsRequest_Body) SetAddressList(v [][]byte) {
if x != nil {
x.AddressList = v

Binary file not shown.

View file

@ -11,7 +11,7 @@ service ControlService {
// Performs health check of the storage node.
rpc HealthCheck (HealthCheckRequest) returns (HealthCheckResponse);
// Sets status of the storage node in NeoFS network map.
// Sets status of the storage node in FrostFS network map.
rpc SetNetmapStatus (SetNetmapStatusRequest) returns (SetNetmapStatusResponse);
// Mark objects to be removed from node's local object storage.
@ -56,7 +56,7 @@ message HealthCheckRequest {
message HealthCheckResponse {
// Health check response body
message Body {
// Status of the storage node in NeoFS network map.
// Status of the storage node in FrostFS network map.
NetmapStatus netmap_status = 1;
// Health status of storage node application.
@ -74,7 +74,7 @@ message HealthCheckResponse {
message SetNetmapStatusRequest {
// Set netmap status request body.
message Body {
// New storage node status in NeoFS network map.
// New storage node status in FrostFS network map.
// If status is MAINTENANCE, the node checks whether maintenance is
// allowed in the network settings. In case of prohibition, the request
// is denied. Otherwise, node switches to local maintenance state. To
@ -112,7 +112,7 @@ message DropObjectsRequest {
// Request body structure.
message Body {
// List of object addresses to be removed.
// in NeoFS API binary format.
// in FrostFS API binary format.
repeated bytes address_list = 1;
}

Binary file not shown.

View file

@ -39,7 +39,7 @@ func (x *NodeInfo_Attribute) SetParents(v []string) {
}
}
// SetPublicKey sets public key of the NeoFS node in a binary format.
// SetPublicKey sets public key of the FrostFS node in a binary format.
func (x *NodeInfo) SetPublicKey(v []byte) {
if x != nil {
x.PublicKey = v
@ -53,14 +53,14 @@ func (x *NodeInfo) SetAddresses(v []string) {
}
}
// SetAttributes sets attributes of the NeoFS Storage Node.
// SetAttributes sets attributes of the FrostFS Storage Node.
func (x *NodeInfo) SetAttributes(v []*NodeInfo_Attribute) {
if x != nil {
x.Attributes = v
}
}
// SetState sets state of the NeoFS node.
// SetState sets state of the FrostFS node.
func (x *NodeInfo) SetState(v NetmapStatus) {
if x != nil {
x.State = v

Binary file not shown.

View file

@ -13,7 +13,7 @@ message Signature {
bytes sign = 2 [json_name = "signature"];
}
// Status of the storage node in the NeoFS network map.
// Status of the storage node in the FrostFS network map.
enum NetmapStatus {
// Undefined status, default value.
STATUS_UNDEFINED = 0;
@ -28,15 +28,15 @@ enum NetmapStatus {
MAINTENANCE = 3;
}
// NeoFS node description.
// FrostFS node description.
message NodeInfo {
// Public key of the NeoFS node in a binary format.
// Public key of the FrostFS node in a binary format.
bytes public_key = 1 [json_name = "publicKey"];
// Ways to connect to a node.
repeated string addresses = 2 [json_name = "addresses"];
// Administrator-defined Attributes of the NeoFS Storage Node.
// Administrator-defined Attributes of the FrostFS Storage Node.
//
// `Attribute` is a Key-Value metadata pair. Key name must be a valid UTF-8
// string. Value can't be empty.
@ -74,7 +74,7 @@ message NodeInfo {
// without diacritics . Calculated automatically from `Locode` attribute.
//
// For detailed description of each well-known attribute please see the
// corresponding section in NeoFS Technical specification.
// corresponding section in FrostFS Technical specification.
message Attribute {
// Key of the node attribute.
string key = 1 [json_name = "key"];
@ -86,13 +86,13 @@ message NodeInfo {
// `Country`.
repeated string parents = 3 [json_name = "parents"];
}
// Carries list of the NeoFS node attributes in a key-value form. Key name
// Carries list of the FrostFS node attributes in a key-value form. Key name
// must be a node-unique valid UTF-8 string. Value can't be empty. NodeInfo
// structures with duplicated attribute names or attributes with empty values
// will be considered invalid.
repeated Attribute attributes = 3 [json_name = "attributes"];
// Carries state of the NeoFS node.
// Carries state of the FrostFS node.
NetmapStatus state = 4 [json_name = "state"];
}