Nimrod Lahav created HHQ-5872:
-
Summary: Mngt Rest API -create group using XML not working
Key: HHQ-5872
URL: https://jira.hyperic.com/browse/HHQ-5872
Project: Hyperic HQ
Issue Type: Bug
Components: API
Affects Versions: 6.0
Environment: Hyperic Version :
master EE Daily 423
Reporter: Nimrod Lahav
Assignee: Dan Zada
Priority: Critical
sending post request to create new dynamic group using XML (not json) fails.
get error :
Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions
Two classes have the same XML type name "DynamicGroupType". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.vmware.hyperic.mgntApi.DynamicGroupBase
at com.vmware.hyperic.mgntApi.DynamicGroup
this problem is related to the following location:
at com.vmware.hyperic.mgntApi.DynamicGroup
@XmlAttribute/@XmlValue need to reference a Java type that maps to text in XML.
this problem is related to the following location:
at private java.util.List com.vmware.hyperic.mgntApi.RoleNode.children
at com.vmware.hyperic.mgntApi.RoleNode
at private java.util.List com.vmware.hyperic.mgntApi.RoleList.roles
at com.vmware.hyperic.mgntApi.RoleList
at private com.vmware.hyperic.mgntApi.RoleList com.vmware.hyperic.mgntApi.DynamicGroup.roleList
at com.vmware.hyperic.mgntApi.DynamicGroup
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.hyperic.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira