Domain Registration by Using Configuration File
The domain and transport configuration file (DomainTransportConfig.yml
) for Hawk Console contains the parameters to connect to regular and proxy domains.
For more information about proxy domains, see TIBCO Hawk Concepts Guide.
You can specify the location of the DomainTransportConfig.yml
file by using the -domain_config_file
option in the Hawk Console configuration file (hawkconsole.cfg
). For details on options present in the hawkconsole.cfg
file, see Hawk Console Configuration Options.
In the DomainTransportConfig.yml
file you can specify the following elements for the connection:
• | domainConfiguration - The parent tag for the domain and transport configurations for Hawk Console. |
• | Domain type - Specify whether the Hawk domain to be registered is a regular domain or a proxy domain. Based on the domain type, specify additional configuration parameters. The tags used for the domain type are: |
— | regular - For details about fields for the proxy domain type, see Configuration Fields in DomainTransportConfig.yml for the Regular Domain Type |
— | proxy - For details about fields for the proxy domain type, see Configuration Fields in DomainTransportConfig.yml for Proxy Domain Type |
• | domainName - Name of the domain that is to be registered. |
The following figure shows the hierarchy of the tags that can be defined in the DomainTransportConfig.yml
file.
Figure 14: Hawk Console Domain and Transport Configuration Hierarchy
Domain and Transport Configuration Parameters
Field |
Description |
|
URL of the domain that needs to be registered. The syntax is:
|
|
User name and password required to log in to the domain. The syntax is
|
|
Specify the value as |
Example
For example, the following is a sample code of the DomainTransportConfig.yml
file for a non-secure connection to the default
domain using TCP Transport for TIBCO Hawk.
domainConfiguration:
regular:
- domainName: default
transport: tibtcp
tcpSelfUrl: localhost:2581
tcpDaemonUrl: localhost:2561
tcpsecurityPolicy: ' '