diff --git a/src/test/java/org/gcube/informationsystem/resourceregistry/context/ContextManagementTest.java b/src/test/java/org/gcube/informationsystem/resourceregistry/context/ContextManagementTest.java index c79891c..69f4077 100644 --- a/src/test/java/org/gcube/informationsystem/resourceregistry/context/ContextManagementTest.java +++ b/src/test/java/org/gcube/informationsystem/resourceregistry/context/ContextManagementTest.java @@ -1,9 +1,7 @@ package org.gcube.informationsystem.resourceregistry.context; import java.io.IOException; -import java.util.HashMap; import java.util.List; -import java.util.Map; import java.util.UUID; import org.gcube.informationsystem.impl.embedded.HeaderImpl; @@ -496,7 +494,7 @@ public class ContextManagementTest extends ScopedTest { delete(context); } - // @Test + @Test public void createDevContext() throws Exception { Context gcube = new ContextImpl("gcube"); gcube = create(gcube); @@ -526,39 +524,4 @@ public class ContextManagementTest extends ScopedTest { preVRE = create(preVRE); } - // @Test - public void createPARTHENOSContext() throws Exception { - // /d4science.research-infrastructures.eu/ParthenosVO/PARTHENOS_Registry - - Context d4science = new ContextImpl("d4science.research-infrastructures.eu"); - create(d4science); - - Context parthenosVO = new ContextImpl("ParthenosVO"); - parthenosVO.setParent(d4science); - create(parthenosVO); - - Context parthenosRegistry = new ContextImpl("PARTHENOS_Registry"); - parthenosRegistry.setParent(parthenosVO); - create(parthenosRegistry); - - } - - // @Test - public void createProductionMissingContext() throws Exception { - UUID d4ResearchUUID = UUID.fromString("8b926d1c-4460-4d7a-adab-c75ad2770a21"); - UUID farmUUID = UUID.fromString("dbafdb3e-f7f9-4039-ad1c-3432c041f53c"); - - Map contexts = new HashMap<>(); - contexts.put("ICES_FIACO2017", d4ResearchUUID); - contexts.put("D4STeam", farmUUID); - - for (String contextName : contexts.keySet()) { - Context parent = read(contexts.get(contextName)); - Context context = new ContextImpl(contextName); - context.setParent(parent); - create(context); - } - - } - }