the attached patch set adds the (still work-in-progress but already
working) RestPlugin base class and the RestRegionPlugin code. we are using
XML serialization.

currently working:

GET /admin/regions/                 -> returns UUID list of known regions
   GET /admin/regions/<UUID>    -> returns detailed region information

we'll be adding support for POST/DELETE/PUT and also for
/admin/regions/<UUID>/name etc.
This commit is contained in:
Sean Dague
2008-05-14 19:13:54 +00:00
parent 8fe9943293
commit 4a07038bbe
4 changed files with 138 additions and 15 deletions

View File

@@ -90,35 +90,40 @@ namespace OpenSim
private string m_standaloneUserSource;
protected string m_assetStorage = "local";
public ConsoleCommand CreateAccount = null;
protected bool m_dumpAssetsToFile;
protected List<IApplicationPlugin> m_plugins = new List<IApplicationPlugin>();
protected IniConfigSource m_config;
public IniConfigSource ConfigSource
{
get { return m_config; }
set { m_config = value; }
}
public BaseHttpServer HttpServer
{
get { return m_httpServer; }
}
public List<IClientNetworkServer> ClientServers
{
get { return m_clientServers; }
}
public List<RegionInfo> RegionData
{
get { return m_regionData; }
}
public new BaseHttpServer HttpServer
{
get { return m_httpServer; }
}
public new uint HttpServerPort
{
get { return m_httpServerPort; }
}
protected ModuleLoader m_moduleLoader;
public ModuleLoader ModuleLoader