Open koppor opened 1 month ago
The examples are correct, but the text describing the examples is confusing. The example you're referencing uses a <relationship_template_name>
. The example right above it uses a <relationship_type_name>
. We'll try to make the descriptions less confusing.
Clarifications have been merged into the OASIS repository
I would have assumed that I can just list a single relationship template (instead of listing capabilities and other things). Thus, it would really be a single line grammar.
Could you provide an example of the single line grammar you have in mind?
I think, it is as simple as
<requirement_name>:
relationship: <relationship_template_name>
(I haven't fully thought through - however, this snippet would match the paragraph "As stated in the description of the supported keynames [...]")
Side story: Maybe, I am struggling with the term single-line grammar
Other places in the spec show a single line. - Meaning count(lines) == 1.
(and more)
Here it is "OK", the reader should understand that 1 and 2 are to be read as "single-line"
It is promised that there is a single-line grammar for a "symbolic name of a relationship template to use". However, the grammar is the same as above
https://docs.oasis-open.org/tosca/TOSCA/v2.0/csd06/TOSCA-v2.0-csd06.html#872-requirement-assignment-grammar