alien4cloud / alien4cloud-cloudify2-provider

Contains the PaaS provider plugin to allow deployments using Cloudify v2
http://alien4cloud.github.io/documentation/cloudify2_driver/index.html
Apache License 2.0
0 stars 3 forks source link

Boolean Properties Generation in String #1

Open ViktorOdin opened 10 years ago

ViktorOdin commented 10 years ago

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"
...
lucboutier commented 10 years ago

Hi Victor,

This is a bug but we intend to support TOSCA in a closer way in next releases. This will change a little the way to handle parameters in the operations implementation and we will make sure that this kind of issues won't occur. Thanks for the feedback and we'll let you know on how things are going be handled.

Luc