HttpUriContants.java 7.64 KB
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 VIEW_TOCHANGE_NGINX_CONF = "/nginxswitch/viewToChangeNginxConf";
    public static final String SWITCH_NGINX = "/nginxswitch/switchNginxConf";

    /**
     * luaswitch
     */
    public static final String VIEW_LUA_CONF = "/luaswitch/viewConf";
    public static final String VIEW_TOCHANGE_LUA_CONF = "/luaswitch/viewToChangeLuaConf";
    public static final String SWITCH_LUA = "/luaswitch/switchConf";

    /**
     * lbswitch
     */
    public static final String VIEW_LB_CONF = "/lbswitch/viewConf";
    public static final String VIEW_TOCHANGE_LB_CONF = "/lbswitch/viewToChangeLbConf";
    public static final String SWITCH_LB = "/lbswitch/switchConf";

    /**
     * limitswitch
     */
    public static final String VIEW_LIMIT_CONF = "/limitswitch/viewConf";
    public static final String VIEW_TOCHANGE_LIMIT_CONF = "/limitswitch/viewToChangeLimitConf";
    public static final String SWITCH_LIMIT = "/limitswitch/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_FUNCTION = "/degrade/getInitInfo";
    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 CHECK_RELEASE_ROLE = "/releaseWork/checkRole";
    public static final String GET_DBWORKJOB_ID = "/dbWork/getDBWorkJob";
    public static final String CREATE_DBWORKJOB = "/dbWork/createDBWorkJob";
    public static final String CHECK_DB_ROLE = "/dbWork/checkRole";
    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 GET_WORKJOBS = "/works/getWorkJobs";

    //java服务重启
    public static final String JAVA_RESTART_GET = "/javaRestart/query";
    public static final String JAVA_RESTART_STATAUS = "/javaRestart/getProjectStatus";
    public static final String JAVA_STOP_RESTART = "/javaRestart/stopOrRestart";
    public static final String JAVA_GET_MESSAGE = "/javaRestart/getMessage";

    //双中心切换
    public static final String CENTERSWITCH_GET = "/centerSwitch/getSwitchList";
    public static final String CENTERSWITCH_SWITCH = "/centerSwitch/doExe";

    //java监控信息
    public static final String JAVA_MONITOR_GET = "/newJavaApiInfo/queryByServiceType";
    public static final String JAVA_GRAPH_GET = "/newJavaApiInfo/getJavaApiGraphByServiceType";
    public static final String JAVA_IP_LIST = "/newJavaApiInfo/getIPList";
    public static final String JAVA_API_LIST = "/newJavaApiInfo/queryByServiceTypeAndIP";
    public static final String JAVA_IP_API_LIST= "/newJavaApiInfo/queryByServiceTypeAndApiName";
    public static final String JAVA_API_GRAPH_GET = "/newJavaApiInfo/getServiceNameJavaApiGraph";

}