Пример #1
0
    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'),

    (r'^ci/get_last_changes/(?P<ci_id>.*)$', login_required(LastChanges.as_view())),
    (r'^relation/add/(?P<ci_id>\w+)$', login_required(AddRelation.as_view())),
    (r'^relation/delete/(?P<relation_id>\w+)/(?P<ci_id>\w+)$', login_required(EditRelation.as_view())),
    (r'^relation/edit/(?P<relation_id>\w+)$', login_required(EditRelation.as_view())),
    (r'^add/$', login_required(Add.as_view())),
    (r'^rest/', include('ralph.cmdb.rest.urls')),
    (r'^changes/change/(?P<change_id>\w+)$', login_required(Change.as_view())),
    (r'^changes/changes$', login_required(Changes.as_view())),
    (r'^changes/incidents$', login_required(Incidents.as_view())),
    (r'^changes/problems$', login_required(Problems.as_view())),

    (r'^changes/timeline$', login_required(TimeLine.as_view())),
    (r'^changes/timeline_ajax$', login_required(TimeLine.get_ajax)),

    (r'^changes/dashboard$', login_required(Dashboard.as_view())),
    (r'^changes/dashboard_ajax$', login_required(Dashboard.get_ajax)),
    (r'^changes/dashboard_details/(?P<type>[0-9]+)/(?P<prio>[0-9]+)/'
    '(?P<month>[0-9]+)/(?P<report_type>\w+)$',
        login_required(DashboardDetails.as_view())),
    (r'^changes/reports$', login_required(Reports.as_view())),
    (r'^graphs$', login_required(Graphs.as_view())),
)
Пример #2
0
    (r'^ci/view/(?P<ci_id>[a-z]{2}-[0-9]+)$', login_required(View.as_view())),
    (r'^ci/view_iframe/(?P<ci_id>\w+)$', login_required(ViewIframe.as_view())),
    (r'^ci/view_jira/(?P<ci_uid>.*)$', login_required(ViewJira.as_view())),
    (r'^ci/jira_ci_unknown/$', login_required(ViewUnknown.as_view())),
    url(r'^ci/edit/(?P<ci_id>\w+)$',
        login_required(Edit.as_view()),
        name='ci_edit'), (r'^ci/get_last_changes/(?P<ci_id>.*)$',
                          login_required(LastChanges.as_view())),
    (r'^relation/add/(?P<ci_id>\w+)$', login_required(AddRelation.as_view())),
    (r'^relation/delete/(?P<relation_id>\w+)/(?P<ci_id>\w+)$',
     login_required(EditRelation.as_view())),
    (r'^relation/edit/(?P<relation_id>\w+)$',
     login_required(EditRelation.as_view())),
    (r'^add/$', login_required(Add.as_view())),
    (r'^rest/', include('ralph.cmdb.rest.urls')),
    (r'^changes/change/(?P<change_id>\w+)$', login_required(Change.as_view())),
    (r'^changes/changes$', login_required(Changes.as_view())),
    (r'^changes/incidents$', login_required(Incidents.as_view())),
    (r'^changes/problems$', login_required(Problems.as_view())),
    (r'^changes/timeline$', login_required(TimeLine.as_view())),
    (r'^changes/timeline_ajax$', login_required(TimeLine.get_ajax)),
    (r'^changes/dashboard$', login_required(Dashboard.as_view())),
    (r'^changes/dashboard_ajax$', login_required(Dashboard.get_ajax)),
    (r'^changes/dashboard_details/(?P<type>[0-9]+)/(?P<prio>[0-9]+)/'
     '(?P<month>[0-9]+)/(?P<report_type>\w+)$',
     login_required(DashboardDetails.as_view())),
    (r'^changes/reports$', login_required(
        Reports.as_view())), (r'^graphs$', login_required(Graphs.as_view())),
    (r'^graphs_tree$', login_required(GraphsTree.as_view())),
    (r'^graphs_ajax_tree$', login_required(GraphsTree.get_ajax)))
Пример #3
0
    (r'^rest/', include('ralph.cmdb.rest.urls')),
    (r'^changes/change/(?P<change_id>\w+)$', login_required(Change.as_view())),
    (r'^changes/changes$', login_required(Changes.as_view())),
    (r'^changes/incidents$', login_required(Incidents.as_view())),
    (r'^changes/problems$', login_required(Problems.as_view())),
    (r'^changes/jira_changes$', login_required(JiraChanges.as_view())),

    url(r'^changes/timeline$',
        login_required(TimeLine.as_view()), name='cmdb_timeline'),
    (r'^changes/timeline_ajax$', login_required(TimeLine.get_ajax)),

    (r'^changes/dashboard$', login_required(Dashboard.as_view())),
    (r'^changes/dashboard_ajax$', login_required(Dashboard.get_ajax)),
    (r'^changes/dashboard_details/(?P<type>[0-9]+)/(?P<prio>[0-9]+)/'
     '(?P<month>[0-9]+)/(?P<report_type>\w+)$',
        login_required(DashboardDetails.as_view())),
    (r'^changes/reports$', login_required(Reports.as_view())),
    url(r'^graphs$', login_required(Graphs.as_view()), name='ci_graphs'),

    url(r'^archive/assets/$',
        login_required(ArchivedAssetsChanges.as_view()), name='archive'),
    url(r'^archive/zabbix/$',
        login_required(ArchivedZabbixTriggers.as_view()), name='archive'),
    url(r'^archive/git/$',
        login_required(ArchivedGitChanges.as_view()), name='archive'),
    url(r'^archive/puppet/$',
        login_required(ArchivedPuppetChanges.as_view()), name='archive'),
    url(r'^archive/cmdb/$',
        login_required(ArchivedCIAttributesChanges.as_view()), name='archive'),
)
Пример #4
0
 (r'^changes/change/(?P<change_id>\w+)$', login_required(Change.as_view())),
 (r'^changes/changes$', login_required(Changes.as_view())),
 (r'^changes/incidents$', login_required(Incidents.as_view())),
 (r'^changes/problems$', login_required(Problems.as_view())),
 (r'^changes/jira_changes$', login_required(JiraChanges.as_view())),
 url(r'^changes/timeline$',
     login_required(TimeLine.as_view()),
     name='cmdb_timeline'),
 (r'^changes/timeline_ajax$', login_required(TimeLine.get_ajax)),
 (r'^changes/dashboard$', login_required(Dashboard.as_view())),
 (r'^changes/dashboard_ajax$', login_required(Dashboard.get_ajax)),
 (r'^changes/dashboard_details/(?P<type>[0-9]+)/(?P<prio>[0-9]+)/'
  '(?P<month>[0-9]+)/(?P<report_type>\w+)$',
  login_required(DashboardDetails.as_view())),
 (r'^changes/reports$', login_required(Reports.as_view())),
 url(r'^graphs$', login_required(Graphs.as_view()), name='ci_graphs'),
 url(r'^archive/assets/$',
     login_required(ArchivedAssetsChanges.as_view()),
     name='archive'),
 url(r'^archive/zabbix/$',
     login_required(ArchivedZabbixTriggers.as_view()),
     name='archive'),
 url(r'^archive/git/$',
     login_required(ArchivedGitChanges.as_view()),
     name='archive'),
 url(r'^archive/puppet/$',
     login_required(ArchivedPuppetChanges.as_view()),
     name='archive'),
 url(r'^archive/cmdb/$',
     login_required(ArchivedCIAttributesChanges.as_view()),
     name='archive'),