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

merge-requests/7/head
Megala 8 years ago
parent 29bf6f25cf
commit d4e9c43ff1

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

Loading…
Cancel
Save