mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-15 06:04:40 +00:00
Make control-plane the real mount authority
Split node enrollment from export sync and issue Finder-compatible DAV credentials so the stack proves the real backend seam before any web UI consumes it.
This commit is contained in:
parent
5bc24fa99d
commit
b5f8ea9c52
28 changed files with 1345 additions and 423 deletions
|
|
@ -111,7 +111,7 @@ self-hosted mount flow.
|
|||
|
||||
- node registration
|
||||
- node heartbeat
|
||||
- export inventory
|
||||
- export inventory via a dedicated sync endpoint
|
||||
|
||||
### Web control plane -> control-server
|
||||
|
||||
|
|
@ -123,7 +123,20 @@ self-hosted mount flow.
|
|||
### Local device -> control-server
|
||||
|
||||
- fetch mount instructions
|
||||
- receive issued WebDAV URL and credentials or token material
|
||||
- receive issued WebDAV URL and standard WebDAV credentials
|
||||
- username
|
||||
- password
|
||||
- expiresAt
|
||||
|
||||
## Initial backend route sketch
|
||||
|
||||
The first backend contract should stay narrow:
|
||||
|
||||
- `POST /api/v1/nodes/register`
|
||||
- `POST /api/v1/nodes/{nodeId}/heartbeat`
|
||||
- `PUT /api/v1/nodes/{nodeId}/exports`
|
||||
- `GET /api/v1/exports`
|
||||
- `POST /api/v1/mount-profiles/issue`
|
||||
|
||||
### Control-server internal
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue