[Opensim-dev] pruning reference servers in core
diva at metaverseink.com
diva at metaverseink.com
Fri Aug 14 15:42:08 UTC 2009
Ping me when you tune in to the IRC, if you still have questions after
reading this. The additions are really easy. Look in
OpenSim/Server/Handlers/Inventory/InventoryServerInConnector.cs, in my
local repo (the one currently in head is outdated)
http://github.com/diva/Diva-s-OpenSim-Tests/blob/21b5ebdc1f59ee449f56e40d8cbb9f3f5b3de644/OpenSim/Server/Handlers/Inventory/InventoryServerInConnector.cs
The 2 service handlers that you need to add and implement are these:
m_httpServer.AddStreamHandler(
new RestDeserialiseSecureHandler<Guid, List<InventoryFolderBase>>(
"POST", "/SystemFolders/", GetSystemFolders, CheckAuthSession));
m_httpServer.AddStreamHandler(
new RestDeserialiseSecureHandler<Guid, InventoryCollection>(
"POST", "/GetFolderContent/", GetFolderContent, CheckAuthSession));
You can copy and paste the implementations I have there.
Let me know when you're done, so that I can push my local mods.
MW wrote:
> If you can provide the details of those two handlers that need adding to
> the old servers, I can have a go at implementing them; dependent on how
> much work it involves.
>
> --- On *Thu, 13/8/09, diva at metaverseink.com /<diva at metaverseink.com>/*
> wrote:
>
>
> From: diva at metaverseink.com <diva at metaverseink.com>
> Subject: Re: [Opensim-dev] pruning reference servers in core
> To: opensim-dev at lists.berlios.de
> Date: Thursday, 13 August, 2009, 5:01 PM
>
> I'm fine with waiting until September before pruning reference
> implementations down to one of each. But someone needs to give love to
> Grid.Inventory, because I don't have time for loving so many servers :-)
>
> The current improvement I'm doing right now (eliminating the need to
> pass the entire inventory around) only works for the new-style
> inventory
> service. It can easily be made to work for the old one. Whoever wants
> Grid.Inventory to support the simulators' [much more reasonable] needs
> should make the necessary improvements to it.. I'll be happy to explain
> what the server needs to do -- 2 additional service handlers. I still
> haven't pushed my local commits, and I can wait a little bit for a
> Grid.InventoryServer lover to step up and volunteer. But I don't think
> it's reasonable to hold this improvement until September; I already
> have
> it, and it's almost ready to be pushed out to grids out there. Passing
> thousands of inventory items upon region crossings and TPs is probably
> one of the worst things in OpenSim right now, and needs fixing.
>
>
> MW wrote:
> > I'm fine with the AssetInventoryServer being removed as soon as
> possible
> > because I don't think anyone uses it.
> >
> > But believe we should at least wait a couple of more weeks before
> the
> > Grid.InventoryServer
> > and Grid.AssetServer are removed, so that everyone gets a chance
> to have
> > their say/vote. As a number of people are on vacation around this
> time..
> >
> > Personally as long as the ROBUST servers are fully tested on
> multiple
> > grids that have a quite heavy load/userbase, then I'm okay with
> removing
> > the old servers, as long as there is total agreement; I know a few
> > people have said they don't want to swap to ROBUST.
> >
> >
> > --- On *Tue, 11/8/09, Frisby, Adam /<adam at deepthink.com.au
> </mc/compose?to=adam at deepthink.com.au>>/* wrote:
> >
> >
> > From: Frisby, Adam <adam at deepthink.com.au
> </mc/compose?to=adam at deepthink.com.au>>
> > Subject: Re: [Opensim-dev] pruning reference servers in core
> > To: "opensim-dev at lists.berlios.de
> </mc/compose?to=opensim-dev at lists.berlios.de>"
> <opensim-dev at lists.berlios.de
> </mc/compose?to=opensim-dev at lists.berlios.de>>
> > Date: Tuesday, 11 August, 2009, 10:09 PM
> >
> > Please do. I'd like a 0.6.X release shortly after every
> > networkinterface version change if possible - since it makes
> compat
> > with the latest stable release always a headache.
> >
> > Adam
> >
> > > -----Original Message-----
> > > From: opensim-dev-bounces at lists.berlios.de
> </mc/compose?to=opensim-dev-bounces at lists.berlios.de>
> > </mc/compose?to=opensim-dev-bounces at lists.berlios.de
> </mc/compose?to=opensim-dev-bounces at lists.berlios.de>>
> > [mailto:opensim-dev-
> > > bounces at lists.berlios.de
> </mc/compose?to=bounces at lists.berlios.de>
> > </mc/compose?to=bounces at lists.berlios.de
> </mc/compose?to=bounces at lists.berlios.de>>] On Behalf Of Justin
> > Clark-Casey
> > > Sent: Tuesday, 11 August 2009 12:04 PM
> > > To: opensim-dev at lists.berlios.de
> </mc/compose?to=opensim-dev at lists.berlios.de>
> > </mc/compose?to=opensim-dev at lists.berlios.de
> </mc/compose?to=opensim-dev at lists.berlios.de>>
> > > Subject: Re: [Opensim-dev] pruning reference servers in core
> > >
> > > diva at metaverseink.com
> </mc/compose?to=diva at metaverseink.com>
> </mc/compose?to=diva at metaverseink.com
> </mc/compose?to=diva at metaverseink.com>> wrote:
> > > > Dear devs,
> > > >
> > > > I'm finally changing the way the simulator caches inventory.
> > This is
> > > all
> > > > good, and it's the beginning of the much awaited user
> services
> > > > refactoring. This requires a few small changes in the
> inventory
> > > services
> > > > interface, as well as additions to the
> implementation(s). So...
> > > >
> > > > We now have 3 -- yes 3! -- different inventory servers
> in core.
> > (and
> > > 3
> > > > asset servers too). I think it's time to make a decision
> on what to
> > > keep
> > > > and what to drop, because evolving this ecosystem of
> > implementations
> > > in
> > > > core is unscalable.
> > > >
> > > > With this, I'm proposing that we drop the old
> Grid.InventoryServer,
> > > the
> > > > old Grid.AssetServer and the AssetInventoryServer (CB1).
> Some
> > people
> > > may
> > > > still be using the old servers, so it's time to switch
> everybody to
> > > > ROBUST. Asking in the IRC, it looks like no one is using
> > > > AssetInventoryServer.
> > > >
> > > > Comments? Objections?
> > >
> > > Might be an idea to knock out a 0.6.7 first before making that
> > switch.
> > >
> > > --
> > > justincc
> > > Justin Clark-Casey
> > > http://justincc.wordpress.com
> > > _______________________________________________
> > > Opensim-dev mailing list
> > > Opensim-dev at lists.berlios.de
> </mc/compose?to=Opensim-dev at lists.berlios.de>
> > </mc/compose?to=Opensim-dev at lists.berlios.de
> </mc/compose?to=Opensim-dev at lists.berlios.de>>
> > > https://lists.berlios.de/mailman/listinfo/opensim-dev
> > _______________________________________________
> > Opensim-dev mailing list
> > Opensim-dev at lists.berlios.de
> </mc/compose?to=Opensim-dev at lists.berlios.de>
> > </mc/compose?to=Opensim-dev at lists.berlios.de
> </mc/compose?to=Opensim-dev at lists.berlios.de>>
> > https://lists.berlios.de/mailman/listinfo/opensim-dev
> >
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Opensim-dev mailing list
> > Opensim-dev at lists.berlios.de
> </mc/compose?to=Opensim-dev at lists.berlios.de>
> > https://lists.berlios.de/mailman/listinfo/opensim-dev
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> </mc/compose?to=Opensim-dev at lists.berlios.de>
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
>
More information about the Opensim-dev
mailing list