forked from jly8866/archer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.py
68 lines (62 loc) · 4.16 KB
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# -*- coding: UTF-8 -*-
from django.conf.urls import url, include
from . import views, views_ajax, query, jobs
from django.conf import settings
urlpatterns = [
url(r'^$', views.sqlworkflow, name='sqlworkflow'),
url(r'^index/$', views.sqlworkflow, name='sqlworkflow'),
url(r'^login/$', views.login, name='login'),
url(r'^logout/$', views.logout, name='logout'),
url(r'^submitsql/$', views.submitSql, name='submitSql'),
url(r'^editsql/$', views.submitSql, name='editsql'),
url(r'^allworkflow/$', views.sqlworkflow, name='sqlworkflow'),
url(r'^autoreview/$', views.autoreview, name='autoreview'),
url(r'^detail/(?P<workflowId>[0-9]+)/$', views.detail, name='detail'),
url(r'^passed/$', views.passed, name='passed'),
url(r'^execute/$', views.execute, name='execute'),
url(r'^timingtask/$', views.timingtask, name='timingtask'),
url(r'^cancel/$', views.cancel, name='cancel'),
url(r'^rollback/$', views.rollback, name='rollback'),
url(r'^sqlquery/$', views.sqlquery, name='sqlquery'),
url(r'^slowquery/$', views.slowquery, name='slowquery'),
url(r'^sqladvisor/$', views.sqladvisor, name='sqladvisor'),
url(r'^slowquery_advisor/$', views.sqladvisor, name='slowquery_advisor'),
url(r'^queryapplylist/$', views.queryapplylist, name='queryapplylist'),
url(r'^queryapplydetail/(?P<apply_id>[0-9]+)/$', views.queryapplydetail, name='queryapplydetail'),
url(r'^queryuserprivileges/$', views.queryuserprivileges, name='queryuserprivileges'),
url(r'^diagnosis_process/$', views.diagnosis_process, name='diagnosis_process'),
url(r'^diagnosis_sapce/$', views.diagnosis_sapce, name='diagnosis_sapce'),
url(r'^workflow/$', views.workflows, name='workflows'),
url(r'^workflowdetail/(?P<audit_id>[0-9]+)/$', views.workflowsdetail, name='workflowsdetail'),
url(r'^dbaprinciples/$', views.dbaprinciples, name='dbaprinciples'),
url(r'^charts/$', views.charts, name='charts'),
url(r'^authenticate/$', views_ajax.authenticateEntry, name='authenticate'),
url(r'^sqlworkflow/$', views_ajax.sqlworkflow, name='sqlworkflow'),
url(r'^simplecheck/$', views_ajax.simplecheck, name='simplecheck'),
url(r'^getMonthCharts/$', views_ajax.getMonthCharts, name='getMonthCharts'),
url(r'^getPersonCharts/$', views_ajax.getPersonCharts, name='getPersonCharts'),
url(r'^getOscPercent/$', views_ajax.getOscPercent, name='getOscPercent'),
url(r'^getWorkflowStatus/$', views_ajax.getWorkflowStatus, name='getWorkflowStatus'),
url(r'^stopOscProgress/$', views_ajax.stopOscProgress, name='stopOscProgress'),
url(r'^sqladvisorcheck/$', views_ajax.sqladvisorcheck, name='sqladvisorcheck'),
url(r'^workflowlist/$', views_ajax.workflowlist, name='workflowlist'),
url(r'^getClusterList/$', query.getClusterList, name='getClusterList'),
url(r'^getdbNameList/$', query.getdbNameList, name='getdbNameList'),
url(r'^getTableNameList/$', query.getTableNameList, name='getTableNameList'),
url(r'^getColumnNameList/$', query.getColumnNameList, name='getColumnNameList'),
url(r'^getqueryapplylist/$', query.getqueryapplylist, name='getqueryapplylist'),
url(r'^getuserprivileges/$', query.getuserprivileges, name='getuserprivileges'),
url(r'^applyforprivileges/$', query.applyforprivileges, name='applyforprivileges'),
url(r'^modifyqueryprivileges/$', query.modifyqueryprivileges, name='modifyqueryprivileges'),
url(r'^queryprivaudit/$', query.queryprivaudit, name='queryprivaudit'),
url(r'^query/$', query.query, name='query'),
url(r'^querylog/$', query.querylog, name='querylog'),
url(r'^explain/$', query.explain, name='explain'),
url(r'^slowquery_review/$', query.slowquery_review, name='slowquery_review'),
url(r'^slowquery_review_history/$', query.slowquery_review_history, name='slowquery_review_history'),
url(r'^process_status/$', views_ajax.process_status, name='process_status'),
url(r'^create_kill_session/$', views_ajax.create_kill_session,name='create_kill_session'),
url(r'^kill_session/$', views_ajax.kill_session, name='kill_session'),
url(r'^sapce_status/$', views_ajax.tablesapce, name='tablesapce'),
url(r'^del_sqlcronjob/$', jobs.del_sqlcronjob, name='del_sqlcronjob'),
]