|
|
@ -153,12 +153,14 @@ public class APIManagementProviderServiceImpl implements APIManagementProviderSe
|
|
|
|
subscription.setApiIdentifier(id);
|
|
|
|
subscription.setApiIdentifier(id);
|
|
|
|
subscription.setApplicationId(application.getApplicationId());
|
|
|
|
subscription.setApplicationId(application.getApplicationId());
|
|
|
|
subscription.tier(ApiApplicationConstants.DEFAULT_TIER);
|
|
|
|
subscription.tier(ApiApplicationConstants.DEFAULT_TIER);
|
|
|
|
|
|
|
|
if (!needToSubscribe.contains(subscription)){
|
|
|
|
needToSubscribe.add(subscription);
|
|
|
|
needToSubscribe.add(subscription);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
if (!needToSubscribe.isEmpty()) {
|
|
|
|
if (!needToSubscribe.isEmpty()) {
|
|
|
|
storeClient.getSubscriptionMultitpleApi().subscriptionsMultiplePost(needToSubscribe, CONTENT_TYPE);
|
|
|
|
storeClient.getSubscriptionMultitpleApi().subscriptionsMultiplePost(needToSubscribe, CONTENT_TYPE);
|
|
|
|
}
|
|
|
|
}
|
|
|
|