Example #1
0
File: urls.py Project: 4i60r/ralph
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/relations/$',
        login_required(CIRelationsView.as_view()), name='ci_view_relation'),
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/git/$',
        login_required(CIGitView.as_view()), name='ci_view_git'),
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/puppet/$',
        login_required(CIPuppetView.as_view()), name='ci_view_puppet'),
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/ralph/$',
        login_required(CIRalphView.as_view()), name='ci_view_ralph'),
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/ci_changes/$',
        login_required(CIChangesView.as_view()), name='ci_view_changes'),
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/zabbix/$',
        login_required(CIZabbixView.as_view()), name='ci_view_zabbix'),
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/problems/$',
        login_required(CIProblemsView.as_view()), name='ci_view_problems'),
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/incidents/$',
        login_required(CIIncidentsView.as_view()), name='ci_view_incidents'),
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/jira_changes/$',
        login_required(JiraChangesView.as_view()), name='ci_view_jira'),
    url(r'^cleanup/$', login_required(Cleanup.as_view()), name='cleanup_view'),

    (r'^ci/jira_ci_unknown/$', login_required(ViewUnknown.as_view())),

    url(r'^ci/edit/(?P<ci_id>\w+)$',
        login_required(MainCIEdit.as_view()), name='ci_edit'),
    url(r'^ci/edit/(?P<ci_id>\w+)/main/$',
        login_required(MainCIEdit.as_view()), name='ci_edit_main'),
    url(r'^ci/edit/(?P<ci_id>\w+)/relations/$',
        login_required(CIRelationsEdit.as_view()), name='ci_edit_relations'),
    url(r'^ci/edit/(?P<ci_id>\w+)/git/$',
        login_required(CIGitEdit.as_view()), name='ci_edit_git'),
    url(r'^ci/edit/(?P<ci_id>\w+)/puppet/$',
Example #2
0
urlpatterns = patterns(
    '', (r'^$', login_required(Index.as_view())),
    (r'^search$', login_required(Search.as_view())),

    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)$', login_required(MainCIView.as_view()), name='ci_view'),

    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/main/$', login_required(MainCIView.as_view()), name='ci_view'),
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/relations/$', login_required(CIRelationsView.as_view()), name='ci_view'),
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/git/$', login_required(CIGitView.as_view()), name='ci_view'),
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/puppet/$', login_required(CIPuppetView.as_view()), name='ci_view'),
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/ralph/$', login_required(CIRalphView.as_view()), name='ci_view'),
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/ci_changes/$', login_required(CIChangesView.as_view()), name='ci_view'),
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/zabbix/$', login_required(CIZabbixView.as_view()), name='ci_view'),
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/problems/$', login_required(CIProblemsView.as_view()), name='ci_view'),
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/incidents/$', login_required(CIIncidentsView.as_view()), name='ci_view'),
    url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/so/$', login_required(CISOEventsView.as_view()), name='ci_view'),

    (r'^ci/jira_ci_unknown/$', login_required(ViewUnknown.as_view())),

    url(r'^ci/edit/(?P<ci_id>\w+)$', login_required(MainCIEdit.as_view()), name='ci_edit'),
    url(r'^ci/edit/(?P<ci_id>\w+)/main/$', login_required(MainCIEdit.as_view()), name='ci_edit'),
    url(r'^ci/edit/(?P<ci_id>\w+)/relations/$', login_required(CIRelationsEdit.as_view()), name='ci_edit'),
    url(r'^ci/edit/(?P<ci_id>\w+)/git/$', login_required(CIGitEdit.as_view()), name='ci_edit'),
    url(r'^ci/edit/(?P<ci_id>\w+)/puppet/$', login_required(CIPuppetEdit.as_view()), name='ci_edit'),
    url(r'^ci/edit/(?P<ci_id>\w+)/ralph/$', login_required(CIRalphEdit.as_view()), name='ci_edit'),
    url(r'^ci/edit/(?P<ci_id>\w+)/ci_changes/$', login_required(CIChangesEdit.as_view()), name='ci_edit'),
    url(r'^ci/edit/(?P<ci_id>\w+)/zabbix/$', login_required(CIZabbixEdit.as_view()), name='ci_edit'),
    url(r'^ci/edit/(?P<ci_id>\w+)/problems/$', login_required(CIProblemsEdit.as_view()), name='ci_edit'),
    url(r'^ci/edit/(?P<ci_id>\w+)/incidents/$', login_required(CIIncidentsEdit.as_view()), name='ci_edit'),
    url(r'^ci/edit/(?P<ci_id>\w+)/so/$', login_required(CISOEventsEdit.as_view()), name='ci_edit'),
Example #3
0
     login_required(CIPuppetView.as_view()),
     name='ci_view'),
 url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/ralph/$',
     login_required(CIRalphView.as_view()),
     name='ci_view'),
 url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/ci_changes/$',
     login_required(CIChangesView.as_view()),
     name='ci_view'),
 url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/zabbix/$',
     login_required(CIZabbixView.as_view()),
     name='ci_view'),
 url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/problems/$',
     login_required(CIProblemsView.as_view()),
     name='ci_view'),
 url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/incidents/$',
     login_required(CIIncidentsView.as_view()),
     name='ci_view'),
 url(r'^ci/view/(?P<ci_id>[a-z]{0,2}-?[0-9]+)/jira_changes/$',
     login_required(JiraChangesView.as_view()),
     name='ci_view'),
 url(r'^cleanup/$', login_required(Cleanup.as_view()), name='cleanup_view'),
 (r'^ci/jira_ci_unknown/$', login_required(ViewUnknown.as_view())),
 url(r'^ci/edit/(?P<ci_id>\w+)$',
     login_required(MainCIEdit.as_view()),
     name='ci_edit'),
 url(r'^ci/edit/(?P<ci_id>\w+)/main/$',
     login_required(MainCIEdit.as_view()),
     name='ci_edit_main'),
 url(r'^ci/edit/(?P<ci_id>\w+)/relations/$',
     login_required(CIRelationsEdit.as_view()),
     name='ci_edit_relations'),