Removed old test

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@166937 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2018-04-12 12:46:43 +00:00
parent 629d14ad96
commit a82ec92870
1 changed files with 1 additions and 38 deletions

View File

@ -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<String, UUID> 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);
}
}
}