Change resource key format of as7plugin HostController and StandaloneServer resource types

Thomas Segismont tsegismo at redhat.com
Thu Jul 18 08:06:41 UTC 2013


Hi,

I've made a fix for Bug 969621 - EAP 6 managed plug-in is unable to 
discover EAP servers when more then one is running on a single host.
https://bugzilla.redhat.com/show_bug.cgi?id=969621

It's in a bug branch:
https://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?h=bug/969621&id=a6b58593992b008c1e9fa988d24b0bde71d395b1

We used to build resource keys for HostController and StandaloneServer 
resource types following these rules:
* if the server was auto discovered, use AS7 baseDir
* if the server was manually added, use [host]:[port]

The new rules are:
* if the server was auto discovered, use server host config (standalone 
or host XML) file path, prefixed by "hostConfig: "
* if the server was manually added, use [host]:[port], prefixed by 
"hostPort: "

In order to preserve existing resources, BaseProcessDiscovery now 
implements ResourceUpgradeFacet.

Heiko, Stefan, can one of you review the change please?

Thanks,
Thomas





More information about the rhq-devel mailing list