报表字典补充
This commit is contained in:
@@ -353,6 +353,7 @@ public final class Constants {
|
||||
//日志查询接口URL
|
||||
public static final String LOG_BASE_URL = Configurations.getStringProperty("logBaseUrl","");
|
||||
public static final String NTC_SERVICE_REPORT=Configurations.getStringProperty("ntcServiceReport","ntcServiceReport");
|
||||
public static final String NTC_ATTRTYPE_REPORT=Configurations.getStringProperty("ntcAttrTypeReport","ntcAttrTypeReport");
|
||||
public static final String NTC_TAG_REPORT=Configurations.getStringProperty("ntcTagReport","ntcTagReport");
|
||||
public static final String NTC_PZ_REPORT=Configurations.getStringProperty("ntcPzReport","ntcPzReport");
|
||||
public static final String NTC_NTC_SRCIP_REPORT=Configurations.getStringProperty("ntcSrcipDomesticReport","ntcSrcipDomesticReport");
|
||||
|
||||
@@ -68,7 +68,7 @@ public class NtcXzReportController extends BaseController {
|
||||
model.addAttribute("titles", titles);
|
||||
try {
|
||||
ReportResult<NtcAttrTypeReport> result=new ReportResult<>();
|
||||
StringBuffer url=new StringBuffer(Constants.LOG_BASE_URL+Constants.NTC_TAG_REPORT);
|
||||
StringBuffer url=new StringBuffer(Constants.LOG_BASE_URL+Constants.NTC_ATTRTYPE_REPORT);
|
||||
Gson gson=Constants.gsonbuilder.create();
|
||||
String json=result.getReport(url.toString(), bean);
|
||||
result = gson.fromJson(json, new TypeToken<ReportResult<NtcAttrTypeReport>>() {
|
||||
|
||||
@@ -230,6 +230,11 @@ logBaseUrl=http://10.0.6.242:8080/galaxy/service/log/v1/
|
||||
ntcPzReport=ntcPzReport
|
||||
ntcServiceReport=ntcServiceReport
|
||||
ntcTagReport=ntcTagReport
|
||||
ntcAttrTypeReport=ntcAttrTypeReport
|
||||
ntcLwhhReport=ntcLwhhReport
|
||||
ntcSrcipDomesticReport=ntcSrcipDomesticReport
|
||||
ntcDestipCountryReport=ntcDestipCountryReport
|
||||
ntcEntranceReport=ntcEntranceReport
|
||||
ntcIpLog=ntcIpLogs
|
||||
ntcHttpLog=ntcHttpLogs
|
||||
ntcDnsLog=ntcDnsLogs
|
||||
|
||||
Reference in New Issue
Block a user