Exporting an Application Profile
An application profile can be exported from the application. After an application is configured with a profile, it becomes part of the application archive.
Do the following to export an application profile as a substvar and properties file:
- Click the <Project>.application, expand Package Unit folder and double-click Properties to open the Properties page.
- In the Properties view, select the profile, and click the Export Profile button. The Export Profile wizard opens.
- Select the properties to be exported and use the
Browse button to browse to a location where you want to download the profile file as substvar or properties file.
- To export as substvar file, select the check box
Export as substvar file and browse the location to export the substvar file.
A <ProfileName>.substvar file gets created in the location specified. You can now import this profile file into another application.
- To export as a properties file, select the check box Export as properties file and browse the location to export the properties file. The properties that are selected while exporting the profile will be generated as key-value pairs in the <ApplicationName.application>-<ProfileName>.properties file. The keys in the Properties file is generated using the names of the properties that are exported. For example, //<ApplicationName>//<PropertyName>=<value>.
- To export the application properties file with property names separated by a dot (.), select the
Use dot ('.') as a separator check box. This check box is enabled only when the
Export as properties file check box is selected. The properties that are selected while exporting the profile will be generated as
key-value pairs in the
<ApplicationName.application>-<ProfileName>.properties file. The keys in the Properties file is generated using the names of the properties that are exported. For example,
<ApplicationName>.<PropertyName>=<value>
Note:
- In the properties view, the values of the properties in the profile can be anything, when the profile is exported as a properties file it changes to #<ApplicationName>.<PropertyName>#
- It is recommended to use the dot (.) separator for exporting properties file while configuring the Kubernetes Configmap with TIBCO BusinessWorks™ Container Edition.
- To export as substvar file, select the check box
Export as substvar file and browse the location to export the substvar file.
- Click Finish.
The following table lists the values of five different types of properties if the default values are not provided for all the properties and exported as properties file
The following table lists the values of five different types of properties if the default values are provided for all the properties and exported as properties file
Data Type | Property Name | Values Before Export | Values After Export | Values After Export in properties file | |||
---|---|---|---|---|---|---|---|
Default | Default | ||||||
String | newProperty5 | #//test//newProperty5# | newProperty5 | ||||
Password | newProperty4 | #//test//newProperty4# | <encrypted value of the password> | ||||
Integer | newProperty3 | 0 | #//test//newProperty3# | 0 | |||
Long | newProperty2 | 0 | #//test//newProperty2# | 0 | |||
Boolean | newProperty1 | false | #//test//newProperty1# | false |
Data Type | Property Name | Values Before Export | Values After export | Values After Export in properties file | |||
---|---|---|---|---|---|---|---|
Default | Default | ||||||
String | newProperty5 | TIBCO | #//test//newProperty5# | TIBCO | |||
Password | newProperty4 | *** | #//test//newProperty4# | <encrypted value of the password> | |||
Integer | newProperty3 | 1 | #//test//newProperty3# | 1 | |||
Long | newProperty2 | 12345 | #//test//newProperty2# | 12345 | |||
Boolean | newProperty1 | true | #//test//newProperty1# | true |
Data Type | Property Name | Values Before Export | Values After Export | Values After Export in properties file | |||
---|---|---|---|---|---|---|---|
Default | Default | ||||||
String | newProperty5 | TIBCO | #test.newProperty5# | TIBCO | |||
Password | newProperty4 | *** | #test.newProperty4# | <encrypted value of the password> | |||
Integer | newProperty3 | 1 | #test.newProperty3# | 1 | |||
Long | newProperty2 | 12345 | #test.newProperty2# | 12345 | |||
Boolean | newProperty1 | true | #test.newProperty1# | true |
Copyright © Cloud Software Group, Inc. All rights reserved.