|
|
|
@@ -51,12 +51,14 @@ public class AimServiceImpl implements AimService { |
|
|
|
experimentName = "experiment-" + experimentId + "-evaluate"; |
|
|
|
} |
|
|
|
|
|
|
|
StringBuffer query = new StringBuffer("run.experiment==\"" + experimentName + "\"" + "&limit=" + limit); |
|
|
|
StringBuffer query = new StringBuffer("run.experiment==\"" + experimentName + "\""); |
|
|
|
|
|
|
|
String encodedUrlString = URLEncoder.encode(String.valueOf(query), "UTF-8"); |
|
|
|
encodedUrlString = encodedUrlString + "&limit=" + limit; |
|
|
|
if (StringUtils.isNotEmpty(offset)) { |
|
|
|
query.append("&offset=").append(offset); |
|
|
|
encodedUrlString = encodedUrlString + "&offset=" + offset; |
|
|
|
} |
|
|
|
|
|
|
|
String encodedUrlString = URLEncoder.encode(String.valueOf(query), "UTF-8"); |
|
|
|
String url = aimProxyUrl + "/api/runs/search/run?query=" + encodedUrlString; |
|
|
|
String s = HttpUtils.sendGet(url, null); |
|
|
|
List<Map<String, Object>> response = JacksonUtil.parseJSONStr2MapList(s); |
|
|
|
|