Commit graph

15 commits

Author SHA1 Message Date
GitLab Bot
96acc69fae Add latest changes from gitlab-org/gitlab@master 2021-06-15 12:10:11 +00:00
GitLab Bot
b82c4935ec Add latest changes from gitlab-org/gitlab@master 2021-06-14 12:10:13 +00:00
GitLab Bot
b158645575 Add latest changes from gitlab-org/gitlab@master 2020-04-23 00:09:41 +00:00
GitLab Bot
cf97983af8 Add latest changes from gitlab-org/gitlab@master 2020-04-16 00:09:22 +00:00
GitLab Bot
e3bdfa1a13 Add latest changes from gitlab-org/gitlab@master 2020-04-04 00:09:37 +00:00
GitLab Bot
2af90cef2e Add latest changes from gitlab-org/gitlab@master 2020-03-19 09:09:27 +00:00
GitLab Bot
427c549b63 Add latest changes from gitlab-org/gitlab@master 2020-01-14 00:08:14 +00:00
GitLab Bot
05f1d5d981 Add latest changes from gitlab-org/gitlab@master 2020-01-07 12:07:55 +00:00
GitLab Bot
c1f270b8ba Add latest changes from gitlab-org/gitlab@master 2019-11-18 03:06:28 +00:00
GitLab Bot
6653aab95d Add latest changes from gitlab-org/gitlab@master 2019-10-22 15:06:06 +00:00
Thong Kuah
abb530a619 DELETE clusters/:id/:application endpoint
Add endpoint to delete/uninstall a cluster application
2019-04-29 22:55:12 -07:00
João Cunha
f8234d9a08 Creates Clusterss::ApplciationsController update endpoint
- 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
2019-03-05 08:32:51 +02:00
Amit Rathi
1cdcf40265 Allows user to override default issuer email for cert manager 2018-12-07 21:40:03 +05:30
Thong Kuah
88800abcd8 Abstract out project out of ClustersController
To the extent possible swap out `project` with `clusterable`

- Abstract paths for showing cluster or clusters. This will allow us to
swap in alternative paths for group level cluster

- Push :project_id and :namespace_id params from the URL to the POST
body.

- Create a nice helper for to generate links for the destroy
action

For some reason, spec :project_id and :namespace_id param are not going
through `to_param` for a JSON format. Manually call `to_param` to fix
specs.

- Move :layout to BaseController
2018-11-01 19:36:58 +13:00
Thong Kuah
5b3c096c9e Convert clusters to use a top-level controller
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/
2018-11-01 18:38:36 +13:00
Renamed from app/controllers/projects/clusters/applications_controller.rb (Browse further)