Skip to content

Commit

Permalink
#2 metadata templates project created
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-conway committed Jul 17, 2014
1 parent 979266b commit 5cfd272
Show file tree
Hide file tree
Showing 5 changed files with 115 additions and 7 deletions.
8 changes: 4 additions & 4 deletions dot-irods-utilities/src/test/resources/testing.properties
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
57 changes: 57 additions & 0 deletions metadata-templates/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>jargon-extensions</artifactId>
<groupId>org.irods.jargon</groupId>
<version>4.0.2.2-SNAPSHOT</version>
</parent>
<groupId>org.irods.jargon</groupId>
<artifactId>metadata-templates</artifactId>
<name>metadata-templates</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.irods.jargon</groupId>
<artifactId>dot-irods-utilities</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.irods.jargon</groupId>
<artifactId>jargon-core</artifactId>
</dependency>
<dependency>
<groupId>org.irods.jargon</groupId>
<artifactId>jargon-data-utils</artifactId>
</dependency>
<dependency>
<groupId>org.irods.jargon</groupId>
<artifactId>jargon-user-tagging</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.irods.jargon</groupId>
<artifactId>jargon-user-profile</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
</dependencies>
<description>Support for JSON based metadata templates to specify required and suggested metadata for user interface creation</description>
</project>
Original file line number Diff line number Diff line change
@@ -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!" );
}
}
Original file line number Diff line number Diff line change
@@ -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 );
}
}
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.irods.jargon</groupId>
<artifactId>jargon-extensions</artifactId>
Expand Down Expand Up @@ -315,5 +314,6 @@
<modules>
<module>dot-irods-utilities</module>
<module>virtual-collections</module>
</modules>
<module>metadata-templates</module>
</modules>
</project>

0 comments on commit 5cfd272

Please sign in to comment.