Change in ovirt-engine[master]: restapi: Fix JAXB annotations of scheduling policy unit

juan.hernandez at redhat.com juan.hernandez at redhat.com
Wed Sep 30 14:42:08 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Fix JAXB annotations of scheduling policy unit
......................................................................


restapi: Fix JAXB annotations of scheduling policy unit

This complex type uses a JAXB annotation to assign to the Java getter of
the "properties" element the "getPropertiesMetaData" name. This isn't
consistent with the rest of the API, where the name of the getter uses
the plural of the name of the element, in this case "getProperties".
This patch fixes that.

Change-Id: I9d8b0520c7abff47e3e9dd5fc8bbb70c190ffd39
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/schema/api.xsd
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/PolicyUnitMapper.java
M backend/manager/modules/restapi/types/src/test/java/org/ovirt/engine/api/restapi/types/PolicyUnitMapperTest.java
3 files changed, 8 insertions(+), 8 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/46859
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9d8b0520c7abff47e3e9dd5fc8bbb70c190ffd39
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list