未验证 提交 c60b278c 编写于 作者: 彭勇升 pengys 提交者: GitHub

Check registered application by id

Check registered application by id whether or not exists in collector when agent reconnect to collector.
上级 c02c12af
......@@ -26,6 +26,9 @@ import "KeyWithIntegerValue.proto";
//register service for ApplicationCode, this service is called when service starts.
service ApplicationRegisterService {
rpc registeredApplicationCheck (RegisteredApplication) returns (ApplicationCheckResult) {
}
rpc applicationCodeRegister (Application) returns (ApplicationMapping) {
}
}
......@@ -37,3 +40,11 @@ message Application {
message ApplicationMapping {
KeyWithIntegerValue application = 1;
}
message RegisteredApplication {
int32 applicationId = 1;
}
message ApplicationCheckResult {
bool existed = 1;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册