Bug 535766 (RHQ-2428) - argument to ConfigurationManagerBean.scheduleGroupResourceConfigurationUpdate() is XmlAnyType to WsClients.
Summary: argument to ConfigurationManagerBean.scheduleGroupResourceConfigurationUpdate...
Keywords:
Status: CLOSED NOTABUG
Alias: RHQ-2428
Product: RHQ Project
Classification: Other
Component: Web Services
Version: unspecified
Hardware: All
OS: All
low
medium
Target Milestone: ---
: ---
Assignee: Simeon Pinder
QA Contact: Mike Foley
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: rhq_spearhead
TreeView+ depends on / blocked
 
Reported: 2009-09-15 18:05 UTC by Simeon Pinder
Modified: 2014-05-09 15:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
All Webservice clients.
Last Closed: 2014-05-09 15:50:56 UTC
Embargoed:


Attachments (Terms of Use)
RHQ-2428-patch.txt (4.20 KB, text/plain)
2009-09-18 22:49 UTC, Simeon Pinder
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.