-
Type: Bug
-
Status: New
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Profile-YAML, Spec - Simple Profile
-
Labels:None
-
Proposal:
In the simple profile in YAML specification, requirement definitions are currently defined as a list. The reason was that we wanted to be able to preserve ordering, allowing a node type author to prescribe the order in which requirements in a template get processed.
This allows for example, to make sure that operations (e.g. implemented as scripts) attached to the relationships that bind the requirements at runtime get run in the right order.
However, we currently do not have a means for describing how requirements defined in a node type sort into the order of requirements inherited from parent node types. We cannot just assume that newly defined requirements get added to the end of the list of inherited requirements. This would mean, the generic "dependency" requirement defined by the Root node type (thus inherited by any other node type) would always be processed first, which is not desirable.