Skip to content

Boolean Properties Generation in String #1

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"
...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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