U
    Nh                     @   s  d Z ddlmZ ddlmZmZ ddlmZ ddlm	Z	 ddl
mZ ddlmZ ddlmZmZmZ d	d
 Zedejjedeed
dededededededededededededede ddedejddddedejddd ded!eeded"eded#eded$ed%ed&ggZejrxee	ejejd'7 Zee	ejejd'7 Zd(ej_d)ej_d*ej_d+S ),a  
URL Configuration for Stream Processor Django Project

This module defines the main URL routing configuration for the entire
Django application. It includes routes for the admin interface, API endpoints,
and web interface views.

The URL patterns are organized to provide:
- Admin interface for managing application data
- RESTful API endpoints for programmatic access
- Web interface for monitoring and control
- Health check endpoint for deployment monitoring
    )admin)pathinclude)settings)staticJsonResponse)never_cache)SpectacularAPIViewSpectacularSwaggerViewSpectacularRedocViewc                 C   s   t dddS )a  
    Simple health check endpoint for monitoring application status.
    
    This view provides a basic health check that can be used by load balancers,
    monitoring systems, and deployment tools to verify that the application
    is running and responding to requests.
    
    Args:
        request: The HTTP request object
        
    Returns:
        JsonResponse: A JSON response indicating the application status
    ZhealthyzStream Processor is running)statusmessager   )request r   ./var/www/html/StreamProcessor/src/core/urls.pyhealth_check   s    r   zadmin/zhealth/)namezauth/zapps.authentication.urlsz	accounts/zdjango.contrib.auth.urlszstreams/zapps.streams.urlszjingles/zapps.jingles.urlsznotifications/zapps.notifications.urls zapps.monitoring.urlszapi/schema/schemaz	api/docs/)url_namez
swagger-uiz
api/redoc/Zredoczapi/v1/zapps.streams.api.urlszapps.jingles.api.urlszapps.notifications.api.urlszmonitoring/zapps.monitoring.api.urls)document_rootzStream Processor AdministrationzStream Processor Adminz*Welcome to Stream Processor AdministrationN)__doc__Zdjango.contribr   django.urlsr   r   django.confr   Zdjango.conf.urls.staticr   django.httpr   django.views.decorators.cacher	   Zdrf_spectacular.viewsr
   r   r   r   siteurlsas_viewurlpatternsDEBUG	MEDIA_URL
MEDIA_ROOT
STATIC_URLSTATIC_ROOTsite_header
site_titleindex_titler   r   r   r   <module>   sL   2