Mappings & processing WIP

This commit is contained in:
Piotr Dec 2025-10-21 17:50:53 +02:00
parent 120e929469
commit 1d7c4c2dfd
Signed by: stawros
GPG key ID: 74B18A3F0F1E99C0
4 changed files with 11 additions and 3 deletions

View file

@ -3,10 +3,11 @@ from typing import Annotated
from injectable import injectable, autowired, Autowired
from app.model.healthcheck import HealthCheck
from app.model.webhook import WebhookEvent
from app.services import DockerService, GitService, Passwords
# @injectable
@injectable
class WebhookProcessor:
@autowired
def __init__(self, docker: Annotated[DockerService, Autowired],
@ -16,6 +17,9 @@ class WebhookProcessor:
self._git = git
self._keepass = keepass
def process_ci_event(self, event: WebhookEvent):
pass
@property
def health(self) -> HealthCheck:
return HealthCheck(