[ 
https://issues.apache.org/jira/browse/SHINDIG-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Lindner resolved SHINDIG-325.
----------------------------------

    Resolution: Later

thanks for posting this, I'm sure some people found value in this.  Right now 
this patch isn't tracking trunk and we have a new sample implementation that is 
more complete. 

> examples of Person, Activities and Data services
> ------------------------------------------------
>
>                 Key: SHINDIG-325
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-325
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Gadget Rendering Server (Java)
>            Reporter: Alejandro Rivero
>            Priority: Trivial
>         Attachments: BasicActivitiesService.java, BasicPeopleService.java, 
> XmlFileFetcher.java
>
>
> It has been suggested that a JIRA Issue could be a valid way to upload 
> examples of implementations beyond the Sample Container.
> Here attached is our example, for revision 660156, of an interface to an 
> external BOINC database, yet read only.
> The example is just an extended version of the samplecontainer. It can be of 
> some interest to novice people (as ourselves) because we use heavily xpath 
> and the apache MultiThreadedHttpConnectionManager; so it somehow extends the 
> samplecontainer example.
> Of course, it is of no real use without the database side, which creates the 
> xml. But xpath simplifies the customization process. Our code in that side is 
> python, but it is not useful except if you are planning to use shindig in a 
> BOINC database.
> It is injected in the SocialApiGuiceModule.java as follows from the patch 
> here. Note that we violate the naming conventions so we are easy
> to detect and remove :-)
> Index: java/org/apache/shindig/social/SocialApiGuiceModule.java
> ===================================================================
> --- java/org/apache/shindig/social/SocialApiGuiceModule.java
> (revision 660156)
> +++ java/org/apache/shindig/social/SocialApiGuiceModule.java    (working copy)
> @@ -22,9 +22,9 @@
>  import org.apache.shindig.social.opensocial.DataService;
>  import org.apache.shindig.social.opensocial.OpenSocialDataHandler;
>  import org.apache.shindig.social.opensocial.PeopleService;
> -import org.apache.shindig.social.samplecontainer.BasicActivitiesService;
> +import org.apache.shindig.social.RemoteHttpContainer.BasicActivitiesService;
>  import org.apache.shindig.social.samplecontainer.BasicDataService;
> -import org.apache.shindig.social.samplecontainer.BasicPeopleService;
> +import org.apache.shindig.social.RemoteHttpContainer.BasicPeopleService;
>  import org.apache.shindig.social.samplecontainer.StateFileDataHandler;
>  import com.google.inject.AbstractModule;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to