Creating configuration templates

Configuration templates contain configuration data. Typically, the data is for server configurations for servers such as Tomcat servers. However, the configuration data can be used for any application that you deploy.

About this task

A configuration template file contains property names and property references, instead of property names and corresponding values. For example, the following line can be used in a configuration template:
database.username=@DB_USER@
When you deploy the component in an environment, the value of the DB_USER property that is defined for that environment is substituted for the @DB_USER@ reference.

Procedure

  1. Click Components > selected_component > Configuration > Configuration File Templates > Create New Configuration Template to open the Create New Configuration Template window.
    The Create New Configuration Template window
  2. Type a name in the Name field.
  3. In the Template field, enter or paste the template text. Text can be in any script. The amount of text is based on the database that IBM® UrbanCode Deploy uses. Practically, there is no limit to the amount of text that you can use for a configuration template.
  4. When you are finished, save your work.

What to do next

You can edit configuration templates any time by using the Edit action.

Feedback