Change in ovirt-engine[ovirt-engine-3.6]: restapi: Manually add RSDL links impossible to generate

tnisan at redhat.com tnisan at redhat.com
Sat May 14 20:02:24 UTC 2016


Tal Nisan has submitted this change and it was merged.

Change subject: restapi: Manually add RSDL links impossible to generate
......................................................................


restapi: Manually add RSDL links impossible to generate

Some of the links that should be part of the RSDL are currently
impossible to generate automatically. The reason is that some of the
JAX-RS interfaces are generic, and it is impossible for the RSDL
generator to automatically infer what methods are available in the
implementations of those interfaces. In the master branch this has been
solved as part of the introduction of the new model and metamodel, but
doing the same in the 3.6 branch is too complicated, and risky. To solve
the issue in a less risky way this patch adds a new "rsdl_links.xml"
file that contains manually generated links that will be added to the
RSDL during the build process.

Change-Id: I57a0ba2bbdf9ed4d72bb1c1f15b8af274799f092
Bug-Url: https://bugzilla.redhat.com/1331068
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/rsdl/RsdlManager.java
A backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_links.xml
2 files changed, 74 insertions(+), 25 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I57a0ba2bbdf9ed4d72bb1c1f15b8af274799f092
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
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: Tal Nisan <tnisan at redhat.com>



More information about the Engine-commits mailing list