Change in ovirt-engine[master]: restapi: Add model description as resource

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Dec 1 10:45:37 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Add model description as resource
......................................................................


restapi: Add model description as resource

This patch changes the RESTAPI definition project so that it includes
the description of the model in three formats:

1. The original sources inside a "model.jar" resource.

2. The XML representation of the model inside a "model.xml" resource.

3. The JSON representation of the model in side a "model.json" resource.

Later patches will change the RESTAPI implementation so that it serves
these representations to the callers.

Change-Id: I10337939bd268291e177b7658975ba13139a5252
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/pom.xml
M backend/manager/modules/restapi/metamodel/concepts/src/main/java/org/ovirt/api/metamodel/concepts/Model.java
M backend/manager/modules/restapi/metamodel/tool/pom.xml
A backend/manager/modules/restapi/metamodel/tool/src/main/java/org/ovirt/api/metamodel/tool/JsonDescriptionGenerator.java
M backend/manager/modules/restapi/metamodel/tool/src/main/java/org/ovirt/api/metamodel/tool/Tool.java
A backend/manager/modules/restapi/metamodel/tool/src/main/java/org/ovirt/api/metamodel/tool/XmlDescriptionGenerator.java
6 files changed, 569 insertions(+), 23 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I10337939bd268291e177b7658975ba13139a5252
Gerrit-PatchSet: 4
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: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list