Allon Mureinik has posted comments on this change.

Change subject: core,webadmin: GetConfigurationValuesQuery for UI cache
......................................................................


Patch Set 3: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetConfigurationValuesQuery.java
Line 29:         Map<KeyValuePairCompat<ConfigurationValues, String>, Object> 
configValuesMap =
Line 30:                 new HashMap<KeyValuePairCompat<ConfigurationValues, 
String>, Object>();
Line 31: 
Line 32:         // Cache ConfigValues in String set
Line 33:         createConfigValuesSet();
Roy - this set doesn't hold the configuraiton values, but the NAMES of the 
configuration items (e.g. UtilizationThresholdInPercent, WANColorDepth, 
ProductKeyWindow7x64, VncKeyboardLayout, etc.)
To change it, you have to add another value to the ConfigValues enum, recompile 
and redploy.

However, I get what confused you - Daniel, I think you should also find a 
better name for this method.
Line 34: 
Line 35:         for (ConfigurationValues configValue : 
ConfigurationValues.values()) {
Line 36:             // Ignore an admin configuration value on filtered mode
Line 37:             // Ignore a configuration value that doesn't exist in 
ConfigValues enum


--
To view, visit http://gerrit.ovirt.org/8563
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Id51a9f86bceef07de728335643b16c0554b6876c
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkap...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Michael Kublin <mkub...@redhat.com>
Gerrit-Reviewer: Roy Golan <rgo...@redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjeli...@redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vsz...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to