HttpUriContants.java
5.65 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
package com.ui.contants;
/**
* Created by zhengyouwei on 2016/6/14.
*/
public class HttpUriContants {
/***
* 机组信息
****/
public static final String HOST_GROUP_GETALL = "/hostGroup/getHostGroups";
public static final String HOST_GROUP_SAVE = "/hostGroup/saveHostGroup";
public static final String HOST_GROUP_DELETE = "/hostGroup/delHostGroup";
public static final String HOST_ALL_GROUPS = "/hostGroup/getAllGroups";
/***
* 机组信息
****/
//类型信息
public static String TYPE_GET_ALL = "/type/query";
public static String TYPE_ADD = "/type/add";
public static String TYPE_DEL = "/type/delete";
public static String TYPE_UPDATE = "/type/update";
public static String TYPE_QUERY_NODE = "/type/queryNode";
public static String TYPE_QUERY_JAVAAPI = "/type/queryJavaApi";
public static String TYPE_GET_ZKTREE = "/type/queryZk";
/***
* 主机信息
****/
public static final String GET_HOST_INFOS = "/hostInfo/getHostInfos";
public static final String SAVE_HOST_INFOS = "/hostInfo/saveHostInfo";
public static final String DEL_HOST_INFOS = "/hostInfo/delHostInfo";
public static final String GET_HOST_INFO_BY_ID = "/hostInfo/getHostInfoById";
/***
* 主机信息
****/
//java服务信息
public static final String JAVA_API_GET = "/javaApi/query";
public static final String JAVA_API_DEL = "/javaApi/del";
public static final String JAVA_API_SAVE = "/javaApi/save";
public static final String JAVA_API_STATUS = "/javaApiStatus/query";
public static final String JAVA_API_HIS = "/javaApiStatus/queryhis";
public static final String JAVA_API_STATUS_ALL = "/javaApiStatus/queryAll";
public static final String JAVA_API_TASK_TEST = "/javaApiStatus/tasktest";
public static final String JAVA_API_DETAILS = "/javaApi/apiDetails";
/***
* ZK监控信息查询
****/
public static final String GET_ZK_INFO = "/zkMonitor/getZkMonitorRecords";
public static final String GET_ZK_TREE = "/zkMonitor/getZkMonitorTree";
public static final String GET_ZK_DETAIL = "/zkMonitor/getZkMonitorDetail";
public static final String EDIT_ZK_DETAIL = "/zkMonitor/editZkMonitorDetail";
public static final String EDIT_ZK_ROOT = "/zkMonitor/editZkMonitorRoot";
/***
* redis监控信息查询
****/
public static final String GET_REDIS_INFO = "/redisMonitor/getRedisInfo";
/**
* user
*/
public static final String GET_All_USER = "/user/getAllUser";
public static final String GET_USER_BY_NAME = "/user/getUserByName";
public static final String GET_USERS = "/user/getUsers";
public static final String GET_USER_BY_ROLE = "/user/getUsersByRole";
public static final String USER_INSERT = "/user/insert";
public static final String USER_UPDATE_PWD = "/user/updatePwd";
public static final String USER_UPDATE = "/user/update";
public static final String USER_DELETE_NAME = "/user/deleteByName";
public static final String USER_OPERATE = "/user/operate";
/**
* module
*/
public static final String GET_All_MODULE= "/module/getAll";
public static final String MODULE_INSERT= "/module/insert";
public static final String MODULE_UPDATE= "/module/updateLevel";
public static final String MODULE_GET_BYNAME= "/module/getAuthModuleByName";
public static final String GET_MODULES= "/module/getAuthModules";
public static final String MODULE_DELETE_NAME = "/module/deleteByName";
/**
* nginxswitch
*/
public static final String VIEW_NGINX_CONF= "/nginxswitch/viewNginxConf";
public static final String SWITCH_NGINX= "/nginxswitch/switchNginxConf";
/**
* luaswitch
*/
public static final String VIEW_LUA_CONF= "/luaswitch/viewConf";
public static final String SWITCH_LUA= "/luaswitch/switchConf";
/**
* dnspod
*/
public static final String VIEW_DNSPOD= "/dnspod/getDnsList";
public static final String DNS_SWITCH_BEFORE= "/dnspod/initSwitch";
public static final String SWITCH_DNS= "/dnspod/doSwitch";
public static final String VALIDE_TOKEN= "/dnspod/validateAPIToken";
/**
* dns monitor
*/
public static final String DNS_MONITOR_CURRENT = "/other/dns_monitor/current";
public static final String DNS_MONITOR_HISTORY = "/other/dns_monitor/history";
/***
* 机组信息
****/
public static final String TASK__GETALL = "/taskConfigure/getTaskConfigure";
public static final String TASK__SAVE = "/taskConfigure/saveTaskModel";
public static final String TASK__DELETE = "/taskConfigure/delTaskModel";
public static final String TASK__GET_ID = "/taskConfigure/getTaskModelById";
public static final String GET_DEGRADE_INFO = "/degrade/getList";
public static final String EDIT_DEGRADE_INFO = "/degrade/change";
/**
* 工单系统
*/
public static final String GET_RELEASEWORKJOBS = "/releaseWork/getReleaseWorkJobs";
public static final String GET_RELEASEWORKJOB_ID = "/releaseWork/getReleaseWorkJob";
public static final String CREATE_RELEASEWORKJOB = "/releaseWork/createReleaseWorkJob";
public static final String GET_HANDLED_JOBS = "/handledWork/getHandledJobs";
public static final String HANDLE_JOB = "/handledWork/dealWorkJob";
public static final String GET_PENDING_JOBS = "/pendingWork/getPendingJobs";
public static final String GET_PENDING_JOB_BYUSER = "/pendingWork/getPendingJobByUser";
public static final String CHECK_RELEASE_ROLE = "/releaseWork/checkRole";
public static final String GET_WORKJOBS = "/works/getWorkJobs";
public static final String GET_WORKJOB_ID = "/works/getWorkJob";
}