Substitution variables

Substitution variables are used to reference parameters throughout DROPS by referring to various entities' properties. The properties can either be the fields used to define the entity's details, or the properties defined manually in each entity.

Reference

For more information about defining properties in entities, refer to Properties.

These values can either be entered manually or come from property values defined in different entities linked to the entity. Variables enable you to change the value of parameters retroactively and consistently without changing the overall definition of your entities and guarantee that the deployment process will work correctly.

To declare a substitution variable, use one of the following syntaxes:

  • Point to a specific field or property when the entity does not need to be defined.

    ${field-name} or ${[property-key]}

    Example

    ${user}, ${password}, ${application.code}, ${local.root} are replaced by the value defined in the corresponding field.

  • Point to attribute information defined in an entity.

    ${[entity-name].[attribute]}

    Example

    ${importStrategy.localroot} is replaced by the path entered in the import strategy's Root Directory field.

  • Point to a user-defined property in a specific entity.

    ${[entity-name].props.[property-key]}

    Example

    ${application.props.myProperty} is replaced by the value of the property called myProperty declared in the application.