Пример #1
0
                                             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+)/',
Пример #2
0
     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,
Пример #3
0
     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'),
Пример #4
0
 url(r"^instance/update/(?P<pk>\d+)/", view=InstanceUpdateView.as_view(), name="update-instance"),
 url(r"^instance/duplicate/(?P<pk>\d+)/", view=duplicate_instance, name="duplicate-instance"),
 url(r"^instance/delete/(?P<pk>\d+)/", view=InstanceDeleteView.as_view(), name="delete-instance"),
 url(r"^instance/(?P<pk>\d+)/", view=InstanceDetailView.as_view(), name="instance"),
 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)),