[
https://issues.apache.org/jira/browse/SHINDIG-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650012#action_12650012
]
Chris Chabot commented on SHINDIG-306:
--------------------------------------
That looks like a good solution, but I do believe this bit will break the java
version of shindig:
Index: javascript/sampledata/canonicaldb.json
===================================================================
--- javascript/sampledata/canonicaldb.json (revision 719554)
+++ javascript/sampledata/canonicaldb.json (working copy)
@@ -336,10 +336,10 @@
// ----------------------------- Data ---------------------------------------
//
"friendLinks" : {
-"canonical" : ["john.doe", "jane.doe", "george.doe", "maija.m"],
-"john.doe" : ["jane.doe", "george.doe", "maija.m"],
-"jane.doe" : ["john.doe"],
-"george.doe" : ["john.doe"],
+"canonical" : [{"b" : "john.doe","c" : "jane.doe","d" : "george.doe", "a" :
"maija.m"}],
+"john.doe" : [{"c" : "jane.doe","a" : "george.doe","b" : "maija.m"}],
+"jane.doe" : [{"a" : "john.doe"}],
+"george.doe" : [{"a" : "john.doe"}],
"maija.m" : []
},
Louis, would you be able to look at this and see if you can either adjust for
it, or have a better idea of how to add top friends info the the json file?
> 0.8 -- Add topFriends filter
> ----------------------------
>
> Key: SHINDIG-306
> URL: https://issues.apache.org/jira/browse/SHINDIG-306
> Project: Shindig
> Issue Type: New Feature
> Components: RESTful API (PHP)
> Reporter: Paul Lindner
> Assignee: Paul Lindner
> Attachments: topFriendsFilter-patch-306.patch
>
>
> ref: FILTER_TYPE-001
> Top friends should be a filter as well as a sort...
> opensocial.DataRequest.FilterType = {
> /**
> * Retrieves only the user's top friends.
> *
> * @member opensocial.DataRequest.FilterType
> */
> TOP_FRIENDS : 'topFriends',
> ...
> } Top friends should be a filter as well as a sort
> http://groups.google.com/group/opensocial-and-gadgets-spec/browse_thread/thread/ae406a39198ecd31
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.