Mappings & processing WIP
This commit is contained in:
parent
120e929469
commit
1d7c4c2dfd
4 changed files with 11 additions and 3 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue