added method to get vre group name from context
This commit is contained in:
parent
15940ad8ef
commit
2f32626292
2
pom.xml
2
pom.xml
|
@ -35,7 +35,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.distribution</groupId>
|
<groupId>org.gcube.distribution</groupId>
|
||||||
<artifactId>gcube-bom</artifactId>
|
<artifactId>gcube-bom</artifactId>
|
||||||
<version>2.4.1</version>
|
<version>2.4.1-SNAPSHOT</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
|
@ -15,5 +15,8 @@ public class Util {
|
||||||
else return new GenericItemContainer(itemClient, item);
|
else return new GenericItemContainer(itemClient, item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static String getVREGroupFromContext(String context) {
|
||||||
|
return context.replace("/", "-").substring(1);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue