}
return executed;
}
private boolean isRoleStarted(String clusterName, String serviceName, String roleName) {
ApiRoleState roleState = apiResourceRootV6.getClustersResource()
.getServicesResource(clusterName)
.getRolesResource(serviceName)
.readRole(roleName).getRoleState();
return roleState.equals(ApiRoleState.STARTED);
}