ref #11879: TDM - Update to StorageHUB

https://support.d4science.org/issues/#11879

Updated to StorageHub



git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@171483 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2018-09-17 09:29:41 +00:00
parent e5be88924f
commit 616b3a274a
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ public class FilesStorage {
logger.debug("CreateItemOnWorkspaceByStorageId: [storageId=" + storageId + ", user=" + user + ", name="
+ name + ", description=" + description + ", mimeType=" + mimetype + ", folderId=" + folderId
+ "]");
IClient client = new StorageClient(user, AccessType.PUBLIC, MemoryType.VOLATILE).getClient();
IClient client = new StorageClient(user, AccessType.PUBLIC, MemoryType.PERSISTENT).getClient();
try (InputStream is = client.get().RFileAsInputStream(storageId)) {
if(is==null){