Closed dradX closed 3 years ago
Thanks @dradX, this is also something that we have to fix in order to be compliant with TOSCA.
This issue is connected to #182.
@anzoman True, I was not aware we had a similar issue already open #182 - solving that one would probably resolve also this.
I have found out that this issue has been duplicated twice, so part from this one, #182 is also duplicate of #63 which has been opened some time ago.
Description
With this issue, we want to fix the checks on the node's requirements definition within the service template in case the node does not define a specific requirement.
Steps
Situation - The node definition does not have a specific definition of a requirement but derives from a normative or additionally defined node like in this example:
In the template section the node uses undefined requirements:
Current behavior
Currently, opera executes the deployment without taking into account the undefined
dependency1
requirement and does not return an error.Expected results
opera should return a parse error showing that an undefined node requirement
dependency1
for nodehello-14
has been used in thetopology_template
section.