GraphNode node = platformConfig.getPlatformInstance();
LockableMGraph sysGraph = (LockableMGraph) node.getGraph();
Lock writeLock = sysGraph.getLock().writeLock();
writeLock.lock();
try {
node.deleteProperties(PLATFORM.defaultBaseUri);
node.addProperty(PLATFORM.defaultBaseUri, uri);
} finally {
writeLock.unlock();
}
return Response.status(Response.Status.ACCEPTED).build();