p2p配置部分提交.
This commit is contained in:
@@ -57,6 +57,10 @@ public class CfgIndexInfo extends BaseCfg<CfgIndexInfo> {
|
|||||||
private Long dnsStrategyId;
|
private Long dnsStrategyId;
|
||||||
private String dnsStrategyName;
|
private String dnsStrategyName;
|
||||||
|
|
||||||
|
private P2pHashCfg p2pHash;
|
||||||
|
private P2pKeywordCfg p2pKeyword;
|
||||||
|
private List<P2pHashCfg> p2pHashList;
|
||||||
|
private List<P2pKeywordCfg> p2pKeywordList;
|
||||||
|
|
||||||
public NtcSubscribeIdCfg getNtcSubscribeIdCfg() {
|
public NtcSubscribeIdCfg getNtcSubscribeIdCfg() {
|
||||||
return ntcSubscribeIdCfg;
|
return ntcSubscribeIdCfg;
|
||||||
@@ -209,6 +213,30 @@ public class CfgIndexInfo extends BaseCfg<CfgIndexInfo> {
|
|||||||
public void setDigestList(List<FileDigestCfg> digestList) {
|
public void setDigestList(List<FileDigestCfg> digestList) {
|
||||||
this.digestList = digestList;
|
this.digestList = digestList;
|
||||||
}
|
}
|
||||||
|
public P2pHashCfg getP2pHash() {
|
||||||
|
return p2pHash;
|
||||||
|
}
|
||||||
|
public void setP2pHash(P2pHashCfg p2pHash) {
|
||||||
|
this.p2pHash = p2pHash;
|
||||||
|
}
|
||||||
|
public P2pKeywordCfg getP2pKeyword() {
|
||||||
|
return p2pKeyword;
|
||||||
|
}
|
||||||
|
public void setP2pKeyword(P2pKeywordCfg p2pKeyword) {
|
||||||
|
this.p2pKeyword = p2pKeyword;
|
||||||
|
}
|
||||||
|
public List<P2pHashCfg> getP2pHashList() {
|
||||||
|
return p2pHashList;
|
||||||
|
}
|
||||||
|
public void setP2pHashList(List<P2pHashCfg> p2pHashList) {
|
||||||
|
this.p2pHashList = p2pHashList;
|
||||||
|
}
|
||||||
|
public List<P2pKeywordCfg> getP2pKeywordList() {
|
||||||
|
return p2pKeywordList;
|
||||||
|
}
|
||||||
|
public void setP2pKeywordList(List<P2pKeywordCfg> p2pKeywordList) {
|
||||||
|
this.p2pKeywordList = p2pKeywordList;
|
||||||
|
}
|
||||||
public static String getTablename() {
|
public static String getTablename() {
|
||||||
return tableName;
|
return tableName;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -482,6 +482,10 @@ public final class Constants {
|
|||||||
public static final String REDIRECT_RESPONSE_CODE_STARTWITH = Configurations.getStringProperty("redirect_response_code_startwith","30");
|
public static final String REDIRECT_RESPONSE_CODE_STARTWITH = Configurations.getStringProperty("redirect_response_code_startwith","30");
|
||||||
public static final String REPLACE_ZONE_KEY = Configurations.getStringProperty("replace_zone_key","zone");
|
public static final String REPLACE_ZONE_KEY = Configurations.getStringProperty("replace_zone_key","zone");
|
||||||
public static final String REPLACE_SUBSTITUTE_KEY = Configurations.getStringProperty("replace_substitute_key","substitute");
|
public static final String REPLACE_SUBSTITUTE_KEY = Configurations.getStringProperty("replace_substitute_key","substitute");
|
||||||
|
//P2P配置域
|
||||||
|
public static final String P2P_HASH_BIN_REGION = Configurations.getStringProperty("p2p_hash_bin_region","NTC_P2P_HASH_BIN");
|
||||||
|
public static final String P2P_KEYWORDS_REGION = Configurations.getStringProperty("p2p_keywords_region","NTC_P2P_KEYWORDS");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 样例文件URL关键字
|
* 样例文件URL关键字
|
||||||
*/
|
*/
|
||||||
@@ -560,6 +564,9 @@ public final class Constants {
|
|||||||
public static String HTTP_HEADER_DICT_MODULE=Configurations.getStringProperty("http_header_dict_module", "HTTP_HEADER_DISTRICT");
|
public static String HTTP_HEADER_DICT_MODULE=Configurations.getStringProperty("http_header_dict_module", "HTTP_HEADER_DISTRICT");
|
||||||
//DNS自定义域参数
|
//DNS自定义域参数
|
||||||
public static String DNS_STRATEGY_USER_REGION_KEY=Configurations.getStringProperty("dns_strategy_user_region_key", "DNS_STRATEGY");
|
public static String DNS_STRATEGY_USER_REGION_KEY=Configurations.getStringProperty("dns_strategy_user_region_key", "DNS_STRATEGY");
|
||||||
|
//P2P自定义域参数
|
||||||
|
public static String P2P_IP_TYPE_USER_REGION_KEY=Configurations.getStringProperty("p2p_ip_type_user_region_key", "P2P_IP_TYPE");
|
||||||
|
public static String P2P_HASH_TYPE_USER_REGION_KEY=Configurations.getStringProperty("p2p_hash_type_user_region_key", "P2P_HASH_TYPE");
|
||||||
|
|
||||||
//大屏统计分析查询接口URL
|
//大屏统计分析查询接口URL
|
||||||
public static final String DASHBOARD_URL = Configurations.getStringProperty("dashboardUrl","dashboardUrl");
|
public static final String DASHBOARD_URL = Configurations.getStringProperty("dashboardUrl","dashboardUrl");
|
||||||
|
|||||||
@@ -320,6 +320,8 @@ http_redirect_res_hdr_region=PXY_CTRL_HTTP_RES_HDR
|
|||||||
http_redirect_req_body_region=PXY_CTRL_HTTP_REQ_BODY
|
http_redirect_req_body_region=PXY_CTRL_HTTP_REQ_BODY
|
||||||
http_redirect_res_body_region=PXY_CTRL_HTTP_RES_BODY
|
http_redirect_res_body_region=PXY_CTRL_HTTP_RES_BODY
|
||||||
http_redirect_ip_region=PXY_CTRL_IP
|
http_redirect_ip_region=PXY_CTRL_IP
|
||||||
|
p2p_hash_bin_region=NTC_P2P_HASH_BIN
|
||||||
|
p2p_keywords_region=NTC_P2P_KEYWORDS
|
||||||
voip_ip=av_voip_ip
|
voip_ip=av_voip_ip
|
||||||
voip_account=av_voip_account
|
voip_account=av_voip_account
|
||||||
ssl_sni_region=ssl_sni
|
ssl_sni_region=ssl_sni
|
||||||
@@ -428,6 +430,9 @@ http_header_user_region_key=HTTP_HEADER
|
|||||||
http_header_dict_module=HTTP_HEADER_DISTRICT
|
http_header_dict_module=HTTP_HEADER_DISTRICT
|
||||||
#dns自定义域参数key
|
#dns自定义域参数key
|
||||||
dns_strategy_user_region_key=DNS_STRATEGY
|
dns_strategy_user_region_key=DNS_STRATEGY
|
||||||
|
#p2p自定义域key
|
||||||
|
p2p_ip_type_user_region_key=P2P_IP_TYPE
|
||||||
|
p2p_hash_type_user_region_key=P2P_HASH_TYPE
|
||||||
#特定服务类别
|
#特定服务类别
|
||||||
specific_service_cfg_type_app=social_app
|
specific_service_cfg_type_app=social_app
|
||||||
specific_service_cfg_type_encrypted_tunnel_behavior=encrypted_tunnel_behavior
|
specific_service_cfg_type_encrypted_tunnel_behavior=encrypted_tunnel_behavior
|
||||||
|
|||||||
Reference in New Issue
Block a user