Class ClusterManagementController
- java.lang.Object
-
- org.craftercms.studio.controller.rest.v2.ClusterManagementController
-
@RestController public class ClusterManagementController extends Object
-
-
Constructor Summary
Constructors Constructor Description ClusterManagementController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseBody
getAllMembers()
ClusterManagementService
getClusterManagementService()
ResponseBody
removeClusterMembers(List<Long> memberIds)
void
setClusterManagementService(ClusterManagementService clusterManagementService)
-
-
-
Method Detail
-
getAllMembers
@GetMapping("/api/2/cluster") public ResponseBody getAllMembers() throws ServiceLayerException
- Throws:
ServiceLayerException
-
removeClusterMembers
@DeleteMapping("/api/2/cluster") public ResponseBody removeClusterMembers(@RequestParam("id") List<Long> memberIds) throws ServiceLayerException
- Throws:
ServiceLayerException
-
getClusterManagementService
public ClusterManagementService getClusterManagementService()
-
setClusterManagementService
public void setClusterManagementService(ClusterManagementService clusterManagementService)
-
-