Allon Mureinik has uploaded a new change for review.

Change subject: core: Filter GetClustersWithPermittedActionQuery
......................................................................

core: Filter GetClustersWithPermittedActionQuery

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: Ifaba46314597b607163c9bb43dc4e7f1440a7d6c
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetClustersWithPermittedActionQuery.java
A 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetClustersWithPermittedActionQueryTest.java
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryType.java
3 files changed, 50 insertions(+), 5 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifaba46314597b607163c9bb43dc4e7f1440a7d6c
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