This bug follows BZ886119 - "JON is using JNDI when referring to child Datasource resource instead of specified Resource name". As a reminder, when a created resource is discovered, it is given a name by the agent plugin. If the underlying managed object has no "name" attribute, the agent plugin gives a name to the resource which is completely different than the user supplied name. The proposal is to maintain a cache of the latest (10 minutes) resource creation requests (CreateResourceReport holds the user supplied name), and to lookup for an entry in this cache before sending the inventory report to the server, in order to update the newly discovered resource name, if needed.
Fixed in master commit 7652569a57e633470fa325470533aa35769fbeda Author: Thomas Segismont <tsegismo> Date: Thu Oct 17 12:32:36 2013 +0200 Made ResourceFactoryServerService#completeCreateResource synchronous When merging inventory report, look for a CreateResourceHistory entity if merging a creatable resource. If it exists, use the user supplied resource name. Remove unused code in ResourceFactoryManagerBean Added integration test
Additional commit in master commit 3cee61d26c5151750a727502fd5c95c4bf715a18 Author: Thomas Segismont <tsegismo> Date: Wed Oct 30 15:34:28 2013 +0100 Revert "Bug 886119 - JON is using JNDI when referring to child Datasource resource instead of specified Resource name"
Bulk closing of 4.10 issues. If an issue is not solved for you, please open a new BZ (or clone the existing one) with a version designator of 4.10.