@@ -108,9 +108,9 @@ type GetServicesInfoResponse struct {
108108type MicroServiceKey struct {
109109 // Tenant: The format is "{domain}/{project}"
110110 Tenant string `protobuf:"bytes,1,opt,name=tenant" json:"tenant,omitempty"`
111- Environment string `protobuf:"bytes,2,opt,name=environment" json:"environment,omitempty"`
112- AppId string `protobuf:"bytes,3,opt,name=appId" json:"appId,omitempty"`
113- ServiceName string `protobuf:"bytes,4,opt,name=serviceName" json:"serviceName,omitempty"`
111+ Environment string `protobuf:"bytes,2,opt,name=environment" json:"environment,omitempty" bson:"env" `
112+ AppId string `protobuf:"bytes,3,opt,name=appId" json:"appId,omitempty" bson:"app" `
113+ ServiceName string `protobuf:"bytes,4,opt,name=serviceName" json:"serviceName,omitempty" bson:"service_name" `
114114 Alias string `protobuf:"bytes,5,opt,name=alias" json:"alias,omitempty"`
115115 Version string `protobuf:"bytes,6,opt,name=version" json:"version,omitempty"`
116116}
@@ -125,13 +125,13 @@ type FrameWorkProperty struct {
125125}
126126
127127type ServiceRule struct {
128- RuleId string `protobuf:"bytes,1,opt,name=ruleId" json:"ruleId,omitempty"`
129- RuleType string `protobuf:"bytes,2,opt,name=ruleType" json:"ruleType,omitempty"`
128+ RuleId string `protobuf:"bytes,1,opt,name=ruleId" json:"ruleId,omitempty" bson:"rule_id" `
129+ RuleType string `protobuf:"bytes,2,opt,name=ruleType" json:"ruleType,omitempty" bson:"rule_type" `
130130 Attribute string `protobuf:"bytes,3,opt,name=attribute" json:"attribute,omitempty"`
131131 Pattern string `protobuf:"bytes,4,opt,name=pattern" json:"pattern,omitempty"`
132132 Description string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"`
133133 Timestamp string `protobuf:"bytes,6,opt,name=timestamp" json:"timestamp,omitempty"`
134- ModTimestamp string `protobuf:"bytes,7,opt,name=modTimestamp" json:"modTimestamp,omitempty"`
134+ ModTimestamp string `protobuf:"bytes,7,opt,name=modTimestamp" json:"modTimestamp,omitempty" bson:"mod_timestamp" `
135135}
136136
137137type AddOrUpdateServiceRule struct {
@@ -330,7 +330,7 @@ type HealthCheck struct {
330330type DataCenterInfo struct {
331331 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
332332 Region string `protobuf:"bytes,2,opt,name=region" json:"region,omitempty"`
333- AvailableZone string `protobuf:"bytes,3,opt,name=availableZone" json:"availableZone,omitempty"`
333+ AvailableZone string `protobuf:"bytes,3,opt,name=availableZone" json:"availableZone,omitempty" bson:"az" `
334334}
335335
336336type MicroServiceInstanceKey struct {
0 commit comments