Skip to content

Boolean Properties Generation in String #1

@ViktorOdin

Description

@ViktorOdin

The Tosca node definition have a boolean properties but the recip generated write it between quote like a string

definition file:

...
node_types:
  fasconnect.nodes.iis:
    derived_from: tosca.nodes.SoftwareComponent
...
    properties:
      dotNetInstall:
        type: boolean
        default: false
...

test in groovy file:

def dotNetInstall = config.get(serviceName).dotNetInstall

if(dotNetInstall){
    ...
}

properties generated:

...
iis.dotNetInstall="false"
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions