The name of the host controller is in host.xml and the expectation is that the configured name be assigned to the resource. Having to manually change the name of the resource after each discovery is not acceptable.
The current behavior results in all resources having the same name making it impossible to distinguish one resource from another unless the resource's lineage or connection properties are examined.
Added the value of the name attribute of the host element to the resource name when discovered or imported into inventory. This is applicable only to host controllers for now.
In the future this can be extended to standalone but at this time the standalone descriptor does not have a similar property.
I am also attaching a screenshot to show how the resource name changed after this change.
Sample XML node that contains the name attribute (in host.xml):
<host name="master_one" xmlns="urn:jboss:domain:1.4">
master branch commit:
Heiko Rupp <email@example.com> updated the status of jira JON3-47 to Resolved
Moving to ON_QA as available to test with brew build of DR01: https://brewweb.devel.redhat.com//buildinfo?buildID=373993
Build Number :
One edge case failed - bz 1128159
mfoley user <firstname.lastname@example.org> updated the status of jira JON3-47 to Reopened
mfoley user <email@example.com> updated the status of jira JON3-47 to Resolved
Larry O'Leary <firstname.lastname@example.org> updated the status of jira JON3-47 to Closed