HttpUriContants.java 4.31 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_ID = "/user/getUserById";
    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_DELETE_ID = "/user/deleteById";
    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";
}