Fixed tests log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@133698 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ea7b88d120
commit
0376c8ec97
|
@ -31,20 +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.debug(res);
|
logger.info(res);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testgetFacetSchema() throws SchemaNotFoundException {
|
public void testgetFacetSchema() throws SchemaNotFoundException {
|
||||||
String res = resourceRegistryClient.getFacetSchema("ContactFacet");
|
String res = resourceRegistryClient.getFacetSchema("ContactFacet");
|
||||||
logger.debug(res);
|
logger.info(res);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testgetResourceSchema() throws SchemaNotFoundException {
|
public void testgetResourceSchema() throws SchemaNotFoundException {
|
||||||
String res = resourceRegistryClient.getResourceSchema("HostingNode");
|
String res = resourceRegistryClient.getResourceSchema("HostingNode");
|
||||||
logger.debug(res);
|
logger.info(res);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
<configuration>
|
||||||
|
|
||||||
|
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||||
|
<encoder>
|
||||||
|
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{0}: %msg%n</pattern>
|
||||||
|
</encoder>
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
|
||||||
|
<logger name="org.gcube" level="INFO" />
|
||||||
|
<logger name="org.gcube.informationsystem" level="INFO" />
|
||||||
|
|
||||||
|
<root level="WARN">
|
||||||
|
<appender-ref ref="STDOUT" />
|
||||||
|
</root>
|
||||||
|
|
||||||
|
</configuration>
|
Loading…
Reference in New Issue