Commit Graph
21 Commits
Author SHA1 Message Date
Pascal Fischer bcab5cbbee fix migration check 2025-07-04 15:23:03 +02:00
Pascal Fischer 3931958499 disable avoid adding networks multiple times 2025-07-04 14:19:13 +02:00
Pascal Fischer 914e58ac75 Merge branch 'feature/net-266-groups-migration' into feature/net-297-network-migration 2025-07-04 14:18:18 +02:00
Pascal Fischer 7baeea3d9d disable avoid adding group peers multiple times 2025-07-04 14:17:34 +02:00
Pascal Fischer 64e618f1ad disable migration cleanup 2025-07-04 13:14:47 +02:00
Pascal Fischer 5802dcaf80 Merge branch 'feature/net-266-groups-migration' into feature/net-297-network-migration
# Conflicts:
#	management/server/migration/migration.go
#	management/server/peer_test.go
2025-07-04 13:09:01 +02:00
Pascal Fischer e78b7dd058 fis association replace 2025-07-03 13:35:18 +02:00
Pascal FischerandCopilot 005937ae77 Update management/server/migration/migration.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-03 12:56:39 +02:00
Pascal Fischer 36155f8de1 disable delete on migration 2025-07-03 12:51:55 +02:00
Pascal Fischer d06831dd2f add network migration 2025-07-03 11:20:16 +02:00
Pascal Fischer e23282b92c add groups migration 2025-07-02 19:09:42 +02:00
Pascal Fischer 22678bce7f [management] add uniqueness constraint for peer ip and label and optimize generation (#4042) 2025-07-02 18:13:10 +02:00
Pascal Fischer 055df9854c [management] add gorm tag for primary key for the networks objects (#3758) 2025-05-04 20:58:04 +02:00
Bethuel Mmbaga c01874e9ce [management] Fix network migration issue in postgres (#3198)
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
2025-01-17 14:00:46 +03:00
Bethuel Mmbaga 409003b4f9 [management] Add support for disabling resources and routing peers in networks (#3154)
* sync openapi changes

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* add option to disable network resource(s)

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* add network resource enabled state from api

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* fix tests

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* add option to disable network router(s)

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* fix tests

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* Add tests

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* migrate old network resources and routers

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

---------

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
2025-01-08 19:35:57 +03:00
Bethuel Mmbaga 02a3feddb8 [management] Add MySQL Support (#3108)
* Add mysql store support
* Add support to disable activity events recording
2025-01-06 13:38:30 +01:00
pascal-fischer 10480eb52f [management] Setup key improvements (#2775) 2024-10-28 17:52:23 +01:00
pascal-fischerandZoltan Papp 765aba2c1c Add context to throughout the project and update logging (#2209)
propagate context from all the API calls and log request ID, account ID and peer ID

---------

Co-authored-by: Zoltan Papp <zoltan.pmail@gmail.com>
2024-07-03 11:33:02 +02:00
Maycon SantosandViktor Liu 381447b8d6 Fix store migration on empty string (#2149)
* Fix store migration on empty string

when fetching empty values from the database to check for migration our parser failed to handle null strings preventing the service from start

this uses sql.NullString to handle that and check for empty string resulted from null data

---------

Co-authored-by: Viktor Liu <17948409+lixmal@users.noreply.github.com>
2024-06-18 15:39:54 +02:00
Bethuel Mmbaga ce0718fcb5 Migrate blob net ip fields to json serializer (#1906)
* serialize net.IP as json

* migrate net ip field from blob to json

* run net ip migration

* remove duplicate index

* Refactor

* Add tests

* fix tests

* migrate null blob values
2024-05-07 14:01:45 +03:00
Viktor Liu 77488ad11a Migrate serializer:gob fields to serializer:json (#1855) 2024-04-18 18:14:21 +02:00