Reorganized query and path parameters constants
This commit is contained in:
parent
af76f9ff03
commit
eb42cc76db
|
@ -225,7 +225,7 @@ public class ResourceRegistryContextClientImpl implements ResourceRegistryContex
|
||||||
UUID uuid = contextCache.getUUIDByFullName(contextFullName);
|
UUID uuid = contextCache.getUUIDByFullName(contextFullName);
|
||||||
Context context = null;
|
Context context = null;
|
||||||
if(uuid == null) {
|
if(uuid == null) {
|
||||||
String contextJson = readFromServer(AccessPath.CURRENT_CONTEXT);
|
String contextJson = readFromServer(ContextPath.CURRENT_CONTEXT_PATH_PART);
|
||||||
try {
|
try {
|
||||||
context = ElementMapper.unmarshal(Context.class, contextJson);
|
context = ElementMapper.unmarshal(Context.class, contextJson);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|
Loading…
Reference in New Issue