Change in ovirt-engine[master]: restapi: Remove the intermediate "tag.parent" element

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Sep 29 17:51:17 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Remove the intermediate "tag.parent" element
......................................................................


restapi: Remove the intermediate "tag.parent" element

Currently the relationship bettween a tag and it's parent tag used to be
represented using an intermedite "parent" tag, that in turn contains
another "tag" element:

  <tag>
    <name>mytag</name>
    <parent>
      <tag id="..." href="..."/>
    </parent>
  </tag>

This patch simplifies this structure so that only one "parent" element
is used now:

  <tag>
    <name>mytag</name>
    <parent id="..." href="..."/>
  </tag>

Change-Id: I2c4b7a5147a60e55360ca0c4326d7613238b0709
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/README.md
M backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
M backend/manager/modules/restapi/interface/definition/src/main/schema/api.xsd
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendTagResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendTagsResource.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendTagResourceTest.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendTagsResourceTest.java
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/TagMapper.java
8 files changed, 52 insertions(+), 42 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2c4b7a5147a60e55360ca0c4326d7613238b0709
Gerrit-PatchSet: 3
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