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-7) Alternative Encodings of TOSCA Service Templates


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

Dale Moberg commented on TOSCA-7:
---------------------------------

[Moved and edited  to remove suggestion that only yaml was the focus.] During TC discussions of "canonical" and "alternative" encodings, and how XML instances could fulfill a canonical role with respect to alternative encodings, I raised the following questions: Here let "alt"be an alternative encoding, and "t-instance" a canonical "model" as rendered in XML.  It was suggested that a t-instance could be translated into alt, and in fact possibly translated in multiple ways. 1. What needs to be preserved in such a translation? 2. Would it be necessary to understand alt equivalence classes with respect to t-instance translations? 3. Would (or should) the group agree on construction rules that would produce a single "representative" alt instance for a given t-instance, and leave alt instance equivalence issues to alt users? 4. Could proponents wishing tof provide a translation, explain what the translation is supposed to preserve and what is "inessential notational differences" between the t-instance and a representative alt instance that results from doing a translation? In general, I was hoping to get some clarification on what the consensus view on what needs to be done to resolve TOSCA-7. Calling the t-instance canonical did not allow me to understand just what "being canonical" amounted to. 

> Alternative Encodings of TOSCA Service Templates
> ------------------------------------------------
>
>                 Key: TOSCA-7
>                 URL: http://tools.oasis-open.org/issues/browse/TOSCA-7
>             Project: OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) TC
>          Issue Type: Improvement
>          Components: Spec
>            Reporter: Derek Palma
>            Assignee: Derek Palma
>            Priority: Minor
>
> At the last (Jan 26) TC meeting there was some discussion about Alternative Encodings of TOSCA Service Templates. It may be useful to augment the draft to explicitly address this issue so it is clear that TOSCA is not confining itself to only XML encodings.
> Below is some text which captures some of these ideas:
> Alternative Encodings of TOSCA Service Templates
> The Topology and Specification for Cloud Applications (TOSCA) is a metamodel which specifies the core concepts, entities, relations and constraints required for defining IT services. This metamodel is encoded in this specification using XML Schema and related standards. Service Templates are instances of entities compliant with the TOSCA metamodel  endcoded in XML following the syntactic rules governed by XML Schema and XML Specification.
> In order to further applicability and facilitate adoption, the TOSCA TC acknowledges the diversity of clouds, offering a diversity of languages and frameworks, with their respective user bases, and anticipates the need to represent Service Templates in encodings other than XML (e.g. YAML, JSON) as well as the need for API implementations  in multiple languages that can create and manipulate Service Templates serializing to/from these alternative encodings. Implementations of alternative encodings should adhere to the TOSCA semantics in order to consume/produce semantically valid Service Templates in a specific encoding and enable translations to/from the canonical XML encoding. 
> Because all alternative encodings must abide by the TOSCA semantics, they can only diverge in how they represent their alternative encoding. For example, two YAML implementations may be able to consume and produce a valid Service Template XML, but may encode the Service Template differently in YAML. These diverging YAML implementations can still interoperate by translating to XML. However, if YAML interoperability is desired a set of translation rules between canonical XML and YAML need to be agreed upon.

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