Yevgeny Zaspitsky has posted comments on this change. Change subject: restapi: provide management network link upon cluster retrieval ......................................................................
Patch Set 1: (1 comment) https://gerrit.ovirt.org/#/c/38627/1/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendClustersResource.java File backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendClustersResource.java: Line 159: getOptionalEntity(org.ovirt.engine.core.common.businessentities.network.Network.class, Line 160: VdcQueryType.GetManagementNetwork, Line 161: new IdQueryParameters(clusterId), Line 162: clusterId.toString(), Line 163: false); > Running the query here means that when n clusters are requested we will run I put that in doPopulate method with intention that isn't being run unless Content-All=true http header was supplied by the user. Is my understanding correct? Line 164: if (network != null) { Line 165: final Network managementNetwork = new org.ovirt.engine.api.model.Network(); Line 166: managementNetwork.setCluster(cluster); Line 167: managementNetwork.setId(network.getId().toString()); -- To view, visit https://gerrit.ovirt.org/38627 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iad3403dc1ece3d2973054f29f4c7dd2049d39878 Gerrit-PatchSet: 1 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 Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
