Commit Graph

17 Commits

Author SHA1 Message Date
Gergő Jedlicska f210d9b749 gergo/web 2109 project region based db connection selector (#3434)
* feat(projects): add project regions, default to null

* feat(multiregion): add projectRegion Db client lookup logic

* feat(multiregion): add project region repositories and caching

* feat(multiRegion): db initialization and get project db client

* feat(docker-compose): add second db for regions testing

* feat(multiRegion): initialize region with pubs and subs working

* fix(multiRegion): get region client even if it was registered in another pod

* feat(workspaces): create workspace resolver split

* feat: update server region metadata

* feat(projects): rewrite project creation

* feat(multiRegion): getRegionDb

* fix(workspaces): get projects now can retur null

* feat(multiRegion): make local multi region DB-s work

* feat: set d efault workspace region

* CR changes

* tests

* feat(multiRegion): bind region properly

* fe update

* test fixes

* feat(multiRegion): automatically create aiven extras plugin

* ci(postgres): use published postgres with aiven extras

* fix(multiRegion): roll back the aiven extras migration, there is a better way

* tests fix

* fix(billing): we do not need to add a seat, if the workspace is on a plan, but has no sub

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2024-11-06 17:29:08 +01:00
Gergő Jedlicska 8e239ec744 feat(gatekeeper): feature access functions 2024-10-30 09:00:00 +01:00
Gergő Jedlicska edc70b76bc fix(gatekeeper): do not update subscription to canceled subs 2024-10-29 20:44:13 +01:00
Gergő Jedlicska 81c20dbdf3 feat(gatekeeper): manage subscription downscale 2024-10-29 20:17:19 +01:00
Gergő Jedlicska c0808e5577 feat(gatekeeper): manage subscription downscale 2024-10-29 16:52:00 +01:00
Gergő Jedlicska d6dad6609a feat(gatekeeper): shedule subscription downscale 2024-10-28 18:58:13 +01:00
Gergő Jedlicska 81b923cf67 feat(gatekeeper): upsize subscription on workspace role change 2024-10-24 10:03:08 +02:00
Gergő Jedlicska 50fff10acd feat(gatekeeper): handle cancelation and subscription updates 2024-10-22 23:17:22 +02:00
Gergő Jedlicska ee3b67a3a9 feat(gatekeeper): handle existing checkout sessions, when trying to create a new one 2024-10-21 19:18:22 +02:00
Gergő Jedlicska cf5cf4b9c0 feat(gatekeeper): move to knex based repositories 2024-10-19 14:58:02 +02:00
Gergő Jedlicska 7bb99df3bf test(gatekeeper): add checkout service tests 2024-10-18 12:03:51 +02:00
Gergő Jedlicska 2ba5e75474 chore(gatekeeper): cleanup before testing 2024-10-17 14:19:30 +02:00
Gergő Jedlicska d7d9bce769 feat(gatekeeper): complete checkout session service 2024-10-17 07:29:48 +02:00
Gergő Jedlicska ed543c5ecf wip(gatekeeper): checkout callbacks 2024-10-14 10:35:44 +02:00
Gergő Jedlicska 0a9e1343d1 feat(gatekeeper): add checkout session creation 2024-10-11 21:06:15 +02:00
Gergő Jedlicska 35d394222d feat(gatekeeper): allow license bypass in testing envs (#2663) 2024-08-19 20:22:37 +02:00
Gergő Jedlicska 5818a44e62 Gatekeeper (#2572)
* feat(gatekeeper): initial license validation

* test(gatekeeper): add license token to tests

* chore(gatekeeper): cleanup

* chore(gatekeeper): hide from circleci

* feat(helm): load license token from secrets

* chore(circleci): remove unused env var
2024-08-13 11:04:40 +02:00