[
https://issues.apache.org/jira/browse/SHINDIG-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cassie Doll updated SHINDIG-210:
--------------------------------
Attachment: restful.patch
Patch created by Vasu Nori for an initial check in of some restful code. This
is just a start of course...
(attaching for him with his notes below)
* It doesn't break the build
o from shindig/java dir, mvn clean install <-- no errors. no
unittest errors
o from shindig/java/server dir, mvn jetty:run-war <-- server starts
ok.
o this works -->
http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
o the following REST api work too
+ http://localhost:8080/rest/people/john.doe/@all
http://localhost:8080/rest/people/john.doe/@all/jane.doe
http://localhost:8080/rest/people/john.doe/@self
http://localhost:8080/rest/activities/jane.doe/@self
http://localhost:8080/rest/activities/jane.doe/@self/1
# the following are 404 - not found conditions, because there
is no data
http://localhost:8080/rest/activities/jane.doe/@self/2
http://localhost:8080/rest/people/john.doe/@all/john.doe
* no unittests in the patch
* there are some TODOs - including a more correct way to Guice it.
> Implement RESTful spec in Shindig
> ---------------------------------
>
> Key: SHINDIG-210
> URL: https://issues.apache.org/jira/browse/SHINDIG-210
> Project: Shindig
> Issue Type: New Feature
> Components: RESTful API (Java)
> Reporter: Bob Evans
> Attachments: restful.patch
>
>
> This is a placeholder for a patch to add RESTful services to access the
> opensocial data services.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.