@Produces({ "application/json" })
@Path("/mondrian/server")
public ServerInfo getMondrianServer() {
MondrianServer mondrianServer = MondrianServer.forId(null);
if (mondrianServer != null) {
MondrianVersion mv = mondrianServer.getVersion();
final Monitor monitor = mondrianServer.getMonitor();
final ServerInfo server = monitor.getServer();
return server;
}