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

David Primmer updated SHINDIG-265:
----------------------------------

    Attachment: shindig-265_refactor_adapters.patch

Adding an ActivityAdapter and an AbstractSocialEntityCollectionAdapter which is 
an extension of AbstractEntityCollectionAdapter from Abdera. This will allow 
finer-grained control of the request and response handling in preparation for 
some complex 'hoisting' rules in the .0.8 spec as well as more seams for 
dependency injection. this patch duplicates much of the functions of the 
RestServerCollectionAdapter, which I leave in, because I wanted to submit some 
code that does not change the current request handling, to prove it works, then 
begin to migrate handling of certain urls to the newer adapter code.

new code works with 
http://localhost:8080/social/rest/activities/jane.doe/@self/1
add on ?format=atom or ?format=json to see different output formats.


> Refactor adapter code to be based on AbstractEntityCollectionAdapter
> --------------------------------------------------------------------
>
>                 Key: SHINDIG-265
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-265
>             Project: Shindig
>          Issue Type: Improvement
>          Components: RESTful API (Java)
>            Reporter: David Primmer
>         Attachments: shindig-265_refactor_adapters.patch
>
>


-- 
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