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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Yevgeny Zaspitsky <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to