Orange-OpenSource / Cloudnet-TOSCA-toolbox

Set of tools for validating, visualizing and analyzing TOSCA resource descriptions
https://toscatoolbox.orange.com
MIT License
14 stars 11 forks source link

Processing inherited capability property values #54

Closed pmjordan closed 2 years ago

pmjordan commented 2 years ago

When translating a file which has property assignments in capability definitions those assignments are not used when inherited by a node.

'translate example.txt Translate example.txt... [Info] example.txt: TOSCA syntax checking [Info] example.txt: No service template catalog to load. [Info] example.txt: TOSCA type checking... [ERROR] example.txt@35,7:topology_template:node_templates:PrdCtgMgmt:capabilities:TMF620_capability - id required property unassigned!'

but this property is assigned in line 20

example.txt

philippemerle commented 2 years ago

Thank @pmjordan for this bug report. I will correct it asap.

philippemerle commented 2 years ago

@pmjordan: could you check if the last commit resolves this issue?

pmjordan commented 2 years ago

Yes thank you for your quick work. The error message no longer appears.