ref 11720: DataMiner - Update to StorageHUB
https://support.d4science.org/issues/11720 Updated to StorageHub git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/data-miner-manager@171897 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c8568a2059
commit
71a6deffe4
|
@ -90,7 +90,7 @@ public class StorageUtil {
|
||||||
|
|
||||||
public ItemDownload getItemDownload(String user, String itemId) throws ServiceException {
|
public ItemDownload getItemDownload(String user, String itemId) throws ServiceException {
|
||||||
try {
|
try {
|
||||||
logger.debug("getInputStreamForItemOnWorkspace: [user=" + user + ", itemId=" + itemId + "]");
|
logger.debug("getItemDownload: [user=" + user + ", itemId=" + itemId + "]");
|
||||||
StorageHubClient shc = new StorageHubClient();
|
StorageHubClient shc = new StorageHubClient();
|
||||||
OpenResolver openResolver = shc.open(itemId);
|
OpenResolver openResolver = shc.open(itemId);
|
||||||
ItemContainer<Item> itemContainer = openResolver.asItem();
|
ItemContainer<Item> itemContainer = openResolver.asItem();
|
||||||
|
|
Loading…
Reference in New Issue