[PR #44] [MERGED] feature: basic management service implementation #2504

Closed
opened 2025-11-20 07:11:16 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/44
Author: @braginini
Created: 7/2/2021
Status: Merged
Merged: 7/17/2021
Merged by: @mlsmaycon

Base: mainHead: peer-registration-endpoint


📝 Commits (10+)

  • cd197bd feat: basic management service implementation [FAILING TESTS]
  • 05ff628 test: fix healthcheck test
  • 19c8c7b test: #39 add peer registration endpoint test
  • 6a22234 feat: #39 add setup key handling
  • 3b1da66 feat: #39 add peer management store persistence
  • bb85d89 refactor: extract config read/write to the utility package
  • 8ca73e7 refactor: move file contents copy to the utility package
  • 4dca871 refactor: use Accounts instead of Users in the Store
  • fff94cb feature: add management server Docker file
  • 250f45b refactor: introduce datadir instead of config

📊 Changes

17 files changed (+980 additions, -17 deletions)

View changed files

📝 .goreleaser.yaml (+39 -3)
cmd/management.go (+61 -0)
📝 cmd/root.go (+8 -1)
📝 cmd/service_controller.go (+1 -1)
📝 cmd/signal.go (+4 -4)
📝 cmd/up.go (+1 -8)
management/Dockerfile (+4 -0)
management/management_suite_test.go (+13 -0)
management/management_test.go (+164 -0)
management/proto/management.pb.go (+283 -0)
management/proto/management.proto (+31 -0)
management/server.go (+39 -0)
management/store.go (+120 -0)
management/testdata/store.json (+20 -0)
util/file.go (+79 -0)
util/file_test.go (+100 -0)
util/util_suite_test.go (+13 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/44 **Author:** [@braginini](https://github.com/braginini) **Created:** 7/2/2021 **Status:** ✅ Merged **Merged:** 7/17/2021 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `peer-registration-endpoint` --- ### 📝 Commits (10+) - [`cd197bd`](https://github.com/netbirdio/netbird/commit/cd197bd1be9f720e60684eb3f44afe13775ebcf3) feat: basic management service implementation [FAILING TESTS] - [`05ff628`](https://github.com/netbirdio/netbird/commit/05ff6280196f7588498f7a50af1d8e72497190da) test: fix healthcheck test - [`19c8c7b`](https://github.com/netbirdio/netbird/commit/19c8c7bafd477f1a3f9b2cc49434202b8cb74d87) test: #39 add peer registration endpoint test - [`6a22234`](https://github.com/netbirdio/netbird/commit/6a22234dfae14873a80631702cf74c5f8cd76058) feat: #39 add setup key handling - [`3b1da66`](https://github.com/netbirdio/netbird/commit/3b1da66967352e03dbae9680b72645b06a003035) feat: #39 add peer management store persistence - [`bb85d89`](https://github.com/netbirdio/netbird/commit/bb85d89f52a6310deb5c65f8f1e8392fbf844191) refactor: extract config read/write to the utility package - [`8ca73e7`](https://github.com/netbirdio/netbird/commit/8ca73e754414cec688b6f584c38fc112289b0300) refactor: move file contents copy to the utility package - [`4dca871`](https://github.com/netbirdio/netbird/commit/4dca87108998bd8756a413efcbc6a743fc15a3cf) refactor: use Accounts instead of Users in the Store - [`fff94cb`](https://github.com/netbirdio/netbird/commit/fff94cb02fbf50481abd0325dfc2b7e58910064d) feature: add management server Docker file - [`250f45b`](https://github.com/netbirdio/netbird/commit/250f45bac5abcd0d2e92ccfe07ae61a127683745) refactor: introduce datadir instead of config ### 📊 Changes **17 files changed** (+980 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `.goreleaser.yaml` (+39 -3) ➕ `cmd/management.go` (+61 -0) 📝 `cmd/root.go` (+8 -1) 📝 `cmd/service_controller.go` (+1 -1) 📝 `cmd/signal.go` (+4 -4) 📝 `cmd/up.go` (+1 -8) ➕ `management/Dockerfile` (+4 -0) ➕ `management/management_suite_test.go` (+13 -0) ➕ `management/management_test.go` (+164 -0) ➕ `management/proto/management.pb.go` (+283 -0) ➕ `management/proto/management.proto` (+31 -0) ➕ `management/server.go` (+39 -0) ➕ `management/store.go` (+120 -0) ➕ `management/testdata/store.json` (+20 -0) ➕ `util/file.go` (+79 -0) ➕ `util/file_test.go` (+100 -0) ➕ `util/util_suite_test.go` (+13 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2025-11-20 07:11:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2504