Description of problem: On the raw-config branch the properties of a plugin configuration are not being persisted to the database. When you go to view the connection properties on the inventory tab for a resource in the web UI, you will see a blank page because no properties are in the database. This is a regesssion that I think I introduced with some of my plugin container of plugin descriptor parser changes during the last couple sprints. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Deploy the JBoss AS plugin on server and agent 2. The JBoss instance for your local RHQ server should get discovered 3. Import JBoss instance into inventory 4. Go to 'Inventory' tab for resource corresponding to RHQ server 5. In the subnav click on 'connection properties' Actual results: Below the nav, the page is blank Expected results: Should see text and fields corresponding to the plugin configuration of the JBoss plugin. Additional info:
The problem here turned out to be in the serialization code in Configuration.java. I had refactored the Externalization helper methods, and with my changes, the parent references of a configurations' Property's and RawConfiguration's was not getting set; consequently, they were not getting persisted in the database. I have fixed the regression and updated unit tests accordingly. The commit for this work is, 9f6e1dc7c556715481c79e9727c347aa5e6400d8
verified. http://storm.idm.lab.bos.redhat.com:7080 1. Deployed the JBoss AS plugin on server and agent 2. Imported JBoss instance into inventory 3. Go to 'Inventory' tab for resource corresponding to RHQ server 4. In the subnav click on 'connection properties' result screenshot attached
Created attachment 375909 [details] connection-tab for jboss server
moving status to on_qa as this needs to be verified after the intergration.
verified that the connection property is retained for resources http://10.16.120.159:7080
Mass-closure of verified bugs against JON.