This commit is contained in:
Lucio Lelii 2016-09-06 08:16:14 +00:00
parent 382e2b32cb
commit 90edc18075
3 changed files with 7 additions and 3 deletions

View File

@ -11,7 +11,7 @@
<groupId>org.gcube.tools</groupId>
<version>1.0.0</version>
</parent>
<!--
<dependencyManagement>
<dependencies>
<dependency>
@ -24,6 +24,8 @@
</dependencies>
</dependencyManagement>
-->
<properties>
<distroDirectory>distro</distroDirectory>
</properties>
@ -32,11 +34,13 @@
<dependency>
<groupId>org.gcube.common</groupId>
<artifactId>common-authorization</artifactId>
<version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.2</version>
</dependency>
<dependency>
<groupId>junit</groupId>

View File

@ -13,7 +13,7 @@ import org.gcube.common.authorization.library.provider.UserInfo;
public class Binder {
private static JAXBContext context ;
private static JAXBContext context;
public static JAXBContext getContext() throws JAXBException{
if (context==null)

View File

@ -24,7 +24,7 @@ public class CallTest {
@Test
public void requestNodeToken() throws Exception {
String token = authorizationService().requestActivation(new ContainerInfo("dlib29.isti.cnr.it",8080), "/gcube/devNext/NextNext");
String token = authorizationService().requestActivation(new ContainerInfo("dlib29.isti.cnr.it",8080), "/gcube");
System.out.println(token);
}