* Add user data plugin to store temporary profiles (which are distinct from cached)

* Plugin not yet used
* Existing functionality should not be affected in any way
This commit is contained in:
Justin Clarke Casey
2009-04-23 18:24:39 +00:00
parent ae30776003
commit ef9d140022
10 changed files with 130 additions and 34 deletions

View File

@@ -55,19 +55,19 @@ namespace OpenSim.Tests.Common.Mock
public TestCommunicationsManager(NetworkServersInfo serversInfo)
: base(serversInfo, new BaseHttpServer(666), null, false, null)
{
m_userDataPlugin = new TestUserDataPlugin();
m_inventoryDataPlugin = new TestInventoryDataPlugin();
{
SQLAssetServer assetService = new SQLAssetServer(new TestAssetDataPlugin());
m_assetCache = new AssetCache(assetService);
LocalInventoryService lis = new LocalInventoryService();
m_inventoryDataPlugin = new TestInventoryDataPlugin();
lis.AddPlugin(m_inventoryDataPlugin);
m_interServiceInventoryService = lis;
AddInventoryService(lis);
LocalUserServices lus = new LocalUserServices(991, 992, this);
lus.AddPlugin(new TemporaryUserProfilePlugin());
m_userDataPlugin = new TestUserDataPlugin();
lus.AddPlugin(m_userDataPlugin);
m_userService = lus;
m_userAdminService = lus;