Commit Graph

54 Commits

Author SHA1 Message Date
f1357a1e15 Remove references of project.cluster from specs 2017-12-04 17:02:18 +01:00
c2bf452c17 Refactor ClustersController pagination test 2017-12-01 18:01:59 +01:00
976e22e675 Use strings for @scope in ClustersController#index 2017-11-30 16:41:07 +01:00
062f011d32 Default to :all scope for ClustersController#index 2017-11-29 17:22:32 +01:00
3de1ba6cfa Move cluster sourcing from before_action to #index 2017-11-28 14:44:42 +01:00
6f72039007 Expose scope to view in ClustersController#index 2017-11-28 14:39:18 +01:00
18967d6894 Changes after Frontend and UX review:
- Moves toggle button to a shared location
- Adds tests for toggle button
- Transforms Clusters class into function
- Improves UX
2017-11-28 13:33:52 +00:00
061b496357 Fix symbolization error in #clusters 2017-11-27 18:06:38 +01:00
aec7bbf10a Use current_user in ClustersController#clusters 2017-11-27 16:32:55 +01:00
554bf24b2a Add cluster pagination to ClustersController#index 2017-11-27 14:03:35 +01:00
efc610d32b Use ClustersFinder in ClustersController#clusters 2017-11-27 13:51:00 +01:00
52bc826196 Add cluster counts to ClustersController#index 2017-11-27 13:33:33 +01:00
1b40a9f803 Handle toggle button with API request
Add tests
Update empty state
[ci skip]
2017-11-24 21:08:15 +00:00
0bee018631 Adds JS to toggle buttons [ci skip] 2017-11-24 15:35:10 +00:00
cc0c611555 Move cluster loading to ClustersController#index 2017-11-16 14:40:30 +01:00
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
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
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
3602c0b987 Fix some tests 2017-11-03 03:37:32 +09:00
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
5efea3a298 Fix pipeline. Fix routing when validation failed. 2017-11-01 23:13:22 +09:00
1427bdcadf Revert back FetchKubernetesTokenService 2017-11-01 13:58:08 +01:00
882cf2e409 Fix paths to the first page 2017-11-01 12:11:47 +01:00
253bf69dda specs for feature 2017-11-01 03:59:40 +09:00
6a65e2f5f9 specs for controller. Improved validation 2017-10-31 17:47:48 +09:00
5754908fee Adds buttons to the first page.
Moves first page into a new one
2017-10-27 16:48:02 +01:00
d0cff7f585 This works 2017-10-23 11:36:35 +03:00
e1d12ba9b9 Refactor Clusters to be consisted from GcpProvider and KubernetesPlatform 2017-10-23 08:57:52 +03:00
f9d490dbb9 Improve redirect uri state and fix all remaining tests 2017-10-06 16:14:14 +02:00
f293288589 Security fix: redirection in google_api/authorizations_controller 2017-10-06 21:28:40 +09:00
4cda11585c Fix almost all unresolved comments from Docs and UX review 2017-10-05 21:33:29 +02:00
6712762b9d Add ClusterPresenter. Fix Static Analysys. 2017-10-06 02:45:15 +09:00
0fbe0406fd Change /google_api/authorizations/ to /google_api/auth/. 2017-10-05 17:44:11 +02:00
0ca9ea6e7f Split create_params and update_params and fix small redirect bug in controller 2017-10-05 17:04:35 +02:00
bee5c08094 Fix Rubocop failures 2017-10-04 21:13:01 +02:00
54831bd44b Updated messages and notices 2017-10-04 21:10:08 +02:00
7329a0347f Add warning messages 2017-10-04 12:51:12 +01:00
20abcbffae Add google_api to TOP_LEVEL_ROUTES. Import/Export model failure fix. Fix static analysys. 2017-10-04 16:04:45 +09:00
2507652084 Introduce serializer for ClusterEntity 2017-10-03 23:21:54 +02:00
6b7889f750 Implement Policy. Use show instead of edit. Chnage db column. fix comments. dry up workers 2017-10-03 23:44:06 +09:00
34e66c427d PollingInterval, rename to gke_clusters, has_one :cluster 2017-10-02 21:58:50 +09:00
2cb1d617d9 Use expires_in for access_token validation 2017-10-02 17:13:46 +09:00
5663b4808d authorize in controller. validation in model. 2017-10-01 20:30:32 +09:00
e499c1c39d Replace reactive_cache by multipel sidekiq workers 2017-10-01 00:54:22 +09:00
bda1b0a878 Databse foreing key, index, encrypt password. Use short path. Improve error handling. Polish. 2017-09-29 00:08:11 +09:00
fabc359e77 Multithreading cluster creation is done with reactive_cache 2017-09-28 18:11:17 +09:00
058e595788 Delete/Update basic implementation 2017-09-27 22:17:41 +09:00
5fbf4069f6 Fetch k8s token from k8s username/password 2017-09-27 21:53:50 +09:00
e9d05a2cdc Add login root. Remove ceration type. 2017-09-27 21:01:08 +09:00
e7a8a05659 Improve ClustersController 2017-09-26 23:05:12 +09:00