From dc8ca60fc53199251100883b4370de52a6534463 Mon Sep 17 00:00:00 2001
From: panlei <2799247126@qq.com>
Date: 星期四, 22 八月 2019 14:01:53 +0800
Subject: [PATCH] soinfo id change to string
---
protomsg.proto | 51 ++++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 46 insertions(+), 5 deletions(-)
diff --git a/protomsg.proto b/protomsg.proto
index 3bf9aa1..99cdcc3 100644
--- a/protomsg.proto
+++ b/protomsg.proto
@@ -164,6 +164,26 @@
int32 del_flag = 12;//鏄惁鍒犻櫎
}
+message TaskSdkRule {
+ string taskId = 1;
+ bool enable = 2;
+ repeated SdkRuleSet sdkRules = 3;
+}
+
+message SdkRuleSet {
+ string sdkId = 1;
+ string ipcId = 2;
+ repeated SdkRule rules = 3;
+ int32 sort = 4;
+}
+
+message SdkRule {
+ string id = 1;
+ string sdk_arg_alias = 2;
+ string operator = 3;
+ string sdk_arg_value = 4;
+}
+
//SdkArg struct
message SdkArg {
string alias = 1;//鍙傛暟鍒悕
@@ -172,7 +192,9 @@
bool must = 4;//鍙傛暟鏄惁蹇呭~
string unit = 5;//鍗曚綅
string range = 6;//鍙傛暟鐨勮寖鍥�
- int32 sort = 7;//鍙傛暟鎺掑簭
+ string default_value = 7;//鍙傛暟榛樿鍊�
+ string default_operator = 8;//鍙傛暟榛樿璁$畻绗﹀彿
+ int32 sort = 9;//鍙傛暟鎺掑簭
}
//TableChanged enum
@@ -221,6 +243,7 @@
string taskId = 3;
int64 imgId = 4;
repeated string sdkIds = 5;
+ int32 type = 6;
}
message CompareArgs {
@@ -236,6 +259,17 @@
string inputValue = 9;
string collection = 10;
bool source = 11;
+ string analyServerId = 12;
+}
+
+message SdkCompareEach {
+ string id = 1;
+ string tableid = 2;
+ float compareScore = 3;
+}
+
+message SdkCompareResult {
+ repeated SdkCompareEach compareResult = 1;
}
message EventPush {
@@ -274,9 +308,16 @@
bool enable = 2;
}
+enum EsCacheChanged {
+ T_DbTable = 0;//搴曞簱鏈夋晥鐘舵�佸彉鍖�
+ T_DbTablePerson = 1;//搴曞簱浜哄憳鏈夋晥鐘舵�佸彉鍖�
+}
+
message EsPersonCacheChange {
- string table_id = 1;//搴曞簱id
- string person_id = 2;//浜哄憳id
- bytes feature = 3;//鐗瑰緛鍊�
- DbAction action = 4;
+ EsCacheChanged type = 1;
+ repeated string table_id = 2;//搴曞簱id
+ string person_id = 3;//浜哄憳id
+ string feature = 4;//鐗瑰緛鍊糱ase64
+ DbAction action = 5;
+ int32 enable = 6;
}
--
Gitblit v1.8.0