Remvoed static string which is already defined in GCubeContext class of gcube-model

This commit is contained in:
Luca Frosini 2024-11-18 17:45:42 +01:00
parent d228eff3b3
commit f5f86ae09b
1 changed files with 2 additions and 20 deletions

View File

@ -29,30 +29,12 @@ public class ContextManager extends BaseREST {
public static final String CURRENT_CONTEXT_PATH_PART = "CURRENT_CONTEXT";
/**
* This attribute is added to Context as a additional property.
* It contains the access point of the context in the gateway;
*
* {
* ...
* "availableAt" : [
* "https://i-marine.d4science.org/group/alienandinvasivespecies",
* "https://services.d4science.org/group/alienandinvasivespecies"
* ]
* ...
* }
* For non VRE context this field could be null or could have multiple value
* For VRE it is normally one value only (but some exception could exists)
*/
public static final String AVAILABLE_AT_PROPERTY = "availableAt";
public ContextManager() {
super();
}
/*
* Create a new Context suing the provided definition
* Create a new Context using the provided definition
*
* POST /contexts
*
@ -72,7 +54,7 @@ public class ContextManager extends BaseREST {
}
/*
* Allow to read the context definition
* Allow to read the Context definition
* GET /contexts/{UUID}
* e.g. GET /contexts/c0f314e7-2807-4241-a792-2a6c79ed4fd0
*