12 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
2220a2435b
[migrations] Make workspace cluster name the PK, drop composite PK on (name, appCluster) (#16769)
* [migrations] Make workspace cluster name the PK, drop composite PK on (name, appCluster)

* fix

* fix

* fix
2023-03-13 10:57:48 +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
36a496e1be Add failing test for findFiltered
Check that the method correctly excludes soft-deleted clusters.
2022-11-02 12:07:06 +01:00
Andrew Farries
31399661d5 Amend tests to use new deleted field 2022-11-02 09:26:07 +01:00
Andrew Farries
19c0a6d315 Add extra assertions 2022-11-01 17:36:06 +01: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
99865077c1 Add tests for workspace-cluster-db implementation
Check that it's possible to finder workspace clusters by name and
application cluster.
2022-10-26 17:26:42 +02:00