Closed philippemerle closed 2 years ago
Thank you for this. Apparently the change happened in TOSCA 1.1 and I missed it...
By the way, I am certain there is an error in the "Shorthand Name" and "Type Qualified Name" for these. It says "tosca:BlockStorage". However, if we are consistent with other changes in the spec, it should be "tosca:Storage.BlockStorage". I believe this was an omission when they made the change in TOSCA 1.1. See, for example, "tosca:Container.Runtime". For Puccini I have decided to use a heuristic for calculating the shorthand and type qualified name and so I am using "Storage.BlockStorage".
For the following service template
puccini raises an error
According to Section 5.9.11 of TOSCA 1.3,
tosca.nodes.Storage.BlockStorage
is a correct Type URI.tosca.nodes.BlockStorage
is not defined in TOSCA 1.3.The issue seems to come from https://github.com/tliron/puccini/blob/main/assets/tosca/profiles/simple/1.3/nodes.yaml.
tosca.nodes.BlockStorage
shall be replaced bytosca.nodes.Storage.BlockStorage
. Note thattosca.nodes.ObjectStorage
shall be replaced bytosca.nodes.Storage.ObjectStorage
according to Section 5.9.10 of TOSCA 1.3.