Retrieve the host.name property value from the actual node name

Description

In order to assist with multi-node deployment, in scenarios where cas configuration and specially cas.properties file is externalized, it would be ideal to simply just have one set of configuration files for all nodes, such that there would for instance be one cas.properties file for all nodes. This would remove the need to copy/sync config files over across nodes, again in a situation where they are externalized.

The current drawback is that in keeping only one cas.properties file, we'd lose the ability to define unique host.name property values for each node, which would assist with troubleshooting and diagnostics.

The proposed feature is to be able to retrieve the host.name value directly from the actual node name, rather than relying on the configuration, only if one isn't specified in the cas.properties file. This should accommodate both scenarios.

Environment

None

Status

Assignee

Misagh Moayyed

Reporter

Misagh Moayyed

Labels

None

Estimated End Date

None

Audience

None

Components

Fix versions

Affects versions

3.5.2

Priority

Trivial