Пример #1
0
                                                     ), name='update-graphite-check'),
                                             url(r'^graphitecheck/duplicate/(?P<pk>\d+)/',
                                                     view=duplicate_graphite_check, name='duplicate-graphite-check'),

                                             url(r'^httpcheck/create/', view=HttpCheckCreateView.as_view(),
                                                     name='create-http-check'),
                                             url(r'^httpcheck/update/(?P<pk>\d+)/',
                                                     view=HttpCheckUpdateView.as_view(
                                                     ), name='update-http-check'),
                                             url(r'^httpcheck/duplicate/(?P<pk>\d+)/',
                                                     view=duplicate_http_check, name='duplicate-http-check'),

                                             url(r'^jenkins_check/create/', view=JenkinsCheckCreateView.as_view(),
                                                     name='create-jenkins-check'),
                                             url(r'^jenkins_check/update/(?P<pk>\d+)/',
                                                     view=JenkinsCheckUpdateView.as_view(
                                                     ), name='update-jenkins-check'),
                                             url(r'^jenkins_check/duplicate/(?P<pk>\d+)/',
                                                     view=duplicate_jenkins_check, name='duplicate-jenkins-check'),
                                             url(r'^result/(?P<pk>\d+)/',
                                                     view=StatusCheckResultDetailView.as_view(
                                                     ), name='result'),

                                             url(r'^shifts/', view=ShiftListView.as_view(),
                                                     name='shifts'),

                                             url(r'^graphite/', view=graphite_api_data,
                                                     name='graphite-data'),

                                             url(r'^user/(?P<pk>\d+)/profile/$',
                                                     view=UserProfileUpdateView.as_view(), name='user-profile'),
                                             url(r'^user/(?P<pk>\d+)/profile/(?P<alerttype>.+)',
Пример #2
0
     view=duplicate_graphite_check,
     name='duplicate-graphite-check'),
 url(r'^httpcheck/create/',
     view=HttpCheckCreateView.as_view(),
     name='create-http-check'),
 url(r'^httpcheck/update/(?P<pk>\d+)/',
     view=HttpCheckUpdateView.as_view(),
     name='update-http-check'),
 url(r'^httpcheck/duplicate/(?P<pk>\d+)/',
     view=duplicate_http_check,
     name='duplicate-http-check'),
 url(r'^jenkins_check/create/',
     view=JenkinsCheckCreateView.as_view(),
     name='create-jenkins-check'),
 url(r'^jenkins_check/update/(?P<pk>\d+)/',
     view=JenkinsCheckUpdateView.as_view(),
     name='update-jenkins-check'),
 url(r'^jenkins_check/duplicate/(?P<pk>\d+)/',
     view=duplicate_jenkins_check,
     name='duplicate-jenkins-check'),
 url(r'^result/(?P<pk>\d+)/',
     view=StatusCheckResultDetailView.as_view(),
     name='result'),
 url(r'^shifts/', view=ShiftListView.as_view(), name='shifts'),
 url(r'^graphite/', view=graphite_api_data, name='graphite-data'),
 url(r'^user/(?P<pk>\d+)/profile/$',
     view=UserProfileUpdateView.as_view(),
     name='user-profile'),
 url(r'^alert-test/$', view=AlertTestView.as_view(), name='alert-test'),
 url(r'^alert-test-plugin/$',
     view=AlertTestPluginView.as_view(),
Пример #3
0
     url(r'^graphitecheck/create/',
        view=GraphiteCheckCreateView.as_view(), name='create-graphite-check'),
     url(r'^graphitecheck/update/(?P<pk>\d+)/',
        view=GraphiteCheckUpdateView.as_view(), name='update-graphite-check'),
     url(r'^graphitecheck/duplicate/(?P<pk>\d+)/',
        view=duplicate_graphite_check, name='duplicate-graphite-check'),
     url(r'^httpcheck/create/', view=HttpCheckCreateView.as_view(),
        name='create-http-check'),
     url(r'^httpcheck/update/(?P<pk>\d+)/',
        view=HttpCheckUpdateView.as_view(), name='update-http-check'),
     url(r'^httpcheck/duplicate/(?P<pk>\d+)/',
        view=duplicate_http_check, name='duplicate-http-check'),
     url(r'^jenkins_check/create/', view=JenkinsCheckCreateView.as_view(),
        name='create-jenkins-check'),
     url(r'^jenkins_check/update/(?P<pk>\d+)/',
        view=JenkinsCheckUpdateView.as_view(), name='update-jenkins-check'),
     url(r'^jenkins_check/duplicate/(?P<pk>\d+)/',
        view=duplicate_jenkins_check,
        name='duplicate-jenkins-check'),

     url(r'^result/(?P<pk>\d+)/',
        view=StatusCheckResultDetailView.as_view(), name='result'),
     url(r'^shifts/', view=ShiftListView.as_view(),
        name='shifts'),
     url(r'^graphite/', view=graphite_api_data,
        name='graphite-data'),
     url(r'^user/(?P<pk>\d+)/profile/$',
        view=UserProfileUpdateView.as_view(), name='user-profile'),
     url(r'^alert-test/$',
        view=AlertTestView.as_view(), name='alert-test'),
     url(r'^alert-test-plugin/$',
Пример #4
0
 url(r"^checks/$", view=StatusCheckListView.as_view(), name="checks"),
 url(r"^check/run/(?P<pk>\d+)/", view=run_status_check, name="run-check"),
 url(r"^check/delete/(?P<pk>\d+)/", view=StatusCheckDeleteView.as_view(), name="delete-check"),
 url(r"^check/(?P<pk>\d+)/", view=StatusCheckDetailView.as_view(), name="check"),
 url(r"^checks/report/$", view=StatusCheckReportView.as_view(), name="checks-report"),
 url(r"^icmpcheck/create/", view=ICMPCheckCreateView.as_view(), name="create-icmp-check"),
 url(r"^icmpcheck/update/(?P<pk>\d+)/", view=ICMPCheckUpdateView.as_view(), name="update-icmp-check"),
 url(r"^icmpcheck/duplicate/(?P<pk>\d+)/", view=duplicate_icmp_check, name="duplicate-icmp-check"),
 url(r"^graphitecheck/create/", view=GraphiteCheckCreateView.as_view(), name="create-graphite-check"),
 url(r"^graphitecheck/update/(?P<pk>\d+)/", view=GraphiteCheckUpdateView.as_view(), name="update-graphite-check"),
 url(r"^graphitecheck/duplicate/(?P<pk>\d+)/", view=duplicate_graphite_check, name="duplicate-graphite-check"),
 url(r"^httpcheck/create/", view=HttpCheckCreateView.as_view(), name="create-http-check"),
 url(r"^httpcheck/update/(?P<pk>\d+)/", view=HttpCheckUpdateView.as_view(), name="update-http-check"),
 url(r"^httpcheck/duplicate/(?P<pk>\d+)/", view=duplicate_http_check, name="duplicate-http-check"),
 url(r"^jenkins_check/create/", view=JenkinsCheckCreateView.as_view(), name="create-jenkins-check"),
 url(r"^jenkins_check/update/(?P<pk>\d+)/", view=JenkinsCheckUpdateView.as_view(), name="update-jenkins-check"),
 url(r"^jenkins_check/duplicate/(?P<pk>\d+)/", view=duplicate_jenkins_check, name="duplicate-jenkins-check"),
 url(r"^result/(?P<pk>\d+)/", view=StatusCheckResultDetailView.as_view(), name="result"),
 url(r"^shifts/", view=ShiftListView.as_view(), name="shifts"),
 url(r"^graphite/", view=graphite_api_data, name="graphite-data"),
 url(r"^user/(?P<pk>\d+)/profile/$", view=UserProfileUpdateView.as_view(), name="user-profile"),
 url(
     r"^user/(?P<pk>\d+)/profile/(?P<alerttype>.+)",
     view=UserProfileUpdateAlert.as_view(),
     name="update-alert-user-data",
 ),
 url(r"^admin/", include(admin.site.urls)),
 # for serving static assets using django
 url(r"^static/(?P<path>.*)$", "django.views.static.serve", {"document_root": settings.STATIC_ROOT}),
 # Comment below line to disable browsable rest api
 url(r"^api-auth/", include("rest_framework.urls", namespace="rest_framework")),