tliron / puccini

Cloud topology management and deployment tools based on TOSCA
https://puccini.cloud
Apache License 2.0
91 stars 20 forks source link

node_filter example fails validation #34

Closed pmjordan closed 4 years ago

pmjordan commented 4 years ago

Attempting to parse example 12 from TOSCA simple profile1.3 results in an error @19,9 topology_template.node_templates["mysql_compute"].node_filter.capabilities: "!!seq" instead of "!!map"

Obviously I first commented out the sections which caused errors because parts were omitted for brevity. I attach my test file below with file extension changed from yml to txt so that it can be submitted to github

example12.txt

tliron commented 4 years ago

You are correct, this is a bug, thanks. Will submit a fix soon.