diff --git a/src/main/java/com/nis/web/controller/dashboard/TrafficStatisticsReportController.java b/src/main/java/com/nis/web/controller/dashboard/TrafficStatisticsReportController.java index fcdf92466..2ea116e9f 100644 --- a/src/main/java/com/nis/web/controller/dashboard/TrafficStatisticsReportController.java +++ b/src/main/java/com/nis/web/controller/dashboard/TrafficStatisticsReportController.java @@ -34,6 +34,7 @@ import com.nis.domain.log.BaseLogEntity; import com.nis.domain.maat.LogRecvData; import com.nis.domain.report.NtcAsnRecord; import com.nis.domain.report.NtcIpRangeReport; +import com.nis.util.Configurations; import com.nis.util.Constants; import com.nis.util.DateUtils; import com.nis.util.StringUtil; @@ -69,7 +70,7 @@ public class TrafficStatisticsReportController extends BaseController { if ("3".endsWith(searchBusinessType)) { model.addAttribute("searchBusinessType", 3);// IP查询 } - String url = Constants.DASHBOARD_URL + Constants.NTC_RADIUS_REPORT; + String url = Configurations.getStringProperty("dashboardUrlV2","dashboardUrlV2") + Constants.NTC_RADIUS_REPORT; String statTime = bean.getSearchFoundStartTime(); String endTime = bean.getSearchFoundEndTime(); String account = bean.getAccount(); @@ -221,7 +222,7 @@ public class TrafficStatisticsReportController extends BaseController { if ("3".endsWith(searchBusinessType)) { model.addAttribute("searchBusinessType", 3);// IP查询 } - String url = Constants.DASHBOARD_URL + Constants.NTC_RADIUS_REPORT; + String url = Configurations.getStringProperty("dashboardUrlV2","dashboardUrlV2")+ Constants.NTC_RADIUS_REPORT; String statTime = bean.getSearchFoundStartTime(); String endTime = bean.getSearchFoundEndTime(); String account = bean.getAccount(); diff --git a/src/main/java/com/nis/web/service/configuration/AppCfgService.java b/src/main/java/com/nis/web/service/configuration/AppCfgService.java index 543ddaee9..32d8d0b49 100644 --- a/src/main/java/com/nis/web/service/configuration/AppCfgService.java +++ b/src/main/java/com/nis/web/service/configuration/AppCfgService.java @@ -1025,7 +1025,7 @@ public class AppCfgService extends BaseService { if(StringUtil.isEmpty(entity.getUserRegion4())){ userRegion+=Constants.USER_REGION_SPLIT +Constants.APP_VIGNORE_USER_REGION_KEY+"=1"; } - + userRegion+=Constants.USER_REGION_SPLIT+"config_id="+entity.getCompileId(); maatCfg.setUserRegion(userRegion); configCompileList.add(maatCfg); maatBean.setConfigCompileList(configCompileList); diff --git a/src/main/resources/messages/message_en.properties b/src/main/resources/messages/message_en.properties index 0f21fa468..92f369ada 100644 --- a/src/main/resources/messages/message_en.properties +++ b/src/main/resources/messages/message_en.properties @@ -1434,4 +1434,5 @@ max_length=Maximum Length min_length=Minimum Length length_error=Length Error duplicate=Duplicate -print=Print \ No newline at end of file +print=Print +traffic_connect_log=Traffic Log \ No newline at end of file diff --git a/src/main/resources/messages/message_ru.properties b/src/main/resources/messages/message_ru.properties index ca57c9641..cb611cd04 100644 --- a/src/main/resources/messages/message_ru.properties +++ b/src/main/resources/messages/message_ru.properties @@ -1438,4 +1438,5 @@ max_length=Maximum Length min_length=Minimum Length length_error=Length Error duplicate=Duplicate -print=Print \ No newline at end of file +print=Print +traffic_connect_log=\u041B\u043E\u0433 \u0422\u0440\u0430\u0444\u0438\u043A\u0430 \ No newline at end of file diff --git a/src/main/resources/messages/message_zh_CN.properties b/src/main/resources/messages/message_zh_CN.properties index 0420f41c7..b91733406 100644 --- a/src/main/resources/messages/message_zh_CN.properties +++ b/src/main/resources/messages/message_zh_CN.properties @@ -1434,4 +1434,5 @@ max_length=\u6700\u5927\u957f\u5ea6 min_length=\u6700\u5c0f\u957f\u5ea6 length_error=\u957f\u5ea6\u9519\u8bef duplicate=\u91cd\u590d\u7684 -print=\u6253\u5370 \ No newline at end of file +print=\u6253\u5370 +traffic_connect_log=\u9646\u826F\u65E5\u5FD7 \ No newline at end of file diff --git a/src/main/resources/nis.properties b/src/main/resources/nis.properties index 526c280c6..04e37ebf4 100644 --- a/src/main/resources/nis.properties +++ b/src/main/resources/nis.properties @@ -219,14 +219,14 @@ clusterBStartTime=1503504000725 isCommit=true ############################################################################################################################################ ############################################################################################################################################ -httpUrl=http://192.168.10.204:9999/galaxy-service/service/cfg/v1/ +httpUrl=http://10.0.7.14:9999/galaxy-service/service/cfg/v1/ maatCfg=configSources fileUploadCfg=fileUploadSources callbackCfg=commonSources fileDigestCfg=fileDigestSources configIdSources=configPzIdSources #logBaseUrl=http://10.0.6.242:8080/galaxy-service/service/log/v1/ -logBaseUrl=http://192.168.10.204:9999/galaxy-service/service/log/v1/ +logBaseUrl=http://10.0.7.14:9999/galaxy-service/service/log/v1/ ntcPzReport=ntcPzReport ntcServiceReport=ntcServiceReport ntcTagReport=ntcTagReport @@ -273,7 +273,7 @@ logServiceTopn=logServiceTopn blockAndDropStat=blockAndDropStat ######################################## #\u5927\u5c4f\u56fe\u8868\u5c55\u793a\u670d\u52a1\u63a5\u53e3 -dashboardUrl=http://192.168.10.204:9999/galaxy-service/service/log/v1/ +dashboardUrl=http://10.0.7.14:9999/galaxy-service/service/log/v1/ trafficIpActive=trafficIpActive trafficProtocol=trafficProtocol trafficApp=trafficApp @@ -568,7 +568,7 @@ userPasswordSet=UserPasswordSet userDelete=UserDelete userGet=UserGet userList=UserList -ip_reuse_call_cgi_url=http://192.168.11.137:8090/command +ip_reuse_call_cgi_url=http://10.4.10.32:8090/command ipNumGet=IpNumGet allIpGet=AllIpGet #\u6d41\u91cf\u7edf\u8ba1\u5e26\u5bbd\u8be6\u60c5 @@ -580,7 +580,7 @@ trafficBandwidthTrans=trafficBandwidthTrans trafficProtocolList=trafficProtocolList trafficAppList=trafficAppList ntcActionEntranceReport=ntcActionEntranceReport -redis.host=192.168.10.192:6379 +redis.host=10.0.4.2:6379 redis.expire=1800 redis.timeout=10000 dns_spoofing_ip_desc=Default Spoofing IP @@ -608,4 +608,5 @@ trendTotalReport=trendTotalReport #\u4e8b\u4ef6\u76d1\u6d4b/\u5c01\u5835 ntcEventsMonitorOrBlock=ntcEventsMonitorOrBlock #\u91cd\u70b9\u4fdd\u969c\u4e8b\u4ef6 -ntcEventKeyProtection=ntcEventKeyProtection \ No newline at end of file +ntcEventKeyProtection=ntcEventKeyProtection +dashboardUrlV2=http://10.0.7.14:9999/galaxy-service/service/log/v2/ \ No newline at end of file diff --git a/src/main/resources/service/service_config.xml b/src/main/resources/service/service_config.xml index 7765259a9..aed738777 100644 --- a/src/main/resources/service/service_config.xml +++ b/src/main/resources/service/service_config.xml @@ -304,6 +304,7 @@ +