Merge pull request #1226 from geethkokila/master

Fix the api publishing issue
revert-70aa11f8
Dharmakeerhi Lasantha 7 years ago committed by GitHub
commit e9e7368b55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save