[server][ executor]- 完成同步调用命令的部分代码

This commit is contained in:
zeaslity
2023-02-28 15:36:53 +08:00
parent c51fdaad13
commit c36721eada
13 changed files with 535 additions and 91 deletions

View File

@@ -21,14 +21,14 @@ public class AgentController {
OctopusAgentService octopusAgentService;
@GetMapping("/version")
@ApiOperation("[版本]-所有OctopusAgent")
@ApiOperation("[版本] - 所有OctopusAgent")
public R<Map<String, String>> getAllAgentVersion(){
return R.ok(octopusAgentService.getAllAgentVersion());
}
@GetMapping("/coreInfo")
@ApiOperation("[核心信息]-所有OctopusAgent")
@ApiOperation("[核心信息] - 所有OctopusAgent")
public R<Map<String, ServerInfoVO>> getAllAgentCoreInfo(){
return R.ok(octopusAgentService.getAllAgentCoreInfo());