Merge pull request #1227 from geethkokila/master

Add a temporary fix for api subscription issue
revert-70aa11f8
Geeth 7 years ago committed by GitHub
commit 3d4a3ed105
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -155,7 +155,12 @@ public class APIManagementProviderServiceImpl implements APIManagementProviderSe
}
}
if (!needToSubscribe.isEmpty()) {
storeClient.getSubscriptionMultitpleApi().subscriptionsMultiplePost(needToSubscribe, CONTENT_TYPE);
// TODO: Fix this properly
try {
storeClient.getSubscriptionMultitpleApi().subscriptionsMultiplePost(needToSubscribe, CONTENT_TYPE);
} catch (Exception e){
log.warn("Please check the API subscriptions.");
}
}
//end of subscription

Loading…
Cancel
Save