updated
This commit is contained in:
parent
b8b4c9bc23
commit
697ca73dd7
|
@ -13,6 +13,7 @@ public class Initializer {
|
||||||
private static final String propFile = "/Users/lucio/Documents/tokens.properties";
|
private static final String propFile = "/Users/lucio/Documents/tokens.properties";
|
||||||
|
|
||||||
private static final String devEnv = "dev-devvre";
|
private static final String devEnv = "dev-devvre";
|
||||||
|
private static final String devRoot = "dev-root";
|
||||||
|
|
||||||
|
|
||||||
public static void setUp(String env){
|
public static void setUp(String env){
|
||||||
|
@ -24,7 +25,6 @@ public class Initializer {
|
||||||
String[] splitValue = value.split(",");
|
String[] splitValue = value.split(",");
|
||||||
String token = splitValue[1];
|
String token = splitValue[1];
|
||||||
SecretManagerProvider.instance.set(new GCubeSecret(token));
|
SecretManagerProvider.instance.set(new GCubeSecret(token));
|
||||||
|
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
@ -33,6 +33,6 @@ public class Initializer {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void setUp(){
|
public static void setUp(){
|
||||||
setUp(devEnv);
|
setUp(devRoot);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -75,7 +75,8 @@ public class Items {
|
||||||
@Test
|
@Test
|
||||||
public void opeVREfolder() throws StorageHubException{
|
public void opeVREfolder() throws StorageHubException{
|
||||||
StorageHubClient shc = new StorageHubClient();
|
StorageHubClient shc = new StorageHubClient();
|
||||||
shc.openVREFolder();
|
//shc.openVREFolder();
|
||||||
|
shc.getVreFolderManager("gcube-devsec-devVRE").setAdmin("massimiliano.assante");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue