validation services added

This commit is contained in:
2025-01-30 12:13:35 +03:00
parent 9276740e0e
commit 822e4155a1
24 changed files with 279 additions and 708 deletions

View File

@@ -26,7 +26,6 @@ COPY ApiLayers /app/ApiLayers
COPY Services /app/Services
# Events
# COPY Events/base_request_model.py /app/Events/base_request_model.py
COPY Events/Engine /app/Events/Engine
COPY Events/base_request_model.py /app/Events/base_request_model.py
COPY Events/AllEvents/authentication /app/Events/AllEvents/authentication

View File

@@ -69,3 +69,4 @@ class LanguageConfig:
SUPPORTED_LANGUAGES = ["en", "tr"]
DEFAULT_LANGUAGE = "tr"

View File

@@ -21,16 +21,15 @@ def get_all_routers() -> PrepareRouting:
Get all routers and protected routes from route configurations.
Returns:
tuple: (routers, protected_routes)
tuple: PrepareRouting
"""
global routers
if routers:
return routers
cluster_list = get_cluster_controller_group()
prepare_routing = PrepareRouting(cluster_controller_group=cluster_list)
prepare_events = PrepareEvents(cluster_controller_group=cluster_list)
SetItems2Redis(prepare_events=prepare_events)
return prepare_routing
routers = PrepareRouting(cluster_controller_group=cluster_list)
return routers
# async def health_check(request: Request):