From 5cfd2729c055bd02df574076b6d8a86cf2197782 Mon Sep 17 00:00:00 2001 From: mconway Date: Thu, 17 Jul 2014 08:28:11 -0400 Subject: [PATCH] #2 metadata templates project created --- .../src/test/resources/testing.properties | 8 +-- metadata-templates/pom.xml | 57 +++++++++++++++++++ .../irods/jargon/metadatatemplate/App.java | 13 +++++ .../jargon/metadatatemplate/AppTest.java | 38 +++++++++++++ pom.xml | 6 +- 5 files changed, 115 insertions(+), 7 deletions(-) create mode 100644 metadata-templates/pom.xml create mode 100644 metadata-templates/src/main/java/org/irods/jargon/metadatatemplate/App.java create mode 100644 metadata-templates/src/test/java/org/irods/jargon/metadatatemplate/AppTest.java diff --git a/dot-irods-utilities/src/test/resources/testing.properties b/dot-irods-utilities/src/test/resources/testing.properties index be4288d..1c013a4 100644 --- a/dot-irods-utilities/src/test/resources/testing.properties +++ b/dot-irods-utilities/src/test/resources/testing.properties @@ -1,5 +1,5 @@ test.confirm=true - test.data.directory=C:/temp/irodsscratch/ + test.data.directory=/Users/mikeconway/temp/irodsscratch/ test.irods.admin=rods test.irods.admin.password=test test.irods.user=test1 @@ -11,11 +11,11 @@ test.confirm=true test3.irods.user=test3 test3.irods.password=test test3.irods.resource=test1-resc2 - test.irods.host=fedZone1 + test.irods.host=localhost test.irods.port=1247 - test.irods.zone=fedZone1 + test.irods.zone=test1 test.resource.group=testResourceGroup test.irods.userDN=test1DN test.irods.scratch.subdir=jargon-scratch - test.mac.icommand.path=${jargon.test.mac.icommand.path} + test.mac.icommand.path=/opt/iRODS/iRODS2.5/iRODS/clients/icommands/bin/ test.option.exercise.remoteexecstream=true \ No newline at end of file diff --git a/metadata-templates/pom.xml b/metadata-templates/pom.xml new file mode 100644 index 0000000..10cead6 --- /dev/null +++ b/metadata-templates/pom.xml @@ -0,0 +1,57 @@ + + + 4.0.0 + + jargon-extensions + org.irods.jargon + 4.0.2.2-SNAPSHOT + + org.irods.jargon + metadata-templates + metadata-templates + http://maven.apache.org + + UTF-8 + + + + org.irods.jargon + dot-irods-utilities + ${project.version} + + + org.irods.jargon + jargon-core + + + org.irods.jargon + jargon-data-utils + + + org.irods.jargon + jargon-user-tagging + ${project.version} + + + org.irods.jargon + jargon-user-profile + ${project.version} + + + junit + junit + test + + + org.mockito + mockito-all + test + + + com.fasterxml.jackson.core + jackson-databind + + + Support for JSON based metadata templates to specify required and suggested metadata for user interface creation + diff --git a/metadata-templates/src/main/java/org/irods/jargon/metadatatemplate/App.java b/metadata-templates/src/main/java/org/irods/jargon/metadatatemplate/App.java new file mode 100644 index 0000000..4ac332b --- /dev/null +++ b/metadata-templates/src/main/java/org/irods/jargon/metadatatemplate/App.java @@ -0,0 +1,13 @@ +package org.irods.jargon.metadatatemplate; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/metadata-templates/src/test/java/org/irods/jargon/metadatatemplate/AppTest.java b/metadata-templates/src/test/java/org/irods/jargon/metadatatemplate/AppTest.java new file mode 100644 index 0000000..dc569c3 --- /dev/null +++ b/metadata-templates/src/test/java/org/irods/jargon/metadatatemplate/AppTest.java @@ -0,0 +1,38 @@ +package org.irods.jargon.metadatatemplate; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +} diff --git a/pom.xml b/pom.xml index 567b40e..33bf219 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,5 @@ - + 4.0.0 org.irods.jargon jargon-extensions @@ -315,5 +314,6 @@ dot-irods-utilities virtual-collections - + metadata-templates + \ No newline at end of file