Remvoed static string which is already defined in GCubeContext class of gcube-model
This commit is contained in:
parent
d228eff3b3
commit
f5f86ae09b
|
@ -29,30 +29,12 @@ public class ContextManager extends BaseREST {
|
||||||
|
|
||||||
public static final String CURRENT_CONTEXT_PATH_PART = "CURRENT_CONTEXT";
|
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() {
|
public ContextManager() {
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Create a new Context suing the provided definition
|
* Create a new Context using the provided definition
|
||||||
*
|
*
|
||||||
* POST /contexts
|
* 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}
|
* GET /contexts/{UUID}
|
||||||
* e.g. GET /contexts/c0f314e7-2807-4241-a792-2a6c79ed4fd0
|
* e.g. GET /contexts/c0f314e7-2807-4241-a792-2a6c79ed4fd0
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue