OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

tosca message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Commented: (TOSCA-119) TOSCA should specify what to use in the accept Header for HTTP REST requests.


    [ http://tools.oasis-open.org/issues/browse/TOSCA-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33720#action_33720 ] 

Frank Leymann  commented on TOSCA-119:
--------------------------------------

@Travis: The draft Plan Portability API is a REST-based API.  It is uses on the ACCEPT header mechanism, but we support application/xml as the only MIME type today.  Once we agree on a JSON and/or YAML rendering (as discussed in TOSCA-7) this will change.

> TOSCA should specify what to use in the accept Header for HTTP REST requests.
> -----------------------------------------------------------------------------
>
>                 Key: TOSCA-119
>                 URL: http://tools.oasis-open.org/issues/browse/TOSCA-119
>             Project: OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) TC
>          Issue Type: Improvement
>          Components: Spec
>            Reporter: Travis Tripp
>            Priority: Minor
>
> TOSCA does not address wire protocols for making REST requests for TOSCA documents.  
> For example, what should the accept type be in the following situations:
>  - CSAR
>  - Definitions Document
>  - Schema documents
> One could infer that for the CSA it would be application/tosca-csar or application/csar
> For definitions documents, it could be application/xml.
> However, in the second case, this would be insufficient according to intended HTTP accept header usage.  
> This issue perhaps should be linked to https://tools.oasis-open.org/issues/browse/TOSCA-7
> For some background on Accept type, the following article is interesting:
> http://www.informit.com/articles/article.aspx?p=1566460

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]