Yair Zaslavsky has posted comments on this change.

Change subject: aaa: Adding the ability to enabled/disable an extension via 
engine configration file
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.ovirt.org/#/c/24977/2/backend/manager/modules/extension-manager/src/main/java/org/ovirt/engine/core/extensions/mgr/ExtensionManager.java
File 
backend/manager/modules/extension-manager/src/main/java/org/ovirt/engine/core/extensions/mgr/ExtensionManager.java:

Line 206:         for (ExtensionEntry entry : loadedEntries.values()) {
Line 207:             //Engine local config might override the enabled property 
of the configuration
Line 208:             //if a proper ENGINE_EXTENSION_ENABLE_<NAME> entry exists 
at the engine config.
Line 209:             entry.enabled =
Line 210:                     EngineLocalConfig.getInstance().getBoolean(
> please do not add new line after = operator...
i thought you're against temp variables :)
Line 211:                             "ENGINE_EXTENSION_ENABLE_" + 
entry.getName(),
Line 212:                             entry.enabled
Line 213:                     );
Line 214:             if (entry.enabled) {


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I817d58f16fa32d37379a9f98d697538df75c28a6
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzasl...@redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to