Files
Software Orchestrator 5769c1cd22 Initial commit: a0_software_orchestrator v1.0
- Auto-Registration-Bug behoben (register_project/get_project_id/resolve_project Trennung)
- 25 Tests gruen (Pytest)
- block_compactor-Tool refactored (Option B: Soft-Check statt Hard-Block)
- 4 Restbaustellen gefixt
- DB-Schema: plugin_settings-Tabelle hinzugefuegt
- 3 Schattenprojekte aus DB geloescht
- Plan v3 + Refactor-Plan + Worklog dokumentiert
2026-06-16 22:13:06 +00:00

11 lines
457 B
Python

"""API: Validate plugin configuration."""
from helpers.api import ApiHandler, Request, Response
import os
from usr.plugins.a0_software_orchestrator.helpers.validators import validate_config
class ConfigValidate(ApiHandler):
async def process(self, input: dict, request: Request) -> dict | Response:
config_path = "/a0/usr/plugins/a0_software_orchestrator/default_config.yaml"
result = validate_config(config_path)
return result