Ben,

What is wrong with doing:

personService.getPeople(personSet, GroupId.Type.all, collectionOptions, fieldsSet, securityToken);

where personSet contains only the currentUser and the collectionOptions is as per the URL.

?

If that would give you what you want, there is no SPI change required.
(tell me I have missed something if I have, no coffee yet :)
)
Ian

On 13 Feb 2009, at 11:32, Ben Smith wrote:

Please could someone have an opinion about 
https://issues.apache.org/jira/browse/SHINDIG-904

There's a chance I need to provide a new patch as there have been quite a few changes since I originally provided it.

It is quite important for me to be able to provide the standard parameters for 0.9: http://opensocial-resources.googlecode.com/svn/spec/draft/REST-API.xml#standardQueryParameters and these need to be available to getPerson() to support the following query: /people/@me/@self? filter...@friends&filterOp=contains&filterValue=<someUserId>

I realise that this change involves changing an SPI interface but this is the smallest, simplest change that was discussed a while ago, which I then submitted this patch for.

Cheers,
Ben Smith



Reply via email to