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>
|
||||
<groupId>org.gcube.distribution</groupId>
|
||||
<artifactId>gcube-bom</artifactId>
|
||||
<version>2.4.1</version>
|
||||
<version>2.4.1-SNAPSHOT</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
|
|
@ -14,6 +14,9 @@ public class Util {
|
|||
return new FolderContainer(itemClient, (FolderItem)item);
|
||||
else return new GenericItemContainer(itemClient, item);
|
||||
}
|
||||
|
||||
|
||||
public static String getVREGroupFromContext(String context) {
|
||||
return context.replace("/", "-").substring(1);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue