prepared for release

This commit is contained in:
lucio 2020-01-22 17:05:20 +01:00
parent b56206b1e4
commit ba16c199e8
4 changed files with 7 additions and 10 deletions

View File

@ -18,7 +18,7 @@
<groupId>org.gcube.common</groupId> <groupId>org.gcube.common</groupId>
<artifactId>storagehub-client-library</artifactId> <artifactId>storagehub-client-library</artifactId>
<version>1.0.8-SNAPSHOT</version> <version>1.0.8</version>
<name>storagehub-client-library</name> <name>storagehub-client-library</name>
<dependencyManagement> <dependencyManagement>
@ -54,7 +54,7 @@
<dependency> <dependency>
<groupId>org.gcube.common</groupId> <groupId>org.gcube.common</groupId>
<artifactId>storagehub-model</artifactId> <artifactId>storagehub-model</artifactId>
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version> <version>[1.0.0,2.0.0-SNAPSHOT)</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId> <groupId>com.fasterxml.jackson.jaxrs</groupId>
@ -77,7 +77,7 @@
<dependency> <dependency>
<groupId>org.gcube.common</groupId> <groupId>org.gcube.common</groupId>
<artifactId>common-jaxrs-client</artifactId> <artifactId>common-jaxrs-client</artifactId>
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version> <version>[1.0.0,2.0.0-SNAPSHOT)</version>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -75,7 +75,7 @@ public class AddUserToVRes {
@Test @Test
public void add() throws Exception{ public void add() throws Exception{
String group = "pred4s-preprod-preVRE"; String group = "pred4s-preprod-preVRE";
URL addGroupUrl = new URL("http://storagehub.pre.d4science.net/storagehub/workspace/groups/"+group+"?gcube-token=a6cec25b-3844-4901-83f3-95eee83319ba-980114272"); URL addGroupUrl = new URL("http://storagehub.pre.d4science.net/storagehub/workspace/groups/"+group+"?gcube-token=");
for (String user : PRE_VRE) { for (String user : PRE_VRE) {
try { try {

View File

@ -35,10 +35,9 @@ public class Items {
@BeforeClass @BeforeClass
public static void setUp(){ public static void setUp(){
SecurityTokenProvider.instance.set("b7c80297-e4ed-42ab-ab42-fdc0b8b0eabf-98187548");
ScopeProvider.instance.set("/gcube");
} }
@Test @Test
public void allRound() throws StorageHubException { public void allRound() throws StorageHubException {
StorageHubClient shc = new StorageHubClient(); StorageHubClient shc = new StorageHubClient();
@ -55,8 +54,7 @@ public class Items {
@Test @Test
public void creteAndREmoveUser() throws StorageHubException { public void creteAndREmoveUser() throws StorageHubException {
StorageHubClient shc = new StorageHubClient(); StorageHubClient shc = new StorageHubClient();
shc.createUserAccount("giorgino"); shc.getVreFolderManager("gcube-devsec-devVRE").addUser("gCat");
shc.deleteUserAccount("giorgino");
} }

View File

@ -56,8 +56,7 @@ public class TestCall {
@BeforeClass @BeforeClass
public static void setUp(){ public static void setUp(){
SecurityTokenProvider.instance.set("490eed48-dee3-478d-a856-cfb1132c1b92-843339462");
ScopeProvider.instance.set("/d4science.research-infrastructures.eu");
} }
@Test @Test