Remove duplicated agent management API
@@ -191,17 +191,6 @@ public class AgentManagerApiController {
return statuses;
}
- /**
- * Get all agents from database.
- *
- * @return agentInfoList
- */
- @PreAuthorize("hasAnyRole('A')")
- @GetMapping(value = {"/", ""})
- public List<AgentInfo> getAll() {
- return agentService.getAllActive();
- }
-
/**
* Get the agent for the given agent ip and name.
*
