rhq-project/rhq — pull request #48 by lzoubek (2014-06-09 13:14:33+00:00)
Title: Bug 1102562 - [eap6] Make DomainController's Domain name configurable

Domain Name is now part of resourceConfiguration for DomainController and
HostController resources. Only DC's are allowed to change this configuration
(handled by EAP). As 'Domain Name' is not available (and known) from EAP
admin console, there's a high chance it's unconfigured (having default value
'Unnamed domain'). Plugin tries to be smart and configures this value (if
defaults detected) to "Domain on : - this magic
happens in loadConfiguration()

Although this patch is quite short, I am not sure if HostControllerComponent#loadResourceConfiguration() is the right place to preconfigure.

I'll merge this unless anyone speaks up within a week.