Commit Graph

92 Commits

Author SHA1 Message Date
Filipa Lacerda 1b40a9f803
Handle toggle button with API request
Add tests
Update empty state
[ci skip]
2017-11-24 21:08:15 +00:00
Filipa Lacerda 0bee018631
Adds JS to toggle buttons [ci skip] 2017-11-24 15:35:10 +00:00
Matija Čupić cc0c611555
Move cluster loading to ClustersController#index 2017-11-16 14:40:30 +01:00
Matija Čupić b0a8840369
List multiple clusters on ClustersController#index
Also:
* Stub out index view
* Adds the clusters before_action that returns all clusters
2017-11-16 14:33:00 +01:00
Matija Čupić 9809e1d404
Find cluster by id in ClustersController#cluster
Prepares the controller for handling multiple clusters instead of just
one.
2017-11-16 14:32:52 +01:00
Shinya Maeda 3278b0a5ff Merge branch '35616-move-gke-form-1st-iteration' into move-kubernetes-from-service-to-clusters-page-10-2-ver 2017-11-04 03:34:13 +09:00
Shinya Maeda 3602c0b987 Fix some tests 2017-11-03 03:37:32 +09:00
Shinya Maeda b129f06733 Fix out of sync with KubernetesService. Remove namespace pramas from controller. Use time_with_zone in schema. Remove Gcp::Clusters from safe_model_attributes.ym 2017-11-02 23:19:11 +09:00
Shinya Maeda 5efea3a298 Fix pipeline. Fix routing when validation failed. 2017-11-01 23:13:22 +09:00
Kamil Trzcinski 1427bdcadf Revert back FetchKubernetesTokenService 2017-11-01 13:58:08 +01:00
Kamil Trzcinski 882cf2e409 Fix paths to the first page 2017-11-01 12:11:47 +01:00
Shinya Maeda 253bf69dda specs for feature 2017-11-01 03:59:40 +09:00
Shinya Maeda 6a65e2f5f9 specs for controller. Improved validation 2017-10-31 17:47:48 +09:00
Filipa Lacerda 5754908fee
Adds buttons to the first page.
Moves first page into a new one
2017-10-27 16:48:02 +01:00
Shinya Maeda d0cff7f585 This works 2017-10-23 11:36:35 +03:00
Kamil Trzcinski e1d12ba9b9 Refactor Clusters to be consisted from GcpProvider and KubernetesPlatform 2017-10-23 08:57:52 +03:00
Kamil Trzcinski f9d490dbb9 Improve redirect uri state and fix all remaining tests 2017-10-06 16:14:14 +02:00
Shinya Maeda f293288589 Security fix: redirection in google_api/authorizations_controller 2017-10-06 21:28:40 +09:00
Kamil Trzcinski 4cda11585c Fix almost all unresolved comments from Docs and UX review 2017-10-05 21:33:29 +02:00
Shinya Maeda 6712762b9d Add ClusterPresenter. Fix Static Analysys. 2017-10-06 02:45:15 +09:00
Kamil Trzcinski 0fbe0406fd Change `/google_api/authorizations/` to `/google_api/auth/`. 2017-10-05 17:44:11 +02:00
Kamil Trzcinski 0ca9ea6e7f Split create_params and update_params and fix small redirect bug in controller 2017-10-05 17:04:35 +02:00
Kamil Trzcinski bee5c08094 Fix Rubocop failures 2017-10-04 21:13:01 +02:00
Kamil Trzcinski 54831bd44b Updated messages and notices 2017-10-04 21:10:08 +02:00
Filipa Lacerda 7329a0347f
Add warning messages 2017-10-04 12:51:12 +01:00
Shinya Maeda 20abcbffae Add google_api to TOP_LEVEL_ROUTES. Import/Export model failure fix. Fix static analysys. 2017-10-04 16:04:45 +09:00
Kamil Trzcinski 2507652084 Introduce serializer for ClusterEntity 2017-10-03 23:21:54 +02:00
Shinya Maeda 6b7889f750 Implement Policy. Use show instead of edit. Chnage db column. fix comments. dry up workers 2017-10-03 23:44:06 +09:00
Shinya Maeda 34e66c427d PollingInterval, rename to gke_clusters, has_one :cluster 2017-10-02 21:58:50 +09:00
Shinya Maeda 2cb1d617d9 Use expires_in for access_token validation 2017-10-02 17:13:46 +09:00
Shinya Maeda 5663b4808d authorize in controller. validation in model. 2017-10-01 20:30:32 +09:00
Shinya Maeda e499c1c39d Replace reactive_cache by multipel sidekiq workers 2017-10-01 00:54:22 +09:00
Shinya Maeda bda1b0a878 Databse foreing key, index, encrypt password. Use short path. Improve error handling. Polish. 2017-09-29 00:08:11 +09:00
Shinya Maeda fabc359e77 Multithreading cluster creation is done with `reactive_cache` 2017-09-28 18:11:17 +09:00
Shinya Maeda 058e595788 Delete/Update basic implementation 2017-09-27 22:17:41 +09:00
Shinya Maeda 5fbf4069f6 Fetch k8s token from k8s username/password 2017-09-27 21:53:50 +09:00
Shinya Maeda e9d05a2cdc Add login root. Remove ceration type. 2017-09-27 21:01:08 +09:00
Shinya Maeda e7a8a05659 Improve ClustersController 2017-09-26 23:05:12 +09:00
Shinya Maeda 55ac72e56e Create cluster 2017-09-26 20:34:49 +09:00
Shinya Maeda d65cd0a680 Tie KubernetesService 2017-09-26 17:46:09 +09:00
Shinya Maeda bdc618c289 ok 2017-09-26 02:11:26 +09:00
Shinya Maeda d4fa672c20 Create Kubernetes cluster on GKE from k8s service 2017-09-25 16:10:25 +09:00