HttpUriContants.java 14.2 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_USERS_ALL = "/user/getAllUser";
    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";

    public static final String APP_ADD_SEESION = "/user/appAddSession";
    public static final String APP_GET_SEESION = "/user/appGetSession";
    public static final String APP_REMOVE_SEESION = "/user/appRemoveSession";
    //获取人员的邮箱地址
    public static final String GET_EMAIL_BY_ALARM_GROUP = "/user/getEmailByAlarmGroup";

    /**
     * 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";
    public static final String GET_All_MODULEGROUP = "/module/getAllGroups";


    /**
     * 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";
    public static final String VIEW_NGINX_CURRENT_CONF = "/nginxswitch/viewCurrentConf";

    /**
     * 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";
    public static final String VIEW_CURRENT_CONF = "/luaswitch/viewCurrentConf";

    /**
     * nginx切换
     * 之
     * dnsswitch
     */
    public static final String NGINX_VIEW_DNS_CONF = "/luaswitch/dnsViewConf";
    public static final String NGINX_SWITCH_DNS = "/luaswitch/dnsSwitchConf";

    /**
     * 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_HYSTRIX_FUNCTION = "/hystrixInfo/getInitInfo";
    public static final String GET_HYSTRIX_INFO = "/hystrixInfo/getList";
    public static final String EDIT_HYSTRIX_INFO = "/hystrixInfo/change";

    public static final String GET_CACHE_FUNCTION = "/cacheInfo/getInitInfo";
    public static final String GET_CACHE_INFO = "/cacheInfo/getList";
    public static final String EDIT_CACHE_INFO = "/cacheInfo/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";
    public static final String CHECK_JOB_BY_OPERATOR = "/releaseWork/checkWorkJobByOperator";
    public static final String UPDATE_JOB_BY_OPERATOR = "/releaseWork/updateOperator";


    public static final String GET_SMSLOG = "/sms/getSmsLogsByMobile";

    //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 JAVA_RESTART_ALL = "/javaRestart/queryAll";
    public static final String JAVA_STOP_APP = "/javaRestart/appExe";



    //双中心切换
    public static final String CENTERSWITCH_GET = "/centerSwitch/getSwitchList";
    public static final String CENTERSWITCH_SWITCH = "/centerSwitch/doExe";
    public static final String CENTERSWITCH_SWITCH_CHECK_MYSQL_STATUS = "/centerSwitch/switchMysqlCheckStatus";
    public static final String CENTERSWITCH_SWITCH_CHECK = "/centerSwitch/doExeAndCheck";
    public static final String CENTERSWITCH_SWITCH_BEFORE = "/centerSwitch/doExeAndCheckBefore";
    public static final String CENTERSWITCH_SWITCH_SMS_CHECK = "/centerSwitch/checkSmsCode";
    //只是查看状态
    public static final String CENTERSWITCH_STATUS = "/centerSwitch/checkStatus";

    //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";
    public static final String JAVA_TIME_OUT_GET = "/newJavaApiInfo/queryTimeoutInfoListByIp";
    public static final String JAVA_TIME_OUT_INFO_GET = "/newJavaApiInfo/queryTimeoutInfoListByApiName";
    public static final String JAVA_ERROR_GET = "/newJavaApiInfo/queryErrorInfoListByIp";
    public static final String JAVA_ERROR_INFO_GET = "/newJavaApiInfo/queryErrorInfoListByApiName";

    //ABtest
    public static final String ABTEST_CONFIG_GET = "/abtestConfig/get";
    public static final String ABTEST_CONFIG_INSERT = "/abtestConfig/insert";
    public static final String ABTEST_CONFIG_UPDATE = "/abtestConfig/update";
    public static final String ABTEST_CONFIG_DELETE = "/abtestConfig/delete";
    public static final String ABTEST_CONFIG_DELETEKEYS = "/abtestConfig/deleteKeys";
    public static final String ABTEST_CONFIG_GETALLNAME = "/abtestConfig/getAllNames";
    public static final String ABTEST_CONFIG_COMMENTS = "/abtestConfig/selectComments";
    public static final String ABTEST_CONFIG_CHECKCONFIGBYID = "/abtestConfig/checkConfig";
    public static final String ABTEST_CONFIG_CHECKCONFIGS= "/abtestConfig/checkConfigs";


    public static final String ABTEST_TOTAL_GETALL = "/abtestTotal/getAll";
    public static final String ABTEST_TOTAL_INSERT = "/abtestTotal/insert";
    public static final String ABTEST_TOTAL_UPDATE = "/abtestTotal/update";
    public static final String ABTEST_TOTAL_DELETE = "/abtestTotal/delete";
    public static final String ABTEST_TOTAL_GETBYID= "/abtestTotal/getById";
    public static final String ABTEST_TOTAL_GETALLTYPES= "/abtestTotal/getAllTypes";
    public static final String ABTEST_TOTAL_FLUSH= "/abtestTotal/flush";
    public static final String ABTEST_TOTAL_GETZOOKEEPJSON= "/abtestTotal/getZookeepConfig";
    public static final String ABTEST_TOTAL_TESTUDID= "/abtestTotal/testUdid";
    public static final String ABTEST_TOTAL_GETSWITCHSTATUS= "/abtestTotal/getSwitchStatus";
    public static final String ABTEST_TOTAL_SWITCHSTATUS= "/abtestTotal/switchStatus";


    public static final String INTERNAL_DOMAIN_INSERT = "/internalDns/insert";
    public static final String INTERNAL_DOMAIN_UPDATE = "/internalDns/update";
    public static final String INTERNAL_DOMAIN_SELECTALL = "/internalDns/selectAll";
    public static final String INTERNAL_DOMAIN_DELBYID = "/internalDns/deleteById";
    public static final String INTERNAL_DOMAIN_REFRESH = "/internalDns/refresh";
    public static final String INTERNAL_DOMAIN_SELECTBYID = "/internalDns/selectById";
    public static final String INTERNAL_DOMAIN_HISTORY = "/internalDns/getHistory";

    /**
     * 配置管理
     * 恶意请求ip
     * 获取
     */
    public static final String GET_MALICIOUS_IP = "/maliciousIp/getIps";
    public static final String GET_MALICIOUS_DETAIL = "/maliciousIp/getDetail";
    public static final String GET_MALICIOUS_UPLOADIP = "/maliciousIp/uploadIp";
    public static final String GET_MALICIOUS_LOOKIP = "/maliciousIp/lookIps";
    public static final String GET_MALICIOUS_REMOVEIP = "/maliciousIp/removeIp";
    public static final String GET_MALICIOUS_IP_BL = "/maliciousIp/getIpsBL";
    public static final String GET_MALICIOUS_IP_CS = "/maliciousIp/getIpsCS";

    //告警组管理
    public static final String GET_ALARMGROUP_GET = "/alarmGroup/getAlarmGroup";
    public static final String GET_ALARMGROUP_ADD_OR_UPDATE = "/alarmGroup/addOrUpdateAlarmGroup";
    public static final String GET_ALARMGROUP_DELETE_BY_ID = "/alarmGroup/deleteAlarmGroupById";
    public static final String GET_ALARMGROUP_GET_ALL = "/alarmGroup/getAllAlarmGroup";

    /**
     * 云伸缩组信息查询
     */
    public static final String GET_CLOUD_AUTOSCALING_CONFIG = "/cloud/getAutoScalingConfig";
    /**
     * 修改伸缩组信息
     */
    public static final String GET_CLOUD_MODIFY_SCALING_GROUP = "/cloud/modifyScalingGroup";
    /**
     * 腾讯云:修改伸缩组后的下一个流程是查询伸缩活动
     * 亚马逊云待定
     */
    public static final String GET_CLOUD_DESCRIBE_SCALING_ACTIVITY = "/cloud/describeScalingActivity";

    /**
     * 腾讯云:根据实例id获取内网ip等信息
     * 亚马逊云待定
     */
    public static final String GET_QCLOUD_DESCRIBE_INSTANCES = "/cloud/describeInstances";

    /**
     * 部署完系统后,集成测试
     */
    public static final String GET_CLOUD_INTEGRATION_TEST = "/cloud/integrationTest";
}