Change in ovirt-engine[ovirt-engine-4.0]: restapi: Add 'diskattachments' link to storage domain VM

tnisan at redhat.com tnisan at redhat.com
Thu Oct 13 12:03:19 UTC 2016


Tal Nisan has submitted this change and it was merged.

Change subject: restapi: Add 'diskattachments' link to storage domain VM
......................................................................


restapi: Add 'diskattachments' link to storage domain VM

Starting with version 4.1 of the engine the links to sub-collections are
inferred from the model, and automatically added. But in the 4.0 branch they
still need to be added manually. The 'diskattachments' link for virtual
machines that can be imported from a storage domain was missing, this patch
adds it.

Change-Id: I1239e4f5a8e73cd1ec213f47b1e899fe692bd21f
Bug-Url: https://bugzilla.redhat.com/1383264
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainVmResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainVmsResource.java
2 files changed, 7 insertions(+), 2 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1239e4f5a8e73cd1ec213f47b1e899fe692bd21f
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>



More information about the Engine-commits mailing list