Bug 877179
Summary: | revert changes to plugin api signature for PropertyDefinitionMap.getPropertyDefinitions() | |||
---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Simeon Pinder <spinder> | |
Component: | Plugins, CLI, Usability | Assignee: | Jay Shaughnessy <jshaughn> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 4.5 | CC: | hrupp, jshaughn, lkrejci, mfoley, spinder | |
Target Milestone: | --- | |||
Target Release: | ---, RHQ 4.6 | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 878661 (view as bug list) | Environment: | ||
Last Closed: | 2013-02-26 20:33:20 UTC | Type: | Bug | |
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: | 878661 |
Comment 1
Simeon Pinder
2012-11-15 21:40:39 UTC
commit d94540025793528f2b32a7dcb07a3ed77336057f Author: Jay Shaughnessy <jshaughn> Date: Fri Nov 16 10:16:24 2012 -0500 While maintaining the fix done for Bug 786416, restore the public API that was broken in the original fix work. Also, maintain as much of the API introduced in that fix work just in case it is now in use. Also fixed PropertyDefinitionMap.put(PropertyDefinition) to be more careful, and well-defined, about how it handles ordering. TEST NOTES: The QA for this is the same as that for Bug 786416, namely to ensure that ordering is correct for PropertyDefinitionMaps. Meaning, in general, that the top-to-bottom ordering in the plugin descriptor is the left-to-right ordering in the config editor. The commit has in Comment 2 is wrong. The correct commit hash to master is: commit 4e2ff6a181ba78b6286353b3bbf1ad045643988d Author: Jay Shaughnessy <jshaughn> Date: Fri Nov 16 10:16:24 2012 -0500 This breaks the API compatibility with RHQ 4.5.1 which was released with the changed API: <diffreport> <difference binseverity="ERROR" srcseverity="ERROR" class="org.rhq.core.domain.configuration.definition.PropertyDefinitionMap" method="public java.util.List getPropertyDefinitions()">Return type of method 'public java.util.List getPropertyDefinitions()' has been changed to java.util.Map</difference> </diffreport> Because it looks like we want to keep the API as it was in 4.4.0, we need to make yet another intentional change xml file to not break the API check when checking against 4.5.1. This work was completed a while back. Closing. |