Doron Fediuck has submitted this change and it was merged.
Change subject: engine: set QoS href under profile
......................................................................
engine: set QoS href under profile
* Add a qurey to fetch all qos entities by type
* For disk, cpu and vnic profile, fetch all qos objects (if needed),
and set the DataCenter, inorder to map it to
correct path (/DataCenter/<dc_id>/qoss/<qos_id>/)
Change-Id: Ib345485d9d64d3adf28c2ea61a17c0cc0c828abb
Bug-Url:
https://bugzilla.redhat.com/1078863
Signed-off-by: Gilad Chaplik <gchaplik(a)redhat.com>
---
A
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAllQosByTypeQuery.java
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryType.java
M
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/qos/QosBaseDaoFacadeImpl.java
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendCpuProfileResource.java
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendCpuProfilesResource.java
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendDiskProfileResource.java
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendDiskProfilesResource.java
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendVnicProfileResource.java
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendVnicProfilesResource.java
M packaging/dbscripts/qos_sp.sql
10 files changed, 199 insertions(+), 3 deletions(-)
Approvals:
Juan Hernandez: Looks good to me, but someone else must approve
Doron Fediuck: Looks good to me, approved
Gilad Chaplik: Verified
Arik Hadas: Looks good to me, but someone else must approve
--
To view, visit
http://gerrit.ovirt.org/31929
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib345485d9d64d3adf28c2ea61a17c0cc0c828abb
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck(a)redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Lior Vernia <lvernia(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server