Refs #11288: Made resource-registry more RESTful
Task-Url: https://support.d4science.org/issues/11288 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/resource-registry-database-creator@167856 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
40b0aac5e5
commit
6b3b65120f
|
@ -1,6 +1,5 @@
|
||||||
package org.gcube.informationsystem.resourceregistry.context;
|
package org.gcube.informationsystem.resourceregistry.context;
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
|
@ -50,14 +49,8 @@ public class ContextManagementTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void createProductionContext() throws Exception {
|
public void createProductionContext() throws Exception {
|
||||||
File src = new File("src");
|
|
||||||
File test = new File(src, "test");
|
|
||||||
File resources = new File(test, "resources");
|
|
||||||
|
|
||||||
File voFile = new File(resources, "scopedata.xml");
|
|
||||||
|
|
||||||
ContextCreator contextCreator = new ContextCreator();
|
ContextCreator contextCreator = new ContextCreator();
|
||||||
contextCreator.all(voFile);
|
contextCreator.all();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue