""" 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)), ]