You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "David Primmer (JIRA)" <ji...@apache.org> on 2008/05/13 11:30:55 UTC

[jira] Updated: (SHINDIG-265) Refactor adapter code to be based on AbstractEntityCollectionAdapter

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