|
|
@ -112,6 +112,7 @@ public class APIManagementProviderServiceImpl implements APIManagementProviderSe
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, APIInfo> uniqueApiSet = new HashMap<>();
|
|
|
|
Map<String, APIInfo> uniqueApiSet = new HashMap<>();
|
|
|
|
|
|
|
|
if (tags != null) {
|
|
|
|
for (String tag : tags) {
|
|
|
|
for (String tag : tags) {
|
|
|
|
Map<String, String> queryParams = new HashMap<>();
|
|
|
|
Map<String, String> queryParams = new HashMap<>();
|
|
|
|
queryParams.put("tag", tag);
|
|
|
|
queryParams.put("tag", tag);
|
|
|
@ -119,6 +120,7 @@ public class APIManagementProviderServiceImpl implements APIManagementProviderSe
|
|
|
|
APIInfo[] apiInfos = consumerRESTAPIServices.getAllApis(apiApplicationInfo, queryParams, headerParams);
|
|
|
|
APIInfo[] apiInfos = consumerRESTAPIServices.getAllApis(apiApplicationInfo, queryParams, headerParams);
|
|
|
|
Arrays.stream(apiInfos).forEach(apiInfo -> uniqueApiSet.putIfAbsent(apiInfo.getName(), apiInfo));
|
|
|
|
Arrays.stream(apiInfos).forEach(apiInfo -> uniqueApiSet.putIfAbsent(apiInfo.getName(), apiInfo));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
List<APIInfo> uniqueApiList = new ArrayList<>(uniqueApiSet.values());
|
|
|
|
List<APIInfo> uniqueApiList = new ArrayList<>(uniqueApiSet.values());
|
|
|
|
|
|
|
|
|
|
|
|