decomposer: fix validation failure for Migrate the kab_ingestion domain models, ports, GitHub SCM connector, and SharePoint CMS connector into the repository's app/ package.; Wire the migrated ingestion components into the agent application entry point, card, settings, triggers, governance, publication, and validation layers.; Populate every remaining placeholder file with working application, package, test, dependency, and Kubernetes content.; Verify the migrated agent and completed repository end to end.
Some checks failed
quality-gates / verify (push) Failing after 7s
Some checks failed
quality-gates / verify (push) Failing after 7s
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from collections.abc import Callable
|
||||
from .kab_ingestion.domain.models import IngestionRequest
|
||||
|
||||
def register_triggers(app: dict, handler: Callable) -> None:
|
||||
app["triggers"]["github_push"] = handler
|
||||
app["triggers"]["manual_ingest"] = handler
|
||||
|
||||
def github_trigger(locator: str, requested_by: str = "github-webhook") -> IngestionRequest:
|
||||
return IngestionRequest(source="github", locator=locator, requested_by=requested_by)
|
||||
|
||||
Reference in New Issue
Block a user