21411 #2

Merged
francesco.mangiacrapa merged 7 commits from 21411 into master 2021-09-21 12:39:54 +02:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 4e9354930c - Show all commits

View File

@ -20,6 +20,7 @@ import org.apache.http.HttpStatus;
import org.gcube.contentmanagement.blobstorage.resource.MyFile;
import org.gcube.contentmanagement.blobstorage.service.IClient;
import org.gcube.contentmanager.storageclient.wrapper.AccessType;
import org.gcube.contentmanager.storageclient.wrapper.BackendType;
import org.gcube.contentmanager.storageclient.wrapper.MemoryType;
import org.gcube.contentmanager.storageclient.wrapper.StorageClient;
import org.gcube.datatransfer.resolver.ConstantsResolver;
@ -352,7 +353,7 @@ public class StorageIDResolver {
StorageClient client;
if(memory==null)
memory=MemoryType.PERSISTENT;
client=new StorageClient(StorageIDResolver.class.getName(), StorageIDResolver.class.getSimpleName(), STORAGEID_RESOLVER, AccessType.PUBLIC, memory);
client=new StorageClient(StorageIDResolver.class.getName(), StorageIDResolver.class.getSimpleName(), STORAGEID_RESOLVER, AccessType.PUBLIC, memory, BackendType.MongoDB);
return new StorageClientInstance(client, memory, storageId);
}