Replies: 1 comment
-
I think you are right, the original TOSCA spec probably made an error in 14.4.1.2, but if ETSI has gone ahead and used it ... we might as well, too. Feel free to convert to an issue and we can fix it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Once again, question since I'm not 100% sure if this is an issue (but I'm almost sure)
I'm trying to parse a file with this text:
But I get the
topology_template.substitution_mappings.properties["flavour_id"]: "string" instead of "list"
errorInitially I thought that the snippet had some error, and I see that the code always waits for a list of 1 or 2 elements (the later one deprectaed in TOSCA 1.3 according to the code comments)
But then I found that the TOSCA 1.2 document itself is using simple values for properties in substituttion mappings (section 14.4.1.2 , page 346
And section 3.8.8 confirms that a single string (constant value) is valid (highlight is mine)
I also checked and TOSCA 1.3 discontinued this, but for TOSCA <=1.2 it should be supported
Should PropertyMapping, REadPropertyMapping, .... be modified to accept also a constant value? (for tosca<=1.2)
This is one of those things needed to support ETSI SOL001 2.7.1
Beta Was this translation helpful? Give feedback.
All reactions