You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Dan Becker (JIRA)" <de...@tuscany.apache.org> on 2008/07/28 15:11:32 UTC

[jira] Created: (TUSCANY-2504) Atom binding support for negotiated content types

Atom binding support for negotiated content types
-------------------------------------------------

                 Key: TUSCANY-2504
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2504
             Project: Tuscany
          Issue Type: New Feature
            Reporter: Dan Becker


This is a breakout of one of the features of parent JIRA 2393 for Atom binding

- the ability to negotiate content types (XML, JSON etc) and use the corresponding Tuscany databindings to provide data with the requested content type 

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


[jira] Commented: (TUSCANY-2504) Atom binding support for negotiated content types

Posted by "Dan Becker (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620288#action_12620288 ] 

Dan Becker commented on TUSCANY-2504:
-------------------------------------

Conversation on content for this issue is located at http://www.mail-archive.com/dev@tuscany.apache.org/msg01268.html.

This appears to be the required function of the JIRA:
Let's say for example, this is the response header and body provided when someone POSTs or GETs an Atom entry:

HTTP/1.1 201 Created
Date: Fri, 23 Feb 2007 21:17:11 GMT
Content-Type: application/atom+xml;type=entry
ETag: "e180ee84f0671b1"
Last-Modified: Fri, 25 Jul 2008 14:36:44 -0500

<?xml version="1.0" ?>
<entry xmlns="http://www.w3.org/2005/Atom";>
  <title>Atom-Powered Robots Run Amok</title>
  <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
  <updated>2007-02-123T17:09:02Z</updated>
  <author><name>Captain Lansing</name></author>
  <content>It's something moving... solid metal</content>
</entry>          


When someone requests data content in JSON binding, are you expecting this as the equivalent response?

HTTP/1.1 201 Created
Date: Fri, 23 Feb 2007 21:17:11 GMT
Content-Type: application/atom+json;type=entry
ETag: "e180ee84f0671b1"
Last-Modified: Fri, 25 Jul 2008 14:36:44 -0500

