This commit is contained in:
Lucio Lelii 2018-10-16 09:57:30 +00:00
parent 7cb8617529
commit 8447bd6fb5
1 changed files with 2 additions and 0 deletions

View File

@ -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);