Ravi Nori has posted comments on this change.
Change subject: restapi : vm/template Import candidates should have /disks
(#829672)
......................................................................
Patch Set 3: Verified
(2 inline comments)
....................................................
File
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainTemplateResource.java
Line 31: protected Template getFromExportDomain() {
Line 32: org.ovirt.engine.core.common.businessentities.VmTemplate
entity = getEntity();
Line 33: return addLinks(populate(map(entity, null), entity), null, new
String[0]);
Line 34: }
Line 35:
I have over ridden this to add links
Line 36: @Override
Line 37: public Response doImport(Action action) {
Line 38: validateParameters(action, "cluster.id|name");
Line 39:
....................................................
File
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainVmResource.java
Line 31: protected VM getFromExportDomain() {
Line 32: org.ovirt.engine.core.common.businessentities.VM entity =
getEntity();
Line 33: return addLinks(populate(map(entity, null), entity), null, new
String[0]);
Line 34: }
Line 35:
I have over ridden this to add links
Line 36: @Override
Line 37: public Response doImport(Action action) {
Line 38: validateParameters(action, "cluster.id|name");
Line 39:
--
To view, visit http://gerrit.ovirt.org/11126
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I83fd4b046f72f73bb516615137522ac40028a7f0
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
Gerrit-Reviewer: Ravi Nori <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches