
Michael Pasternak has submitted this change and it was merged. Change subject: restapi: filtering the api according to ApplicationMode ...................................................................... restapi: filtering the api according to ApplicationMode Currently the Application Mode can contain 3 values. VirtOnly, GlusterOnly and AllModes. The value of Application Mode is stored in vdc_options table. It will be read at the time of login and stored in Current. In GlusterOnly mode, the links pointing to data center, storage domains vms will not included. Summary vm details also not included. In VirtOnly mode, the glusterVolumes under the cluster resource will be hidden. Appropriate test cases are written for all 3 modes. Change-Id: I1cf9bebe85ebc3e321006bc6e45c8ba08bfca6dd Signed-off-by: Kanagaraj M <kmayilsa@redhat.com> --- M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendApiResource.java M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendClustersResource.java M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendHostsResource.java M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/security/auth/LoginValidator.java M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendApiResourceTest.java M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/security/auth/LoginValidatorTest.java 6 files changed, 315 insertions(+), 42 deletions(-) Approvals: Michael Pasternak: Looks good to me, approved Kanagaraj M: Verified -- To view, visit http://gerrit.ovirt.org/5353 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I1cf9bebe85ebc3e321006bc6e45c8ba08bfca6dd Gerrit-PatchSet: 5 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Kanagaraj M <kmayilsa@redhat.com> Gerrit-Reviewer: Kanagaraj M <kmayilsa@redhat.com> Gerrit-Reviewer: Michael Pasternak <mpastern@redhat.com> Gerrit-Reviewer: Shireesh Anjal <sanjal@redhat.com>