Allon Mureinik has uploaded a new change for review.

Change subject: core: Filter GetDataCentersWithPermittedActionOnClustersQuery
......................................................................

core: Filter GetDataCentersWithPermittedActionOnClustersQuery

Define the query as a user query so it could be called in the User
Portal.

The query was refactored to use the user stored in the query, which
is initiallized from SessionDataContainer in the ctor instead of
calling it again.

A test was written to formally prove that the behavior was not
changed (except for the definition as a user query).

Change-Id: If7d99f0ab6e6a9b5079a0ebe064218eea36ce731
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetDataCentersWithPermittedActionOnClustersQuery.java
A 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetDataCentersWithPermittedActionOnClustersQueryTest.java
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryType.java
3 files changed, 42 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/48/2248/1
--
To view, visit http://gerrit.ovirt.org/2248
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If7d99f0ab6e6a9b5079a0ebe064218eea36ce731
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amure...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to