Top level clusters controller
What does this MR do?
Requisite step for https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22450
Create a top level ClustersController
that we can use for both project (now) and group-level clusters (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22450), and maybe instance-level clusters (future)
Goals
- Keep route compatibility with existing
<namespace>/<project>/clusters
, which means no major front-end changes needed. - Allow for easy swap of
project
withgroup
at a later stage
Tasks
-
specs for ClusterPresenter#show_path -
specs for ClusterablePresenter -
fabricate? for Project ?
What are the relevant issue numbers?
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary - [-] Documentation created/updated
-
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides - [-] Conforms to the database guides
Edited by Thong Kuah