package cn.ksource.core.config;
|
|
import java.util.LinkedHashMap;
|
import java.util.Map;
|
|
public class ConfigConstants {
|
|
/**
|
* 子系统标识-服务台
|
*/
|
public static final String Sub_System_Key_ServiceCenter="System_Service_Center";
|
|
/**
|
* 子系统标识-知识库
|
*/
|
public static final String Sub_System_Key_Knowledge="System_Knowledge";
|
|
/**
|
* 子系统标识-配置库
|
*/
|
public static final String Sub_System_Key_CMDB="System_CMDB";
|
|
/**
|
* 子系统标识-用户中心
|
*/
|
public static final String Sub_System_Key_UserCenter="System_UserCenter";
|
|
/**
|
* 子系统标识-消息总线
|
*/
|
public static final String Sub_System_Key_MessageQueue="System_MessageQueue";
|
|
public static final Map<String, String> Sub_System_Map = new LinkedHashMap<String, String>();
|
static {
|
Sub_System_Map.put(Sub_System_Key_ServiceCenter, "服务台");
|
Sub_System_Map.put(Sub_System_Key_Knowledge, "知识库");
|
Sub_System_Map.put(Sub_System_Key_CMDB, "配置库");
|
Sub_System_Map.put(Sub_System_Key_UserCenter, "用户中心");
|
Sub_System_Map.put(Sub_System_Key_MessageQueue, "消息总线");
|
}
|
|
public static String getSub_System_Label(String key){
|
return Sub_System_Map.get(key);
|
}
|
|
|
/**
|
* 生成消息执行结果-正确
|
*/
|
public final static String MessageQueue_Result_Success = "MQ_SUCCESS";
|
/**
|
* 生成消息执行结果-失败
|
*/
|
public final static String MessageQueue_Result_Failure = "MQ_FAILURE";
|
|
}
|