Skip to content

Implement Plan 04 limen side Service Route domain and proxy control plane - #22

Merged
PianoNic merged 1 commit into
mainfrom
feature/21_Plan04LimenSideServicesRoutes
Apr 15, 2026
Merged

Implement Plan 04 limen side Service Route domain and proxy control plane#22
PianoNic merged 1 commit into
mainfrom
feature/21_Plan04LimenSideServicesRoutes

Conversation

@PianoNic

Copy link
Copy Markdown
Member

Summary

  • Adds Service and PublicRoute domain entities with EF configurations and migration ServicesAndRoutes
  • New commands CreateServiceCommand and AddRouteCommand; new queries ListServicesQuery and ListRoutesQuery; proxy contracts (ProxyMessageTypes, RouteSpec, ApplyRouteSet, ProxyAuth, ProxyAuthResponse) in Limen.Contracts
  • IProxyConnectionRegistry / ProxyConnectionRegistry (mirrors agent registry); ProxyConfigPusher builds RouteSpec list from DB joins (Services × Agents × WireGuardPeers) and pushes over WS; WebSocket endpoint at /api/proxies/ws authenticates Ostiarius by proxy-role node id + agent secret then pushes the initial route set; REST endpoints /api/services and /api/routes; Services and Routes pages added to the Angular shell with spartan/helm cards and nav links

Test plan

  • dotnet build — 0 errors, 0 new warnings (2 pre-existing MSB3277 in test project only)
  • dotnet test — 9/9 passing
  • Angular ng build — lazy chunks for services and routes present; no compile errors
  • GET /api/services and GET /api/routes return 200 with empty arrays after migration
  • POST /api/services creates a service; POST /api/routes creates a route and attempts pusher
  • WebSocket to /api/proxies/ws with invalid secret returns ProxyAuthResponse(Ok=false) and closes

Closes #21

@PianoNic PianoNic added feature New capability or feature work plan Full implementation plan tracking issue labels Apr 15, 2026
@PianoNic
PianoNic merged commit d4ec08b into main Apr 15, 2026
2 checks passed
@PianoNic
PianoNic deleted the feature/21_Plan04LimenSideServicesRoutes branch April 15, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New capability or feature work plan Full implementation plan tracking issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Plan 04 limen side Service Route domain and proxy control plane

1 participant