Skip to content

assigning a value expression to the default of a property/parameter/attribute definition is not allowed by TOSCA #42

@philippemerle

Description

@philippemerle

The TOSCA 1.3 grammar allows one to assign a default value to a property/attribute/parameter definition, see Sections 3.6.10.4, 3.6.12.3, and 3.6.14.2. But I found no assigment of a default value expression such as a concat/join/token/get_property/get_attribute/... function call in the TOSCA 1.3 specification. Conceptually, the default value of a property/attribute/parameter definition is a simple (or complex) constant such as 1, true, hello, 10 s, 20 Hz, [ 1, 2, 3 ], { x: 10, y: 20 }, ...

However, I found around 300 assigments of a default value expression across all xOpera examples.
For this finding and all my previous issues, I found them automatically with our TOSCA toolbox.

Is it an expected specific xOpera feature or a misinterpretation of the TOSCA specification?

Metadata

Metadata

Assignees

No one assigned

    Labels

    TOSCAThis has to do something with TOSCA standardbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions