|
|
|
@ -4,6 +4,7 @@ import java.util.HashMap;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
import org.gcube.common.authorization.utils.manager.SecretManagerProvider;
|
|
|
|
|
import org.gcube.gcat.persistence.ckan.CKANUserCache;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
|
|
@ -52,6 +53,11 @@ public class CatalogueConfigurationFactory {
|
|
|
|
|
GCoreISConfigurationProxy gCoreISConfigurationProxy = new GCoreISConfigurationProxy(context, catalogueConfiguration);
|
|
|
|
|
catalogueConfiguration = gCoreISConfigurationProxy.createOrUpdateOnIS();
|
|
|
|
|
catalogueConfigurations.put(context, catalogueConfiguration);
|
|
|
|
|
|
|
|
|
|
// The supported organizations could be changed we need to empty the user cache for the context
|
|
|
|
|
// to avoid to miss to add an user in an organization which has been added.
|
|
|
|
|
CKANUserCache.emptyUserCache();
|
|
|
|
|
|
|
|
|
|
return catalogueConfiguration;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|