You can configure the Substitution Variable and Resource Instance properties of the objects contained in the application template.
The properties display in a table view.
Click icons below the table to toggle between a tree
and table
view of the properties. Accept the configuration or click a row and click
Override to change the configuration.
Property Type
|
Procedure
|
Substitution Variable
|
Check the
Map through Substitution Variable checkbox and type the name of a substitution variable in the Substitution Variable field.
|
Resource Instance
|
Note: If you choose to use an offline server, the Existing Resource Instance and New Resource Instance from Existing Template drop-down lists will be empty. You can type the names of the required resource templates and instances.
- (Composite Property Only) No Value
- Set empty value for a composite property if a resource instance does not exist.
- Existing Resource Instance
- In the Name drop-down list, select the resource instance or type a name.
- (Not available for HTTP Connector) New Resource Instance from Template in DAA
- In the Template Name drop-down list, choose the template or type a template name.
- In the Instance Name field, type the name of the resource instance.
Note: If a template with the same name exists in the deployment server it will be replaced by the template in the DAA. To prevent this from occurring, repackage the DAA without the resource template.
- New Resource Instance from Existing Template
- In the Template Name drop-down list, choose the template or type the name of template.
- In the Instance Name field, type the name of the resource instance.
- (HTTP Connector only)
New HTTP Connector
- In the HTTP Connector Name field, accept the default name or type a new name.
- In the HTTP Connector Port field, accept the default port or type a new port.
- From a substitution variable. The substitution variable must resolve to the name of an installed resource instance.
- Check the
Map through Substitution Variable checkbox and type the name of a substitution variable in the Substitution Variable field.
Default: The name of the resource instance specified in the composite.
|
The following actions are added to the script file and object definitions are added to configuration file:
- Create resource instances or application-level substitution variables
- Map application properties to resource instances or variables
- Install resource instances. The
install action has the
auto-resolve option.
If you create a resource instance from a resource template in the DAA and the resource templates has properties that reference resource instances, TIBCO Business Studio validates that the DAA has corresponding resource templates and creates and installs resource instances on same nodes as the new resource instance. If the DAA does not contain corresponding resource templates, TIBCO Business Studio validates that the required resource instances exist on the node. If they do not exist, an error displays.
Copyright © 2022. Cloud Software Group, Inc. All Rights Reserved.