Bug 535766 (RHQ-2428)

Summary: argument to ConfigurationManagerBean.scheduleGroupResourceConfigurationUpdate() is XmlAnyType to WsClients.
Product: [Other] RHQ Project Reporter: Simeon Pinder <spinder>
Component: Web ServicesAssignee: Simeon Pinder <spinder>
Status: CLOSED NOTABUG QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: cwelton, jshaughn, sdharane
Target Milestone: ---Keywords: SubBug
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-2428
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
All Webservice clients.
Last Closed: 2014-05-09 15:50:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 565635    
Attachments:
Description Flags
RHQ-2428-patch.txt none

Description Simeon Pinder 2009-09-15 18:05:00 UTC
One of the arguments to ConfigurationManagerBean.scheduleGroupResourceConfigurationUpdate() is an XmlAnyType.  It looks like the mapping type was not correctly applied during JAXB generation.

Suggested fix is to use an XmlJavaTypeAdapter instance on server side to return an equivalent JAXB serializable type consumable by webservice clients.  This may require WS scope only annotations being added to core/domain types to achieve successful serialization.  No other changes to core/domain types are anticipated. 

Comment 1 Simeon Pinder 2009-09-18 22:10:14 UTC
In release discussions with Joe about this issue, it was pushed to be fixed in post 2.3.  

Comment 2 Simeon Pinder 2009-09-18 22:27:22 UTC
Impact to Users:
For all WS clients they will not have a way to schedule GroupResourceConfiguration updates from the Web Service interface alone.  The type exposed to them is too vague.  This will be fixed in a subsequent release.

The suggested workaround is to use the cli to schedule GroupResourceConfiguration updates remotely or to do that update by the Jon UI. 

Comment 3 Simeon Pinder 2009-09-18 22:49:52 UTC
This makes the parameters more explicit. Still need to add unit test code for this. This is still a TODO:

Comment 4 Red Hat Bugzilla 2009-11-10 21:04:16 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2428
Imported an attachment (id=368798)


Comment 5 wes hayutin 2010-02-16 16:54:17 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 6 wes hayutin 2010-02-16 16:59:35 UTC
making sure we're not missing any bugs in rhq_triage

Comment 7 Jay Shaughnessy 2014-05-09 15:50:56 UTC
WS are gone.