From 8447bd6fb5a812a1c6de4e88bf3c4974e26d7678 Mon Sep 17 00:00:00 2001 From: Lucio Lelii Date: Tue, 16 Oct 2018 09:57:30 +0000 Subject: [PATCH] git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/DataMiner@173502 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../synchserver/mapping/dataspace/DataspaceManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/DataspaceManager.java b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/DataspaceManager.java index 2d61f10..9ad25af 100644 --- a/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/DataspaceManager.java +++ b/src/main/java/org/gcube/dataanalysis/wps/statisticalmanager/synchserver/mapping/dataspace/DataspaceManager.java @@ -13,6 +13,7 @@ import java.util.List; import java.util.Map; import java.util.UUID; +import org.gcube.common.authorization.library.provider.AuthorizationProvider; import org.gcube.common.storagehub.client.dsl.FileContainer; import org.gcube.common.storagehub.client.dsl.FolderContainer; import org.gcube.common.storagehub.client.dsl.ItemContainer; @@ -446,6 +447,7 @@ public class DataspaceManager implements Runnable { gcubeItem.setScopes(scopes.toArray(new String[scopes.size()])); gcubeItem.setItemType(itemType); gcubeItem.setProperty(new Metadata(properties)); + gcubeItem.setCreator(AuthorizationProvider.instance.get().getClient().getId()); computationsContainer.newGcubeItem(gcubeItem);