netbird/management/cmd
Bethuel Mmbaga a5811a2d7d
Implement experimental PostgreSQL store (#1939)
* migrate sqlite store to
 generic sql store

* fix conflicts

* init postgres store

* Add postgres store tests

* Refactor postgres store engine name

* fix tests

* Run postgres store tests on linux only

* fix tests

* Refactor

* cascade policy rules on policy deletion

* fix tests

* run postgres cases in new db

* close store connection after tests

* refactor

* using testcontainers

* sync go sum

* remove postgres service

* remove store cleanup

* go mod tidy

* remove env

* use postgres as engine and initialize test store with testcontainer

---------

Co-authored-by: Maycon Santos <mlsmaycon@gmail.com>
2024-05-16 19:28:37 +03:00
..
defaults.go Feature/dns protocol (#543) 2022-11-07 15:38:21 +01:00
management.go Pass integrated validator for API (#1814) 2024-04-15 12:08:38 +02:00
migration_down.go Implement experimental PostgreSQL store (#1939) 2024-05-16 19:28:37 +03:00
migration_up.go Implement SQLite Store using gorm and relational approach (#1065) 2023-10-12 15:42:36 +02:00
root.go Fix jwks validation and flag/config overriding (#1380) 2023-12-12 14:56:27 +01:00