Fixing race condition in creating and subscribing application in api-manager side

revert-70aa11f8
Megala 8 years ago
parent 29bf6f25cf
commit d4e9c43ff1

@ -131,7 +131,7 @@ public class APIManagementProviderServiceImpl implements APIManagementProviderSe
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override @Override
public ApiApplicationKey generateAndRetrieveApplicationKeys(String apiApplicationName, String tags[], public synchronized ApiApplicationKey generateAndRetrieveApplicationKeys(String apiApplicationName, String tags[],
String keyType, String username, String keyType, String username,
boolean isAllowedAllDomains, String validityTime) boolean isAllowedAllDomains, String validityTime)
throws APIManagerException { throws APIManagerException {

Loading…
Cancel
Save