{
     "entry": {
         "title": "Atom-Powered Robots Run Amok",
         "id": "urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a",
         "updated": "2007-02-123T17:09:02Z"
         "author": {
            "name": "Captain Lansing"
         }
         "content": It's something moving... solid metal"
}





> Atom binding support for negotiated content types
> -------------------------------------------------
>
>                 Key: TUSCANY-2504
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2504
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SCA ATOM Binding Extension
>    Affects Versions: Java-SCA-Next
>            Reporter: Dan Becker
>             Fix For: Java-SCA-Next
>
>
> This is a breakout of one of the features of parent JIRA 2393 for Atom binding
> - the ability to negotiate content types (XML, JSON etc) and use the corresponding Tuscany databindings to provide data with the requested content type 

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


[jira] Updated: (TUSCANY-2504) Atom binding support for negotiated content types

Posted by "Dan Becker (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Becker updated TUSCANY-2504:
--------------------------------

    Attachment:     (was: TUSCANY-2504.patch)

> Atom binding support for negotiated content types
> -------------------------------------------------
>
>                 Key: TUSCANY-2504
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2504
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SCA ATOM Binding Extension
>    Affects Versions: Java-SCA-Next
>            Reporter: Dan Becker
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2504-2.patch
>
>
> This is a breakout of one of the features of parent JIRA 2393 for Atom binding
> - the ability to negotiate content types (XML, JSON etc) and use the corresponding Tuscany databindings to provide data with the requested content type 

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


[jira] Closed: (TUSCANY-2504) Atom binding support for negotiated content types

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder closed TUSCANY-2504.
------------------------------

    Resolution: Fixed

Applied in r685516, thanks for the patch Dan.

> Atom binding support for negotiated content types
> -------------------------------------------------
>
>                 Key: TUSCANY-2504
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2504
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SCA ATOM Binding Extension
>    Affects Versions: Java-SCA-Next
>            Reporter: Dan Becker
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2504-3.patch
>
>
> This is a breakout of one of the features of parent JIRA 2393 for Atom binding
> - the ability to negotiate content types (XML, JSON etc) and use the corresponding Tuscany databindings to provide data with the requested content type 

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


[jira] Updated: (TUSCANY-2504) Atom binding support for negotiated content types

Posted by "Dan Becker (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Becker updated TUSCANY-2504:
--------------------------------

    Attachment: TUSCANY-2504-3.patch

Fixes Maven issue in non Atom test case

> Atom binding support for negotiated content types
> -------------------------------------------------
>
>                 Key: TUSCANY-2504
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2504
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SCA ATOM Binding Extension
>    Affects Versions: Java-SCA-Next
>            Reporter: Dan Becker
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2504-3.patch
>
>
> This is a breakout of one of the features of parent JIRA 2393 for Atom binding
> - the ability to negotiate content types (XML, JSON etc) and use the corresponding Tuscany databindings to provide data with the requested content type 

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


[jira] Updated: (TUSCANY-2504) Atom binding support for negotiated content types

Posted by "Dan Becker (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Becker updated TUSCANY-2504:
--------------------------------

    Patch Info: [Patch Available]

> Atom binding support for negotiated content types
> -------------------------------------------------
>
>                 Key: TUSCANY-2504
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2504
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SCA ATOM Binding Extension
>    Affects Versions: Java-SCA-Next
>            Reporter: Dan Becker
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2504.patch
>
>
> This is a breakout of one of the features of parent JIRA 2393 for Atom binding
> - the ability to negotiate content types (XML, JSON etc) and use the corresponding Tuscany databindings to provide data with the requested content type 

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


[jira] Updated: (TUSCANY-2504) Atom binding support for negotiated content types

Posted by "Dan Becker (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Becker updated TUSCANY-2504:
--------------------------------

    Attachment:     (was: TUSCANY-2504-2.patch)

> Atom binding support for negotiated content types
> -------------------------------------------------
>
>                 Key: TUSCANY-2504
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2504
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SCA ATOM Binding Extension
>    Affects Versions: Java-SCA-Next
>            Reporter: Dan Becker
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2504-3.patch
>
>
> This is a breakout of one of the features of parent JIRA 2393 for Atom binding
> - the ability to negotiate content types (XML, JSON etc) and use the corresponding Tuscany databindings to provide data with the requested content type 

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


[jira] Updated: (TUSCANY-2504) Atom binding support for negotiated content types

Posted by "Dan Becker (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Becker updated TUSCANY-2504:
--------------------------------

    Attachment: TUSCANY-2504.patch

Patch contains full implementation of negotiated content types. This patch has some changes from 2477 included also, so I will have to regenerate this patch once 2477 makes the trunk. Hoewever, I did want to show these changes in case someone would like to review or comment.

> Atom binding support for negotiated content types
> -------------------------------------------------
>
>                 Key: TUSCANY-2504
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2504
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SCA ATOM Binding Extension
>    Affects Versions: Java-SCA-Next
>            Reporter: Dan Becker
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2504.patch
>
>
> This is a breakout of one of the features of parent JIRA 2393 for Atom binding
> - the ability to negotiate content types (XML, JSON etc) and use the corresponding Tuscany databindings to provide data with the requested content type 

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


[jira] Updated: (TUSCANY-2504) Atom binding support for negotiated content types

Posted by "Dan Becker (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Becker updated TUSCANY-2504:
--------------------------------

    Attachment: TUSCANY-2504-2.patch

Patch updated to provide impl of negotiated content types and to merge latest revisions of other JIRAs commited over the weekend.

> Atom binding support for negotiated content types
> -------------------------------------------------
>
>                 Key: TUSCANY-2504
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2504
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SCA ATOM Binding Extension
>    Affects Versions: Java-SCA-Next
>            Reporter: Dan Becker
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2504-2.patch
>
>
> This is a breakout of one of the features of parent JIRA 2393 for Atom binding
> - the ability to negotiate content types (XML, JSON etc) and use the corresponding Tuscany databindings to provide data with the requested content type 

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