Change in ovirt-engine[master]: restapi: Fix XML schema for fencing agents

juan.hernandez at redhat.com juan.hernandez at redhat.com
Fri Feb 27 10:14:58 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Fix XML schema for fencing agents
......................................................................


restapi: Fix XML schema for fencing agents

The "Agents" XML complex type corresponds to a collection, not to an
entity. But it is defined as an extension of the "BaseResource" type,
which corresponds to entities, not to collections. This breaks our rules
for XML schema and induces errors in the Java SDK, as the generated type
"Agents" is not within the bounds of the type parameters used by the
generic type "CollectionDecorator". This patch fixes the "Agents" type
so that it extends "BaseResources".

Change-Id: Ia5eed94f34ce7fafd98c362356e333db117668be
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
1 file changed, 3 insertions(+), 3 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia5eed94f34ce7fafd98c362356e333db117668be
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list