From 0dfdafe759f50060c39581e68b08333c4512edf7 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期五, 28 三月 2025 13:31:50 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/collector/HttpCollector.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/collector/HttpCollector.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/collector/HttpCollector.java index ff3c092..6d2a18e 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/collector/HttpCollector.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/channel/http/collector/HttpCollector.java @@ -8,6 +8,7 @@ import com.iailab.framework.common.constant.CommonConstant; import com.iailab.module.data.channel.http.collector.asdb.HttpCollectorForAsdb; +import com.iailab.module.data.channel.http.collector.asdb.HttpCollectorForAsde; import com.iailab.module.data.channel.http.collector.ihdb.HttpCollectorForIhd; import com.iailab.module.data.channel.http.entity.HttpApiEntity; import com.iailab.module.data.channel.http.service.HttpApiService; @@ -33,6 +34,12 @@ @Autowired private HttpCollectorForAsdb httpCollectorForAsdb; + @Autowired + private HttpCollectorForAsde httpCollectorForAsde; + + @Autowired + private HttpCollectorForAsde httpCollectorForAsdc; + public Object getTagValue(String apiId, String tag) { HttpApiEntity httpApi = httpApiService.getFromCatch(apiId); if (httpApi == null) { @@ -45,6 +52,10 @@ valueMap = httpCollectorForIhd.getLastValues(apiId, tagNames); } else if (SourceApiEnum.ASDB.getCode().equals(httpApi.getCode())) { valueMap = httpCollectorForAsdb.getTagValues(apiId, tagNames); + } else if (SourceApiEnum.ASDE.getCode().equals(httpApi.getCode())) { + valueMap = httpCollectorForAsde.getTagValues(apiId, tagNames); + } else if (SourceApiEnum.ASDC.getCode().equals(httpApi.getCode())) { + valueMap = httpCollectorForAsdc.getTagValues(apiId, tagNames); } if (valueMap.get(tag) == null) { return CommonConstant.BAD_VALUE; -- Gitblit v1.9.3