Added XML doctype.

Imported information-system-bom in dependency management.


git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@133769 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2016-10-31 16:05:00 +00:00
parent 66e71cf3be
commit 0729c53223
6 changed files with 17 additions and 3 deletions

View File

@ -1,3 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xml>
<ReleaseNotes> <ReleaseNotes>
<Changeset component="org.gcube.information-system.resource-registry-client.1-0-0" date="${buildDate}"> <Changeset component="org.gcube.information-system.resource-registry-client.1-0-0" date="${buildDate}">
<Change>First Release</Change> <Change>First Release</Change>

View File

@ -1,7 +1,7 @@
<assembly <assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd">
<id>servicearchive</id> <id>servicearchive</id>
<formats> <formats>
<format>tar.gz</format> <format>tar.gz</format>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xml>
<Resource> <Resource>
<ID /> <ID />
<Type>Service</Type> <Type>Service</Type>

View File

@ -20,6 +20,13 @@
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>
<dependency>
<groupId>org.gcube.information-system</groupId>
<artifactId>information-system-bom</artifactId>
<version>1.0.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>

View File

@ -31,18 +31,20 @@ public class ResourceRegistryClientTest {
@Test @Test
public void testQuery() throws InvalidQueryException{ public void testQuery() throws InvalidQueryException{
String res = resourceRegistryClient.query("SELECT FROM V", 0, null); String res = resourceRegistryClient.query("SELECT FROM V", 0, null);
logger.trace(res);
} }
@Test @Test
public void testGetFacetSchema() throws SchemaNotFoundException { public void testGetFacetSchema() throws SchemaNotFoundException {
String res = resourceRegistryClient.getFacetSchema("ContactFacet"); String res = resourceRegistryClient.getFacetSchema("ContactFacet");
logger.trace(res);
} }
@Test @Test
public void testGetResourceSchema() throws SchemaNotFoundException { public void testGetResourceSchema() throws SchemaNotFoundException {
String res = resourceRegistryClient.getResourceSchema("HostingNode"); String res = resourceRegistryClient.getResourceSchema("HostingNode");
logger.trace(res);
} }
} }

View File

@ -1,3 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xml>
<configuration> <configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">