25 Commits

Author SHA1 Message Date
Milan Pavlik
0e2ec6cd24
Remove usage of applicationCluster column from WorkspaceCluster (#16824)
* Remove usage of applicationCluster column from WorkspaceCluster

* fix

* Fix

* fix

* Fix

* fix

* Fix

* fix

* Fix

* Fix

* fix
2023-03-14 13:13:07 +01:00
Milan Pavlik
db05a7f5be [server] Typed workspace region 2023-02-10 15:26:15 +01:00
Sven Efftinge
74aa6db6e4 [ws-manager-api] Add region for cluster selection 2023-02-08 10:51:46 +01:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Andrew Farries
076f35a1f2 Make deleteByName take an applicationCluster
Deleting a workspace cluster by name only makes sense in the context of
a particular workspace cluster.
2022-10-26 17:26:42 +02:00
Andrew Farries
e9eb6ac097 Make findByName take an applicationCluster
Finding a workspace cluster by name only makes sense in the context of a
particular workspace cluster.
2022-10-26 17:26:42 +02:00
Andrew Farries
eddd3936c5 Make applicationCluster mandatory when filtering 2022-10-26 17:26:42 +02:00
Andrew Farries
b06cdfeb47 Extend WorkspaceClusterFilter in gitpod-protocol
This reverts commit bc74fb6998c39cce54bf7b91ed0ca7914ec013ab.
2022-10-26 17:26:42 +02:00
Andrew Farries
9071376e01 Revert "Extend WorkspaceClusterFilter in gitpod-protocol"
This reverts commit 7e550ef03a46aa454093a51c61698efc13d9e78c.
2022-10-20 13:39:35 +02:00
Andrew Farries
61f03496ba Extend WorkspaceClusterFilter in gitpod-protocol
Allow filtering by name and applicationCluster.
2022-10-20 09:52:35 +02:00
Andrew Farries
7ea0256d97 Change length of applicationCluster field 2022-10-17 18:34:32 +02:00
Andrew Farries
533346ab34 Add applicationCluster field to table
This field will record to which workspace cluster the information in
each row belongs.
2022-10-17 18:34:32 +02:00
Christian Weichel
76ad6c215e [ws-manager-bridge] Remove HasMoreResources admission constraint
We've moved to workspace classes for this feature.
2022-07-15 14:31:02 +02:00
Christian Weichel
68840d62d4 [ws-manager-bridge] Remove HasUserLevel admission constraint
We never really used it and solved this case with other means
2022-07-14 19:49:01 +02:00
Thomas Schubart
24d939d021 [bridge] Retrieve classes during registration 2022-07-06 23:15:53 +05:30
Milan Pavlik
2f0b9462b0 Format components/gitpod-protocol with prettier 2022-03-14 21:42:21 +05:30
Gero Posmyk-Leinemann
caa8a23300 [ws-manager-api, protocol] Slight refactor of cluster selection
1. Generalized cluster selection for "HasPermission" AdmissionConstraints
 Before the "constraintNewWorkspaceCluster" was seen as special case, that also was too general. This way it's straight forward to extend to other permissions

 2. Separated "cluster authorization" into a separate Constraint which is applied to all ClusterSets. Before the authoritzation was more an optimization of the cluster precedence
2022-02-15 10:37:36 +01:00
Christian Weichel
b67e3ecdb7 [workspace-cluster] Introduce has-more-resources constraint 2022-02-02 18:46:24 +01:00
Christian Weichel
dbeeafafd0 [workspace cluster] Remove admission preferences 2022-02-02 18:46:24 +01:00
Christian Weichel
9605e0b386 [wsman-bridge] Introduce admission preferences 2021-10-14 06:00:00 -03:00
Alex Tugarev
313fc79b91 remove custom Without type 2021-07-20 10:42:24 +02:00
Christian Weichel
83cc11aee3 [pwc] Add admission constraints to gpctl 2021-05-07 08:23:08 +02:00
Christian Weichel
d063fb7153 [pwc] Support admission constraints
when selecting a workspace cluster for starting a workspace.
2021-05-07 08:23:08 +02:00
Autofix
af51739d34 Autofix: trailing-spaces 2021-04-12 08:29:10 +02:00
Gero Posmyk-Leinemann
0af1980f8c [gpctl, bridge, db, protocol, server, ws-proxy] Dynamic WorkspaceCluster 2021-04-01 14:47:31 +02:00