andpar83
11982d6dde
Add client's interaction with management service ( #71 )
...
* Add client's interaction with management service
* Getting updates
* Fixed key and nil ptr
* Added setupKey param
* Added managment address parameter
* Fixed test
* feature: use RemotePeers from the management server instead of deprecated Peers
* merge: merge changes from main
2021-08-01 19:06:01 +02:00
Mikhail Bragin
079d35eada
Extend Management to support peer changes distribution ( #55 )
...
* feature: add peer sync and a server public key endpoints
* test: add Management.Sync() gRpc endpoint test
* feat: implement peer sync
* docs: added some comments to the Management server
* chore: use for loop over channel when monitoring peer updates
* fix: exit infinite loop when sending updates to peers
* test: add multiple concurrent peers test for management service
* chore: remove unused test
* fix: reduce the amount peers for a concurrent peer update test
Co-authored-by: braginini <m.bragin@wiretrustee.com>
2021-07-22 10:28:00 +02:00
Maycon Santos
1a8c03bef0
feature: Support live peer list update ( #51 )
...
* created InitializePeer and ClosePeerConnection functions
* feature: simplify peer stopping
* chore: remove unused code
* feature: basic management service implementation (#44 )
* 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>
* Handle read config file errors
* feature: add letsencrypt support to the management service
* fix: lint warnings
* chore: change default datadir
* refactor: set default flags in code not Dockerfile
* chore: remove unused code
* Added RemovePeer and centralized configureDevice code
* remove peer from the wg interface when closing proxy
* remove config file
* add iface tests
* fix tests, validate if file exists before removing it
* removed unused functions UpdateListenPort and ConfigureWithKeyGen
* Ensure we don't wait for timeout when closing
* Rename ClosePeerConnection to RemovePeerConnection
* Avoid returning on uapi Accept failures
* Added engine tests
* Remove extra add address code
* Adding iface.Close
* Ensure Close the interface and disable parallel test execution
* check err var when listing interfaces
* chore: add synchronisation to peer management
* chore: add connection status to track peer connection
* refactor: remove unused code
Co-authored-by: braginini <hello@wiretrustee.com>
Co-authored-by: Mikhail Bragin <bangvalo@gmail.com>
2021-07-19 15:02:11 +02:00
mlsmaycon
ca5970140f
set config path to avoid ci/cd limitations
2021-06-25 11:08:16 +02:00
mlsmaycon
80665049dc
fixed Init Execution
2021-06-25 10:59:10 +02:00
mlsmaycon
52db303104
Add service command tests
2021-06-22 01:17:30 +02:00