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: Common Components (Java), Sample container & Examples
Reporter: Alejandro Rivero
Priority: Trivial
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.