[server][ executor]- 完成同步调用命令的部分代码
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user