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
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
"""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
|
||||
Reference in New Issue
Block a user