Files
yakpanel-core/architecture/2026/17-marketplace-monitoring-phase-implementation.md

31 lines
1.0 KiB
Markdown
Raw Normal View History

2026-04-07 20:29:49 +05:30
# Phase 6 Implementation: Marketplace and Monitoring
## Delivered Marketplace scope
- Added marketplace workflow and command factory:
- `MarketplaceWorkflowService`
- `MarketplaceCommandFactory`
- Added marketplace controller:
- Catalog browsing endpoint
- Plugin install/update/remove endpoints
- Added routes:
- `GET /api/v1/plugin-market`
- `POST /api/v1/plugins/install`
- `POST /api/v1/plugins/update`
- `POST /api/v1/plugins/remove`
- Added command types:
- `PLUGIN_INSTALL`
- `PLUGIN_UPDATE`
- `PLUGIN_REMOVE`
## Delivered Monitoring scope
- Added monitoring controller:
- `GET /api/v1/metrics/servers/{serverId}/live`
- `POST /api/v1/alerts/rules`
- `GET /api/v1/alerts`
- Added ingest controller:
- `POST /api/v1/metrics/ingest`
## Architecture notes
- Marketplace lifecycle operations are routed through the same command orchestration contract as other platform operations.
- Monitoring includes both pull-oriented live endpoint patterns and push-oriented ingest patterns for agent collectors.