OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) TC

RE: [tosca] questions about substitution mapping in the 2.0 draft

  • 1.  RE: [tosca] questions about substitution mapping in the 2.0 draft

    Posted 01-05-2021 04:17




    Hi Adam,
     
    Thanks for catching the dangling requirement mapping section 4.2.6.2.7.1. That definitely looks out of place. I ll discuss with Calin how to best fix this. In addition, the example in that section looks wrong

     
    Chris
     

    From: tosca@lists.oasis-open.org <tosca@lists.oasis-open.org>
    On Behalf Of adam souzis
    Sent: Sunday, December 13, 2020 7:23 PM
    To: tosca@lists.oasis-open.org
    Subject: [tosca] questions about substitution mapping in the 2.0 draft

     




    In 1.3 a node template with the "substitute" directive could specify properties, capabilities, and requirements. The 2.0 spec says setting properties are not allowed because they might conflict with the property mapping in the substitution template. That
    makes sense but it is silent on setting requirements and capabilities -- wouldn't they have the same issue?
    One thing I don't understand is how to set the inputs on an imported template -- before I thought setting the properties on the substituted node template would do that but now I don't know how they can get set. 
    Also, I don't understand why section "4.2.6.2.7.1 requirement_mapping" is there -- I assume that's an error? Requirement mappings are already defined in section  4.5.5.
    Thanks, 
    Adam
     
     





    á