Files
yakpanel-core/architecture/2026/15-hosting-mvp-runtime-wiring.md

24 lines
932 B
Markdown
Raw Normal View History

2026-04-07 20:29:49 +05:30
# Phase 4 Implementation: Hosting MVP Runtime Wiring
## Delivered
- Site/domain/SSL controllers now delegate to a single workflow service.
- Hosting command envelopes are generated through `HostingCommandFactory`.
- Webserver profile normalization supports:
- `nginx`
- `apache` (`httpd` alias)
- `openlitespeed` (`ols` alias)
- Command orchestrator now accepts:
- `DOMAIN_ADD`
- `DOMAIN_REMOVE`
- `WEBSERVER_RELOAD`
## Runtime flow
1. API receives request for site/domain/ssl mutation.
2. `SiteWorkflowService` validates and maps request to typed command envelope.
3. `CommandOrchestrator` assigns job metadata and enqueues dispatch payload.
4. Execution plane consumes command and performs adapter-specific operation.
## Notes
- This phase intentionally keeps persistence minimal while making runtime wiring explicit.
- Next step is adding provider-specific validation templates and dry-run checks before dispatch.