Change in ovirt-engine[master]: restapi: add getOptionalEntity method
juan.hernandez at redhat.com
juan.hernandez at redhat.com
Thu Mar 12 13:47:38 UTC 2015
Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: add getOptionalEntity method
......................................................................
restapi: add getOptionalEntity method
Provide a way to load an optional entity from the backend and
if that's missing an Exceptioni isn't being thrown. Upon a failure the
regular failure handling logic applies.
Change-Id: I2cebffc1676cf344ee8253f1677c8470489506d8
Signed-off-by: Yevgeny Zaspitsky <yzaspits at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendResource.java
1 file changed, 31 insertions(+), 2 deletions(-)
Approvals:
Juan Hernandez: Looks good to me, approved
Yevgeny Zaspitsky: Verified
--
To view, visit https://gerrit.ovirt.org/38626
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2cebffc1676cf344ee8253f1677c8470489506d8
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yevgeny Zaspitsky <yzaspits at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Yevgeny Zaspitsky <yzaspits at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list