[ server ] [ agent ]- 收集Agent的版本信息 初步完成

This commit is contained in:
zeaslity
2023-02-08 10:32:41 +08:00
parent 602e3c3034
commit 93638bf7c6
3 changed files with 125 additions and 14 deletions

View File

@@ -57,9 +57,11 @@ public class OMHandlerAgent extends AbstractOctopusMessageHandler {
// update
agentRebootUpdateService.exAgentUpdate(operationMessage);
} else if (opType.equals(AgentOperationType.VERSION)) {
agentOperationInfoService.AgentOpInfo(octopusMessage);
} else if (opType.equals(AgentOperationType.INFO)) {
// 收集Agent的版本信息
agentOperationInfoService.AgentOpVersion(octopusMessage);
} else if (opType.equals(AgentOperationType.INFO)) {
// 收集Agent的核心Info信息
agentOperationInfoService.AgentOpInfo(octopusMessage);
} else {
// operation unknown
log.error("Command Agent Operation Unknown! ");