Moti Asayag has submitted this change and it was merged.

Change subject: tools: support for deprecating config values.
......................................................................


tools: support for deprecating config values.

- each config value can be deprecated via setting its property
'.deprecated' to true. If not specified, deprecated=false is assumed.

- when someone tries to set deprecated value, following message is
printed: "ConfigKey <option_name> is deprecated. Please
refer to product documentation."

Change-Id: I636f7fe2530acfe00d8f0487001ddc781d1745a0
Signed-off-by: Martin Mucha <[email protected]>
---
M 
backend/manager/tools/src/main/java/org/ovirt/engine/core/config/EngineConfigLogic.java
M 
backend/manager/tools/src/main/java/org/ovirt/engine/core/config/entity/ConfigKey.java
M 
backend/manager/tools/src/main/java/org/ovirt/engine/core/config/entity/ConfigKeyFactory.java
3 files changed, 38 insertions(+), 5 deletions(-)

Approvals:
  Martin Mucha: Verified
  Moti Asayag: Looks good to me, approved
  Oved Ourfali: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I636f7fe2530acfe00d8f0487001ddc781d1745a0
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Mucha <[email protected]>
Gerrit-Reviewer: Lior Vernia <[email protected]>
Gerrit-Reviewer: Martin Mucha <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to