From e0750adade82930c98234d2e1c2bff02798afe61 Mon Sep 17 00:00:00 2001 From: liaochuntao Date: Sun, 19 Nov 2023 21:43:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E8=B0=83=E6=95=B4=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E7=81=B0=E5=BA=A6=E5=8F=91=E5=B8=83=E7=9A=84=E7=BB=93=E6=9E=84?= =?UTF-8?q?=E9=A2=98=E5=91=BD=E5=90=8D=20(#93)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/v1/config_manage/config_file.proto | 3 +- api/v1/model/model.proto | 24 +- api/v1/service_manage/contract.proto | 4 +- .../go/api/v1/config_manage/config_file.pb.go | 213 +++++++++--------- source/go/api/v1/model/model.pb.go | 187 ++++++--------- .../go/api/v1/service_manage/contract.pb.go | 88 ++++---- 6 files changed, 232 insertions(+), 287 deletions(-) diff --git a/api/v1/config_manage/config_file.proto b/api/v1/config_manage/config_file.proto index deaa42e..de50ad8 100644 --- a/api/v1/config_manage/config_file.proto +++ b/api/v1/config_manage/config_file.proto @@ -85,7 +85,8 @@ message ConfigFileRelease { google.protobuf.StringValue format = 16; google.protobuf.StringValue release_description = 17; google.protobuf.UInt32Value type = 18; - MatchTerm gray_rule = 19; + // 配置灰度发布时需要匹配的客户端标签信息 + repeated ClientLabel beta_labels = 19; } message ConfigFileReleaseHistory { diff --git a/api/v1/model/model.proto b/api/v1/model/model.proto index 922c8b9..6677db2 100644 --- a/api/v1/model/model.proto +++ b/api/v1/model/model.proto @@ -39,31 +39,23 @@ message MatchString { MatchStringType type = 1; google.protobuf.StringValue value = 2; - ValueType value_type = 3 [json_name = "value_type"]; + ValueType value_type = 3 [ json_name = "value_type" ]; } - -message StringList { - repeated string values = 1; -} +message StringList { repeated string values = 1; } // 汇总查询数据 message Summary { // 服务总数 - uint32 total_service_count = 1 [json_name = "total_service_count"]; + uint32 total_service_count = 1 [ json_name = "total_service_count" ]; // 健康实例总数 - uint32 total_health_instance_count = 2 [json_name = "total_health_instance_count"]; + uint32 total_health_instance_count = 2 + [ json_name = "total_health_instance_count" ]; // 实例总数 - uint32 total_instance_count = 3 [json_name = "total_instance_count"]; + uint32 total_instance_count = 3 [ json_name = "total_instance_count" ]; } -// 匹配规则 -message MatchTerm { - google.protobuf.StringValue key = 1; +message ClientLabel { + string key = 1; MatchString value = 2; } - -message Tag { - google.protobuf.StringValue key = 1; - google.protobuf.StringValue value = 2; -} diff --git a/api/v1/service_manage/contract.proto b/api/v1/service_manage/contract.proto index 9ff8742..d50e04e 100644 --- a/api/v1/service_manage/contract.proto +++ b/api/v1/service_manage/contract.proto @@ -29,6 +29,8 @@ message ServiceContract { string ctime = 10; // 更新时间 string mtime = 11; + // 接口状态,Offline/Online + string status = 12; } message InterfaceDescriptor { @@ -54,6 +56,4 @@ message InterfaceDescriptor { string ctime = 7; // 更新时间 string mtime = 8; - // 接口状态,Offline/Online - string status = 9; } diff --git a/source/go/api/v1/config_manage/config_file.pb.go b/source/go/api/v1/config_manage/config_file.pb.go index cc613d4..81f25af 100644 --- a/source/go/api/v1/config_manage/config_file.pb.go +++ b/source/go/api/v1/config_manage/config_file.pb.go @@ -48,7 +48,7 @@ func (m *ConfigFileGroup) Reset() { *m = ConfigFileGroup{} } func (m *ConfigFileGroup) String() string { return proto.CompactTextString(m) } func (*ConfigFileGroup) ProtoMessage() {} func (*ConfigFileGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_config_file_60a1466ad2757f9a, []int{0} + return fileDescriptor_config_file_9388dc925a618a09, []int{0} } func (m *ConfigFileGroup) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigFileGroup.Unmarshal(m, b) @@ -223,7 +223,7 @@ func (m *ConfigFile) Reset() { *m = ConfigFile{} } func (m *ConfigFile) String() string { return proto.CompactTextString(m) } func (*ConfigFile) ProtoMessage() {} func (*ConfigFile) Descriptor() ([]byte, []int) { - return fileDescriptor_config_file_60a1466ad2757f9a, []int{1} + return fileDescriptor_config_file_9388dc925a618a09, []int{1} } func (m *ConfigFile) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigFile.Unmarshal(m, b) @@ -374,7 +374,7 @@ func (m *ConfigFileTag) Reset() { *m = ConfigFileTag{} } func (m *ConfigFileTag) String() string { return proto.CompactTextString(m) } func (*ConfigFileTag) ProtoMessage() {} func (*ConfigFileTag) Descriptor() ([]byte, []int) { - return fileDescriptor_config_file_60a1466ad2757f9a, []int{2} + return fileDescriptor_config_file_9388dc925a618a09, []int{2} } func (m *ConfigFileTag) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigFileTag.Unmarshal(m, b) @@ -424,21 +424,22 @@ type ConfigFileRelease struct { ModifyBy *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=modify_by,json=modifyBy,proto3" json:"modify_by,omitempty"` Tags []*ConfigFileTag `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"` // 当前生效配置 - Active *wrapperspb.BoolValue `protobuf:"bytes,15,opt,name=active,proto3" json:"active,omitempty"` - Format *wrapperspb.StringValue `protobuf:"bytes,16,opt,name=format,proto3" json:"format,omitempty"` - ReleaseDescription *wrapperspb.StringValue `protobuf:"bytes,17,opt,name=release_description,json=releaseDescription,proto3" json:"release_description,omitempty"` - Type *wrapperspb.UInt32Value `protobuf:"bytes,18,opt,name=type,proto3" json:"type,omitempty"` - GrayRule *model.MatchTerm `protobuf:"bytes,19,opt,name=gray_rule,json=grayRule,proto3" json:"gray_rule,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Active *wrapperspb.BoolValue `protobuf:"bytes,15,opt,name=active,proto3" json:"active,omitempty"` + Format *wrapperspb.StringValue `protobuf:"bytes,16,opt,name=format,proto3" json:"format,omitempty"` + ReleaseDescription *wrapperspb.StringValue `protobuf:"bytes,17,opt,name=release_description,json=releaseDescription,proto3" json:"release_description,omitempty"` + Type *wrapperspb.UInt32Value `protobuf:"bytes,18,opt,name=type,proto3" json:"type,omitempty"` + // 配置灰度发布时需要匹配的客户端标签信息 + BetaLabels []*model.ClientLabel `protobuf:"bytes,19,rep,name=beta_labels,json=betaLabels,proto3" json:"beta_labels,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ConfigFileRelease) Reset() { *m = ConfigFileRelease{} } func (m *ConfigFileRelease) String() string { return proto.CompactTextString(m) } func (*ConfigFileRelease) ProtoMessage() {} func (*ConfigFileRelease) Descriptor() ([]byte, []int) { - return fileDescriptor_config_file_60a1466ad2757f9a, []int{3} + return fileDescriptor_config_file_9388dc925a618a09, []int{3} } func (m *ConfigFileRelease) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigFileRelease.Unmarshal(m, b) @@ -584,9 +585,9 @@ func (m *ConfigFileRelease) GetType() *wrapperspb.UInt32Value { return nil } -func (m *ConfigFileRelease) GetGrayRule() *model.MatchTerm { +func (m *ConfigFileRelease) GetBetaLabels() []*model.ClientLabel { if m != nil { - return m.GrayRule + return m.BetaLabels } return nil } @@ -620,7 +621,7 @@ func (m *ConfigFileReleaseHistory) Reset() { *m = ConfigFileReleaseHisto func (m *ConfigFileReleaseHistory) String() string { return proto.CompactTextString(m) } func (*ConfigFileReleaseHistory) ProtoMessage() {} func (*ConfigFileReleaseHistory) Descriptor() ([]byte, []int) { - return fileDescriptor_config_file_60a1466ad2757f9a, []int{4} + return fileDescriptor_config_file_9388dc925a618a09, []int{4} } func (m *ConfigFileReleaseHistory) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigFileReleaseHistory.Unmarshal(m, b) @@ -785,7 +786,7 @@ func (m *ConfigFileTemplate) Reset() { *m = ConfigFileTemplate{} } func (m *ConfigFileTemplate) String() string { return proto.CompactTextString(m) } func (*ConfigFileTemplate) ProtoMessage() {} func (*ConfigFileTemplate) Descriptor() ([]byte, []int) { - return fileDescriptor_config_file_60a1466ad2757f9a, []int{5} + return fileDescriptor_config_file_9388dc925a618a09, []int{5} } func (m *ConfigFileTemplate) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigFileTemplate.Unmarshal(m, b) @@ -893,7 +894,7 @@ func (m *ClientConfigFileInfo) Reset() { *m = ClientConfigFileInfo{} } func (m *ClientConfigFileInfo) String() string { return proto.CompactTextString(m) } func (*ClientConfigFileInfo) ProtoMessage() {} func (*ClientConfigFileInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_config_file_60a1466ad2757f9a, []int{6} + return fileDescriptor_config_file_9388dc925a618a09, []int{6} } func (m *ClientConfigFileInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClientConfigFileInfo.Unmarshal(m, b) @@ -1003,7 +1004,7 @@ func (m *ClientWatchConfigFileRequest) Reset() { *m = ClientWatchConfigF func (m *ClientWatchConfigFileRequest) String() string { return proto.CompactTextString(m) } func (*ClientWatchConfigFileRequest) ProtoMessage() {} func (*ClientWatchConfigFileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_config_file_60a1466ad2757f9a, []int{7} + return fileDescriptor_config_file_9388dc925a618a09, []int{7} } func (m *ClientWatchConfigFileRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClientWatchConfigFileRequest.Unmarshal(m, b) @@ -1057,7 +1058,7 @@ func (m *ConfigFileExportRequest) Reset() { *m = ConfigFileExportRequest func (m *ConfigFileExportRequest) String() string { return proto.CompactTextString(m) } func (*ConfigFileExportRequest) ProtoMessage() {} func (*ConfigFileExportRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_config_file_60a1466ad2757f9a, []int{8} + return fileDescriptor_config_file_9388dc925a618a09, []int{8} } func (m *ConfigFileExportRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigFileExportRequest.Unmarshal(m, b) @@ -1119,7 +1120,7 @@ func (m *ConfigFilePublishInfo) Reset() { *m = ConfigFilePublishInfo{} } func (m *ConfigFilePublishInfo) String() string { return proto.CompactTextString(m) } func (*ConfigFilePublishInfo) ProtoMessage() {} func (*ConfigFilePublishInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_config_file_60a1466ad2757f9a, []int{9} + return fileDescriptor_config_file_9388dc925a618a09, []int{9} } func (m *ConfigFilePublishInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigFilePublishInfo.Unmarshal(m, b) @@ -1228,7 +1229,7 @@ func (m *ConfigFileGroupRequest) Reset() { *m = ConfigFileGroupRequest{} func (m *ConfigFileGroupRequest) String() string { return proto.CompactTextString(m) } func (*ConfigFileGroupRequest) ProtoMessage() {} func (*ConfigFileGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_config_file_60a1466ad2757f9a, []int{10} + return fileDescriptor_config_file_9388dc925a618a09, []int{10} } func (m *ConfigFileGroupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigFileGroupRequest.Unmarshal(m, b) @@ -1277,92 +1278,92 @@ func init() { proto.RegisterType((*ConfigFileGroupRequest)(nil), "v1.ConfigFileGroupRequest") } -func init() { proto.RegisterFile("config_file.proto", fileDescriptor_config_file_60a1466ad2757f9a) } +func init() { proto.RegisterFile("config_file.proto", fileDescriptor_config_file_9388dc925a618a09) } -var fileDescriptor_config_file_60a1466ad2757f9a = []byte{ +var fileDescriptor_config_file_9388dc925a618a09 = []byte{ // 1331 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x99, 0xdd, 0x8e, 0xdc, 0x34, - 0x14, 0xc7, 0x35, 0xdf, 0x99, 0x33, 0xdd, 0x2f, 0x6f, 0x81, 0x68, 0x55, 0xa1, 0x32, 0x12, 0x12, - 0x42, 0x28, 0x43, 0xb7, 0xcb, 0x6a, 0xdb, 0x52, 0x15, 0x76, 0x69, 0x69, 0x85, 0x5a, 0x55, 0x43, - 0x01, 0x89, 0x9b, 0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 0x1c, 0x97, 0x05, 0x63, 0xed, 0x27, 0x20, 0xfc, 0x64, 0xbc, 0xe5, 0x6b, 0xcc, 0xd9, + 0x3a, 0x76, 0xc9, 0xd8, 0x63, 0x63, 0x1c, 0xd1, 0xf1, 0xe6, 0xc6, 0x58, 0x7f, 0x40, 0xea, 0x75, + 0xd1, 0x55, 0x5f, 0x7c, 0xf3, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcb, 0x09, 0xc1, 0x12, 0x2c, 0x1b, 0x00, 0x00, } diff --git a/source/go/api/v1/model/model.pb.go b/source/go/api/v1/model/model.pb.go index 0073b37..33923c5 100644 --- a/source/go/api/v1/model/model.pb.go +++ b/source/go/api/v1/model/model.pb.go @@ -57,7 +57,7 @@ func (x MatchString_MatchStringType) String() string { return proto.EnumName(MatchString_MatchStringType_name, int32(x)) } func (MatchString_MatchStringType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_model_1b9fad32d4340535, []int{1, 0} + return fileDescriptor_model_89bde6c9fe109cf9, []int{1, 0} } type MatchString_ValueType int32 @@ -83,7 +83,7 @@ func (x MatchString_ValueType) String() string { return proto.EnumName(MatchString_ValueType_name, int32(x)) } func (MatchString_ValueType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_model_1b9fad32d4340535, []int{1, 1} + return fileDescriptor_model_89bde6c9fe109cf9, []int{1, 1} } type Location struct { @@ -99,7 +99,7 @@ func (m *Location) Reset() { *m = Location{} } func (m *Location) String() string { return proto.CompactTextString(m) } func (*Location) ProtoMessage() {} func (*Location) Descriptor() ([]byte, []int) { - return fileDescriptor_model_1b9fad32d4340535, []int{0} + return fileDescriptor_model_89bde6c9fe109cf9, []int{0} } func (m *Location) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Location.Unmarshal(m, b) @@ -153,7 +153,7 @@ func (m *MatchString) Reset() { *m = MatchString{} } func (m *MatchString) String() string { return proto.CompactTextString(m) } func (*MatchString) ProtoMessage() {} func (*MatchString) Descriptor() ([]byte, []int) { - return fileDescriptor_model_1b9fad32d4340535, []int{1} + return fileDescriptor_model_89bde6c9fe109cf9, []int{1} } func (m *MatchString) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MatchString.Unmarshal(m, b) @@ -205,7 +205,7 @@ func (m *StringList) Reset() { *m = StringList{} } func (m *StringList) String() string { return proto.CompactTextString(m) } func (*StringList) ProtoMessage() {} func (*StringList) Descriptor() ([]byte, []int) { - return fileDescriptor_model_1b9fad32d4340535, []int{2} + return fileDescriptor_model_89bde6c9fe109cf9, []int{2} } func (m *StringList) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StringList.Unmarshal(m, b) @@ -249,7 +249,7 @@ func (m *Summary) Reset() { *m = Summary{} } func (m *Summary) String() string { return proto.CompactTextString(m) } func (*Summary) ProtoMessage() {} func (*Summary) Descriptor() ([]byte, []int) { - return fileDescriptor_model_1b9fad32d4340535, []int{3} + return fileDescriptor_model_89bde6c9fe109cf9, []int{3} } func (m *Summary) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Summary.Unmarshal(m, b) @@ -290,93 +290,46 @@ func (m *Summary) GetTotalInstanceCount() uint32 { return 0 } -// 匹配规则 -type MatchTerm struct { - Key *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value *MatchString `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type ClientLabel struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value *MatchString `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *MatchTerm) Reset() { *m = MatchTerm{} } -func (m *MatchTerm) String() string { return proto.CompactTextString(m) } -func (*MatchTerm) ProtoMessage() {} -func (*MatchTerm) Descriptor() ([]byte, []int) { - return fileDescriptor_model_1b9fad32d4340535, []int{4} +func (m *ClientLabel) Reset() { *m = ClientLabel{} } +func (m *ClientLabel) String() string { return proto.CompactTextString(m) } +func (*ClientLabel) ProtoMessage() {} +func (*ClientLabel) Descriptor() ([]byte, []int) { + return fileDescriptor_model_89bde6c9fe109cf9, []int{4} } -func (m *MatchTerm) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MatchTerm.Unmarshal(m, b) +func (m *ClientLabel) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClientLabel.Unmarshal(m, b) } -func (m *MatchTerm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MatchTerm.Marshal(b, m, deterministic) +func (m *ClientLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClientLabel.Marshal(b, m, deterministic) } -func (dst *MatchTerm) XXX_Merge(src proto.Message) { - xxx_messageInfo_MatchTerm.Merge(dst, src) +func (dst *ClientLabel) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClientLabel.Merge(dst, src) } -func (m *MatchTerm) XXX_Size() int { - return xxx_messageInfo_MatchTerm.Size(m) +func (m *ClientLabel) XXX_Size() int { + return xxx_messageInfo_ClientLabel.Size(m) } -func (m *MatchTerm) XXX_DiscardUnknown() { - xxx_messageInfo_MatchTerm.DiscardUnknown(m) +func (m *ClientLabel) XXX_DiscardUnknown() { + xxx_messageInfo_ClientLabel.DiscardUnknown(m) } -var xxx_messageInfo_MatchTerm proto.InternalMessageInfo +var xxx_messageInfo_ClientLabel proto.InternalMessageInfo -func (m *MatchTerm) GetKey() *wrapperspb.StringValue { +func (m *ClientLabel) GetKey() string { if m != nil { return m.Key } - return nil -} - -func (m *MatchTerm) GetValue() *MatchString { - if m != nil { - return m.Value - } - return nil -} - -type Tag struct { - Key *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Tag) Reset() { *m = Tag{} } -func (m *Tag) String() string { return proto.CompactTextString(m) } -func (*Tag) ProtoMessage() {} -func (*Tag) Descriptor() ([]byte, []int) { - return fileDescriptor_model_1b9fad32d4340535, []int{5} -} -func (m *Tag) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Tag.Unmarshal(m, b) -} -func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Tag.Marshal(b, m, deterministic) -} -func (dst *Tag) XXX_Merge(src proto.Message) { - xxx_messageInfo_Tag.Merge(dst, src) -} -func (m *Tag) XXX_Size() int { - return xxx_messageInfo_Tag.Size(m) -} -func (m *Tag) XXX_DiscardUnknown() { - xxx_messageInfo_Tag.DiscardUnknown(m) -} - -var xxx_messageInfo_Tag proto.InternalMessageInfo - -func (m *Tag) GetKey() *wrapperspb.StringValue { - if m != nil { - return m.Key - } - return nil + return "" } -func (m *Tag) GetValue() *wrapperspb.StringValue { +func (m *ClientLabel) GetValue() *MatchString { if m != nil { return m.Value } @@ -388,48 +341,46 @@ func init() { proto.RegisterType((*MatchString)(nil), "v1.MatchString") proto.RegisterType((*StringList)(nil), "v1.StringList") proto.RegisterType((*Summary)(nil), "v1.Summary") - proto.RegisterType((*MatchTerm)(nil), "v1.MatchTerm") - proto.RegisterType((*Tag)(nil), "v1.Tag") + proto.RegisterType((*ClientLabel)(nil), "v1.ClientLabel") proto.RegisterEnum("v1.MatchString_MatchStringType", MatchString_MatchStringType_name, MatchString_MatchStringType_value) proto.RegisterEnum("v1.MatchString_ValueType", MatchString_ValueType_name, MatchString_ValueType_value) } -func init() { proto.RegisterFile("model.proto", fileDescriptor_model_1b9fad32d4340535) } - -var fileDescriptor_model_1b9fad32d4340535 = []byte{ - // 530 bytes of a gzipped FileDescriptorProto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c, 0xcc, - 0xa4, 0x3e, 0xf0, 0xa3, 0xe0, 0xae, 0x11, 0x7a, 0x0b, 0x4f, 0xea, 0xf6, 0x9a, 0x92, 0x44, 0xae, - 0x97, 0x2c, 0x13, 0x92, 0x64, 0x37, 0x4c, 0x53, 0x33, 0xff, 0x04, 0x41, 0x03, 0x78, 0x50, 0x8f, - 0xf7, 0xa8, 0x96, 0xa6, 0xde, 0x39, 0x73, 0x56, 0xd0, 0xd1, 0xa7, 0x1c, 0xd2, 0x22, 0x45, 0x18, - 0xac, 0x2f, 0xb4, 0x3a, 0x68, 0x83, 0x15, 0x10, 0xbd, 0xbc, 0xbd, 0x11, 0x27, 0x7b, 0x17, 0xbb, - 0x5d, 0x02, 0x87, 0x81, 0x15, 0x92, 0xf8, 0xaf, 0xd5, 0xff, 0x61, 0xdf, 0x86, 0x15, 0xe0, 0x88, - 0xa7, 0x58, 0xd2, 0x2c, 0xa2, 0x99, 0xc4, 0x39, 0x4f, 0x48, 0xc1, 0x04, 0x16, 0x39, 0x8d, 0xd8, - 0x35, 0xab, 0xdf, 0x2a, 0x26, 0x39, 0x53, 0x49, 0xf5, 0x7b, 0x1f, 0xc2, 0x44, 0x7d, 0xae, 0x94, - 0xe6, 0xa7, 0x37, 0x31, 0x93, 0xeb, 0x72, 0xa5, 0x24, 0xdc, 0x2d, 0x35, 0xa5, 0x62, 0xed, 0xde, - 0xa2, 0xbb, 0x82, 0x97, 0x45, 0x44, 0xdd, 0x98, 0xbb, 0x24, 0x67, 0xee, 0xa6, 0xef, 0x6a, 0xa1, - 0x55, 0x4b, 0xe7, 0xba, 0xf8, 0x15, 0x00, 0x00, 0xff, 0xff, 0x81, 0x68, 0xb3, 0x26, 0x48, 0x04, - 0x00, 0x00, +func init() { proto.RegisterFile("model.proto", fileDescriptor_model_89bde6c9fe109cf9) } + +var fileDescriptor_model_89bde6c9fe109cf9 = []byte{ + // 526 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00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, 0x40, 0x4d, 0x6d, 0x04, 0x35, + 0x59, 0x8f, 0x7b, 0x2f, 0xf1, 0xba, 0x8b, 0x77, 0xda, 0xbb, 0xf5, 0x74, 0x23, 0x68, 0x64, 0xc4, + 0xa8, 0x07, 0xf5, 0xb5, 0x9e, 0x7a, 0x50, 0xda, 0x4a, 0x8a, 0xde, 0x02, 0x98, 0x62, 0x61, 0xec, + 0x1c, 0x63, 0xf7, 0x64, 0xdf, 0xce, 0x10, 0xc6, 0x68, 0x47, 0xec, 0xcd, 0xe0, 0x64, 0x2f, 0x07, + 0x6a, 0x41, 0x3d, 0x9c, 0x07, 0x97, 0x53, 0xf7, 0x3f, 0x5d, 0x46, 0xe1, 0x55, 0x38, 0x77, 0x2d, + 0x74, 0x0c, 0x30, 0xfe, 0x38, 0x5d, 0x84, 0x9f, 0x3e, 0x07, 0xc3, 0x89, 0x6b, 0xa3, 0x06, 0xd8, + 0x83, 0xb1, 0xeb, 0x20, 0x80, 0x86, 0x3e, 0x1f, 0x8c, 0xdd, 0x9a, 0x91, 0x07, 0xe3, 0xab, 0xd0, + 0xad, 0x7b, 0x3d, 0x68, 0xdd, 0x1a, 0xa2, 0x26, 0xd4, 0xa6, 0xe1, 0x5c, 0x0f, 0x3c, 0x82, 0xd6, + 0x75, 0x10, 0x05, 0xa3, 0x70, 0x1a, 0x46, 0xae, 0x85, 0x1e, 0x40, 0x73, 0x16, 0x44, 0x83, 0xa0, + 0x3f, 0x0c, 0x5d, 0xdb, 0x7b, 0x05, 0x50, 0xc5, 0x18, 0x32, 0xa9, 0xd0, 0x63, 0x68, 0x98, 0x9c, + 0xb2, 0x63, 0x9d, 0x3a, 0x67, 0xad, 0x68, 0xfb, 0xcf, 0xfb, 0x65, 0xc1, 0xff, 0x93, 0x32, 0xcb, + 0x48, 0xb1, 0x41, 0xe7, 0xf0, 0x50, 0x71, 0x45, 0xd2, 0x85, 0xa4, 0xc5, 0x9a, 0xc5, 0x74, 0x11, + 0xf3, 0x32, 0x57, 0xe6, 0x83, 0x1f, 0x45, 0xf7, 0xb5, 0xd0, 0x7b, 0x78, 0x56, 0x1d, 0xaf, 0x28, + 0x49, 0xd5, 0x6a, 0xc1, 0x72, 0xa9, 0x48, 0x7e, 0x4b, 0xda, 0x86, 0xfc, 0x97, 0x04, 0xf5, 0xe0, + 0x51, 0xd5, 0xde, 0x43, 0x1d, 0x83, 0xde, 0xdb, 0xf3, 0x3e, 0x40, 0xfb, 0x32, 0x65, 0x34, 0x57, + 0x43, 0xb2, 0xa4, 0x29, 0x72, 0xc1, 0xf9, 0x46, 0x37, 0x26, 0x66, 0x2b, 0xd2, 0x25, 0x7a, 0x7d, + 0x77, 0xeb, 0x27, 0x7b, 0xcb, 0xdb, 0x2e, 0xba, 0xbf, 0x01, 0x1c, 0xf3, 0x0c, 0x2b, 0x9a, 0xc7, + 0x34, 0x57, 0x58, 0xf0, 0x94, 0x14, 0x4c, 0x62, 0x29, 0x68, 0xcc, 0x6e, 0x58, 0xf5, 0x48, 0x30, + 0x11, 0x4c, 0xe3, 0xe6, 0xa1, 0xf5, 0x61, 0xa4, 0x7f, 0xae, 0xf5, 0xe5, 0xf9, 0xf2, 0x2e, 0x61, + 0x6a, 0x55, 0x2e, 0xf5, 0x08, 0x7f, 0x8b, 0x66, 0x54, 0xae, 0xfc, 0x3b, 0xb8, 0x2f, 0x79, 0x59, + 0xc4, 0xd4, 0x4f, 0xb8, 0x4f, 0x04, 0xf3, 0xd7, 0x5d, 0xdf, 0x0c, 0x5a, 0x36, 0xcc, 0x05, 0xbc, + 0xf8, 0x13, 0x00, 0x00, 0xff, 0xff, 0x33, 0xbc, 0xe4, 0x5b, 0xc1, 0x03, 0x00, 0x00, } diff --git a/source/go/api/v1/service_manage/contract.pb.go b/source/go/api/v1/service_manage/contract.pb.go index d1ab35a..440d50d 100644 --- a/source/go/api/v1/service_manage/contract.pb.go +++ b/source/go/api/v1/service_manage/contract.pb.go @@ -41,7 +41,7 @@ func (x InterfaceDescriptor_Source) String() string { return proto.EnumName(InterfaceDescriptor_Source_name, int32(x)) } func (InterfaceDescriptor_Source) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_contract_1ba849808bab54f1, []int{1, 0} + return fileDescriptor_contract_cc22240765a28406, []int{1, 0} } type ServiceContract struct { @@ -66,7 +66,9 @@ type ServiceContract struct { // 创建时间 Ctime string `protobuf:"bytes,10,opt,name=ctime,proto3" json:"ctime,omitempty"` // 更新时间 - Mtime string `protobuf:"bytes,11,opt,name=mtime,proto3" json:"mtime,omitempty"` + Mtime string `protobuf:"bytes,11,opt,name=mtime,proto3" json:"mtime,omitempty"` + // 接口状态,Offline/Online + Status string `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -76,7 +78,7 @@ func (m *ServiceContract) Reset() { *m = ServiceContract{} } func (m *ServiceContract) String() string { return proto.CompactTextString(m) } func (*ServiceContract) ProtoMessage() {} func (*ServiceContract) Descriptor() ([]byte, []int) { - return fileDescriptor_contract_1ba849808bab54f1, []int{0} + return fileDescriptor_contract_cc22240765a28406, []int{0} } func (m *ServiceContract) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServiceContract.Unmarshal(m, b) @@ -173,6 +175,13 @@ func (m *ServiceContract) GetMtime() string { return "" } +func (m *ServiceContract) GetStatus() string { + if m != nil { + return m.Status + } + return "" +} + type InterfaceDescriptor struct { // 接口ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -189,9 +198,7 @@ type InterfaceDescriptor struct { // 创建时间 Ctime string `protobuf:"bytes,7,opt,name=ctime,proto3" json:"ctime,omitempty"` // 更新时间 - Mtime string `protobuf:"bytes,8,opt,name=mtime,proto3" json:"mtime,omitempty"` - // 接口状态,Offline/Online - Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"` + Mtime string `protobuf:"bytes,8,opt,name=mtime,proto3" json:"mtime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -201,7 +208,7 @@ func (m *InterfaceDescriptor) Reset() { *m = InterfaceDescriptor{} } func (m *InterfaceDescriptor) String() string { return proto.CompactTextString(m) } func (*InterfaceDescriptor) ProtoMessage() {} func (*InterfaceDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_contract_1ba849808bab54f1, []int{1} + return fileDescriptor_contract_cc22240765a28406, []int{1} } func (m *InterfaceDescriptor) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InterfaceDescriptor.Unmarshal(m, b) @@ -277,49 +284,42 @@ func (m *InterfaceDescriptor) GetMtime() string { return "" } -func (m *InterfaceDescriptor) GetStatus() string { - if m != nil { - return m.Status - } - return "" -} - func init() { proto.RegisterType((*ServiceContract)(nil), "v1.ServiceContract") proto.RegisterType((*InterfaceDescriptor)(nil), "v1.InterfaceDescriptor") proto.RegisterEnum("v1.InterfaceDescriptor_Source", InterfaceDescriptor_Source_name, InterfaceDescriptor_Source_value) } -func init() { proto.RegisterFile("contract.proto", fileDescriptor_contract_1ba849808bab54f1) } +func init() { proto.RegisterFile("contract.proto", fileDescriptor_contract_cc22240765a28406) } -var fileDescriptor_contract_1ba849808bab54f1 = []byte{ - // 436 bytes of a gzipped FileDescriptorProto +var fileDescriptor_contract_cc22240765a28406 = []byte{ + // 437 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x52, 0x5d, 0x6b, 0x13, 0x41, - 0x14, 0x35, 0xdb, 0x74, 0x93, 0xdc, 0x40, 0x0c, 0x63, 0xd1, 0x41, 0x44, 0x4a, 0x9e, 0xfa, 0xe2, - 0x2c, 0xa9, 0x60, 0xdf, 0xdb, 0xbe, 0x88, 0x18, 0x25, 0x45, 0x04, 0x5f, 0x64, 0x3a, 0xb9, 0x4d, - 0x06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