Merge pull request #1230 from charithag/master

Fixed exception in subscribing APIs
revert-70aa11f8
Dharmakeerhi Lasantha 7 years ago committed by GitHub
commit 33bcbb6b9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -1374,9 +1374,9 @@ paths:
OK.
Successful response with the newly created objects as entity in the body.
schema:
$ref: '#/definitions/Subscription'
type: array
items:
type: array
$ref: '#/definitions/Subscription'
headers:
Content-Type:
description: |

Loading…
Cancel
Save