This commit is contained in:
Iliyan Angelov
2025-09-19 11:58:53 +03:00
parent 306b20e24a
commit 6b247e5b9f
11423 changed files with 1500615 additions and 778 deletions

View File

@@ -0,0 +1,36 @@
"""
URL configuration for automation_orchestration app
"""
from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views.automation import (
RunbookViewSet,
RunbookExecutionViewSet,
IntegrationViewSet,
ChatOpsIntegrationViewSet,
ChatOpsCommandViewSet,
AutoRemediationViewSet,
AutoRemediationExecutionViewSet,
MaintenanceWindowViewSet,
WorkflowTemplateViewSet,
WorkflowExecutionViewSet,
)
# Create router and register viewsets
router = DefaultRouter()
router.register(r'runbooks', RunbookViewSet)
router.register(r'runbook-executions', RunbookExecutionViewSet)
router.register(r'integrations', IntegrationViewSet)
router.register(r'chatops-integrations', ChatOpsIntegrationViewSet)
router.register(r'chatops-commands', ChatOpsCommandViewSet)
router.register(r'auto-remediations', AutoRemediationViewSet)
router.register(r'auto-remediation-executions', AutoRemediationExecutionViewSet)
router.register(r'maintenance-windows', MaintenanceWindowViewSet)
router.register(r'workflow-templates', WorkflowTemplateViewSet)
router.register(r'workflow-executions', WorkflowExecutionViewSet)
app_name = 'automation_orchestration'
urlpatterns = [
path('', include(router.urls)),
]