[PR #3816] [MERGED] [management] REST client with configurable options #18655

Open
opened 2026-08-05 04:08:45 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3816
Author: @pnmcosta
Created: 5/12/2025
Status: Merged
Merged: 5/14/2025
Merged by: @pnmcosta

Base: feature/extend-rest-clientHead: feature/rest-client-options


📝 Commits (5)

  • b32c552 [management] rest client with options
  • 5893b69 Merge branch 'main' into feature/rest-client-options
  • d455f66 Merge branch 'feature/extend-rest-client' into feature/rest-client-options
  • 927be2b cleaner options with custom http client
  • edb3044 Merge branch 'feature/extend-rest-client' into feature/rest-client-options

📊 Changes

5 files changed (+62 additions, -24 deletions)

View changed files

📝 management/client/rest/client.go (+19 -9)
management/client/rest/options.go (+35 -0)
📝 management/client/rest/policies.go (+4 -8)
📝 management/client/rest/setupkeys.go (+1 -4)
📝 management/client/rest/setupkeys_test.go (+3 -3)

📄 Description

Describe your changes

Add configurable options to the management REST client package

Stack

  • feature/extend-rest-client - ⚠️ No PR associated with branch

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/3816 **Author:** [@pnmcosta](https://github.com/pnmcosta) **Created:** 5/12/2025 **Status:** ✅ Merged **Merged:** 5/14/2025 **Merged by:** [@pnmcosta](https://github.com/pnmcosta) **Base:** `feature/extend-rest-client` ← **Head:** `feature/rest-client-options` --- ### 📝 Commits (5) - [`b32c552`](https://github.com/netbirdio/netbird/commit/b32c5522a2db90b14c5361a31f9f5f05c47c00e5) [management] rest client with options - [`5893b69`](https://github.com/netbirdio/netbird/commit/5893b69f8698fc24e19ba79b8149a58cd0d81b32) Merge branch 'main' into feature/rest-client-options - [`d455f66`](https://github.com/netbirdio/netbird/commit/d455f66564c08dcdad3ed85a2159872fd2835c57) Merge branch 'feature/extend-rest-client' into feature/rest-client-options - [`927be2b`](https://github.com/netbirdio/netbird/commit/927be2b7d24ad72bc66d502ac8013485d6eed4ee) cleaner options with custom http client - [`edb3044`](https://github.com/netbirdio/netbird/commit/edb30447c16d7ed6ad74aaf4509e66037b32ed5b) Merge branch 'feature/extend-rest-client' into feature/rest-client-options ### 📊 Changes **5 files changed** (+62 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `management/client/rest/client.go` (+19 -9) ➕ `management/client/rest/options.go` (+35 -0) 📝 `management/client/rest/policies.go` (+4 -8) 📝 `management/client/rest/setupkeys.go` (+1 -4) 📝 `management/client/rest/setupkeys_test.go` (+3 -3) </details> ### 📄 Description ## Describe your changes Add configurable options to the management REST client package ## Issue ticket number and link ## Stack - `feature/extend-rest-client` - :warning: No PR associated with branch <!-- branch-stack --> - \#3816 :point\_left: ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <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 2026-08-05 04:08:45 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#18655