summaryrefslogtreecommitdiff
path: root/spec/controllers/projects/clusters
Commit message (Collapse)AuthorAgeFilesLines
* Rename ClusterUpdateAppWorker to ClusterPatchAppWorkerJoão Cunha2019-03-051-2/+2
| | | | - This is to avoid colision with EE ClusterUpdateAppWorker
* Creates Clusterss::ApplciationsController update endpointJoão Cunha2019-03-051-18/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Creates new route - Creates new controller action - Creates call stack: Clusterss::ApplciationsController calls --> Clusters::Applications::UpdateService calls --> Clusters::Applications::ScheduleUpdateService calls --> ClusterUpdateAppWorker calls --> Clusters::Applications::PatchService --> ClusterWaitForAppInstallationWorker DRY req params Adds gcp_cluster:cluster_update_app queue Schedule_update_service is uneeded Extract common logic to a parent class (UpdateService will need it) Introduce new UpdateService Fix rescue class namespace Fix RuboCop offenses Adds BaseService for create and update services Remove request_handler code duplication Fixes update command Move update_command to ApplicationCore so all apps can use it Adds tests for Knative update_command Adds specs for PatchService Raise error if update receives an unistalled app Adds update_service spec Fix RuboCop offense Use subject in favor of go Adds update endpoint specs for project namespace Adds update endpoint specs for group namespace
* Update specs to rails5 formatblackst0ne-convert-specs-rails5-styleblackst0ne2018-12-191-1/+1
| | | | | | | | | | Updates specs to use new rails5 format. The old format: `get :show, { some: params }, { some: headers }` The new format: `get :show, params: { some: params }, headers: { some: headers }`
* Resolve controller sharing concernThong Kuah2018-11-011-0/+87
| | | | | | | | | | | | | | Use ClustersController as base while having Projects::ClustersController to inform what `clusterable` is. Thanks @ayufan for the great suggestion ! - View changes to work with new approach - Fix javascript for new approach - Fix feature specs for new approach - Fix QA
* Convert clusters to use a top-level controllerThong Kuah2018-11-011-85/+0
| | | | | | | | | | | | | | | | | | | | | | | | In preparation so that we can create both cluster attached to project and cluster attached to group. - Move ClustersController to top level - Move Clusters::ApplicationsController to top-level too - Creates a Clusters::BaseController to share common functions - Do not rely on @project ivar. Anything could set the ivar. - Fix Vue page components due to new data-page value Because of the controller change we have gone from `projects:clusters:new` to `clusters:new`, so we need to update the file location of the page components. There is somewhere a function that will convert data-page to a file location. On that note, projects/clusters/gcp/new/, translate to Projects::Clusters::Gcp#new doesn't exist so replace that with clusters/create_gcp/ and clusters/create_user/
* Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao2018-07-111-2/+2
|
* consolidate back into one controllerDennis Tang2018-06-192-152/+0
|
* update testsDennis Tang2018-06-052-0/+152
|
* consolidate clusters controller specsDennis Tang2018-05-312-271/+0
|
* Remove project billing context from controller specMatija Čupić2018-05-021-15/+7
|
* Merge branch 'master' into ↵Matija Čupić2018-05-021-7/+15
|\ | | | | | | 38759-fetch-available-parameters-directly-from-gke-when-creating-a-cluster
| * Display and revoke active sessionsAlexis Reigel ( 🌴 may 2nd - may 9th 🌴 )2018-05-021-1/+1
| |
* | Remove Projects::Clusters::GcpController#list_projectsMatija Čupić2018-05-021-28/+0
| |
* | Remove double before block from GcpController specMatija Čupić2018-04-201-3/+0
| |
* | Remove the GCP billing verification stepMatija Čupić2018-04-201-24/+9
| |
* | Store projects in ListGcpProjectsWorkerMatija Čupić2018-04-201-14/+10
| |
* | Rename CheckGcpProjectBillingWorker to ListGcpProjectsWorkerMatija Čupić2018-04-201-1/+1
| |
* | Expose CloudPlatform::Client#projects_list as GcpController#list_projects38759-fetch-available-parameters-directly-from-gke-when-creating-a-clusterMatija Čupić2018-03-161-0/+30
|/
* Do not persist Google Project Billing Failure errors after a reloadMatija Čupić2018-02-221-1/+1
|
* Refactor GCP redirect test suiteMatija Čupić2018-01-111-5/+4
|
* Fix GCP Controller specMatija Čupić2018-01-111-1/+5
|
* Merge branch 'master' into ↵Matija Čupić2018-01-051-1/+1
|\ | | | | | | 39957-redirect-to-gpc-page-if-users-try-to-create-a-cluster-but-the-account-is-not-enabled
| * Extend Cluster Applications to allow installation of PrometheusMayra Cabrera2017-12-221-1/+1
| |
* | Implement GCP billing check in cluster formMatija Čupić2017-12-211-1/+16
| |
* | Remove actions for async GCP project billing checkMatija Čupić2017-12-211-189/+11
| |
* | Add Worker rerun action to GcpControllerMatija Čupić2017-12-161-0/+50
| |
* | Expand controller test suite matrixMatija Čupić2017-12-161-40/+98
| |
* | Add check step for creating GCP clustersMatija Čupić2017-12-161-1/+70
|/
* Fix gcp|user_controller_specsKamil Trzcinski2017-12-062-4/+6
|
* Fix typo secret-keyShinya Maeda2017-12-051-1/+1
|
* Fix static analysis :green_heart:Alessio Caiazza2017-12-041-1/+1
|
* Fix RubocopKamil Trzcinski2017-12-032-5/+5
|
* Fix user controller specsKamil Trzcinski2017-12-031-0/+87
|
* Fix GCP controller specsKamil Trzcinski2017-12-031-0/+185
|
* Fix Projects::Clusters::ApplicationsController failuresAlessio Caiazza2017-11-071-3/+2
|
* Add more tests to Projects::Clusters::ApplicationsController38464-k8s-appsAlessio Caiazza2017-11-061-0/+13
|
* Add Projects::Clusters::ApplicationsController testsAlessio Caiazza2017-11-031-0/+73