60 lines
1.8 KiB
Python
60 lines
1.8 KiB
Python
"""
|
|
Services métier pour l'API Homelab Automation.
|
|
"""
|
|
|
|
from .auth_service import AuthService, auth_service, verify_password, hash_password, create_access_token, decode_token
|
|
from .notification_service import NotificationService, notification_service
|
|
from .builtin_playbooks import BuiltinPlaybookService, builtin_playbook_service, init_builtin_playbook_service
|
|
from .websocket_service import WebSocketManager, ws_manager
|
|
from .host_status_service import HostStatusService, host_status_service
|
|
from .bootstrap_status_service import BootstrapStatusService, bootstrap_status_service
|
|
from .task_log_service import TaskLogService
|
|
from .adhoc_history_service import AdHocHistoryService, adhoc_history_service
|
|
from .ansible_service import AnsibleService, ansible_service
|
|
from .scheduler_service import SchedulerService, scheduler_service
|
|
from .hybrid_db import HybridDB, db
|
|
from .console_log_service import ConsoleLogCapture, console_log_service
|
|
|
|
__all__ = [
|
|
# Auth
|
|
"AuthService",
|
|
"auth_service",
|
|
"verify_password",
|
|
"hash_password",
|
|
"create_access_token",
|
|
"decode_token",
|
|
# Notifications
|
|
"NotificationService",
|
|
"notification_service",
|
|
# Builtin playbooks
|
|
"BuiltinPlaybookService",
|
|
"builtin_playbook_service",
|
|
"init_builtin_playbook_service",
|
|
# WebSocket
|
|
"WebSocketManager",
|
|
"ws_manager",
|
|
# Host status
|
|
"HostStatusService",
|
|
"host_status_service",
|
|
# Bootstrap status
|
|
"BootstrapStatusService",
|
|
"bootstrap_status_service",
|
|
# Task logs
|
|
"TaskLogService",
|
|
# Ad-hoc history
|
|
"AdHocHistoryService",
|
|
"adhoc_history_service",
|
|
# Ansible
|
|
"AnsibleService",
|
|
"ansible_service",
|
|
# Scheduler
|
|
"SchedulerService",
|
|
"scheduler_service",
|
|
# Hybrid DB
|
|
"HybridDB",
|
|
"db",
|
|
# Console logs
|
|
"ConsoleLogCapture",
|
|
"console_log_service",
|
|
]
|