mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-02 19:39:17 +01:00
4587f7686e
* feat: basic management service implementation [FAILING TESTS] * test: fix healthcheck test * test: #39 add peer registration endpoint test * feat: #39 add setup key handling * feat: #39 add peer management store persistence * refactor: extract config read/write to the utility package * refactor: move file contents copy to the utility package * refactor: use Accounts instead of Users in the Store * feature: add management server Docker file * refactor: introduce datadir instead of config * chore: use filepath.Join to concat filepaths instead of string concat * refactor: move stop channel to the root * refactor: move stop channel to the root * review: fix PR review notes Co-authored-by: braginini <hello@wiretrustee.com>
20 lines
651 B
JSON
20 lines
651 B
JSON
{
|
|
"Accounts": {
|
|
"bf1c8084-ba50-4ce7-9439-34653001fc3b": {
|
|
"Id": "bf1c8084-ba50-4ce7-9439-34653001fc3b",
|
|
"SetupKeys": {
|
|
"a2c8e62b-38f5-4553-b31e-dd66c696cebb": {
|
|
"Key": "a2c8e62b-38f5-4553-b31e-dd66c696cebb"
|
|
}
|
|
},
|
|
"Peers": {
|
|
"/znMkP3yvi0T/ho+RSMBohXZSPtucVYnb66BcuJ5oRU=": {
|
|
"Key": "/znMkP3yvi0T/ho+RSMBohXZSPtucVYnb66BcuJ5oRU=",
|
|
"SetupKey": {
|
|
"Key": "a2c8e62b-38f5-4553-b31e-dd66c696cebb"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |