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:
parent
e5be88924f
commit
616b3a274a
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue