Fix the api publishing issue

This commit is contained in:
geethkokila 2018-03-14 23:05:50 +05:30
parent 5d1e4ed99e
commit 9dcc9d9ddc

View File

@ -129,6 +129,7 @@ public class APIManagementProviderServiceImpl implements APIManagementProviderSe
for (APIInfo apiInfo : apiList.getList()) {
String id = apiInfo.getProvider().replace("@", "-AT-")
+ "-" + apiInfo.getName() + "-" + apiInfo.getVersion();
id = id.replace(" ", "+");
boolean subscriptionExist = false;
if (subscriptionList.getList() != null && subscriptionList.getList().size() > 0) {
for (Subscription subs : subscriptionList.getList()) {