You can bind properties of XaaS, machines, Software, and custom properties to other properties in an application blueprint.

For example, your software architect might modify property definitions in the life cycle scripts of a WAR component. A WAR component might need the installation location of the Apache Tomcat server component, so your software architect configures the WAR component to set the server_home property value to the Apache Tomcat server install_path property value. As the architect assembling the blueprint, you have to bind the server_home property to the Apache Tomcat server install_path property for the Software component to provision successfully.

You set property bindings when you configure components in an application blueprint. On the Blueprint page, you drag your component onto the canvas and click the Properties tab. To bind a property to another property in a blueprint, select the Bind checkbox. You can enter ComponentName~PropertyName in the value text box, or you can use the down arrow to generate a list of available binding options. You use a tilde character ~ as a delimiter between components and properties. For example, to bind to the property dp_port, on your MySQL software component, you could type mysql~db_port.

To bind to properties that are configured during provisioning, such as the IP address of a machine or the host name of a Software component, you enter _resource~ComponentName~PropertyName. For example, to bind to the reservation name of a machine, you might enter _resource~vSphere_Machine_1~MachineReservationName.

See the Examples of String Property Bindings table for examples of a string property value when binding to different types of properties.

Table 1. Examples of String Property Bindings

Sample Property Type

Property Type to Bind

Binding Outcome (A binds to B)

String (property A)

String (property B="Hi")

A="Hi"

String (property A)

Content (property B="http://my.com/content")

A="http://my.com/content"

String (property A)

Array (property B=["1","2"])

A="["1","2"]"

String (property A)

Computed (property B="Hello")

A="Hello"

See the Examples of Array Property Bindings table for examples of an array property value when binding to different types of properties.

Table 2. Examples of Array Property Bindings

Sample Property Type

Property Type to Bind

Binding Outcome (A binds to B)

Array (property A)

String (property B="Hi")

A="Hi"

Array (property A)

Content (property B="http://my.com/content")

A="http://my.com/content"

Array (property A)

Computed (property B="Hello")

A="Hello"