Change in ovirt-engine[master]: tools: support for deprecating config values.

masayag at redhat.com masayag at redhat.com
Thu Jul 17 10:49:20 UTC 2014


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 <mmucha at redhat.com>
---
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 <mmucha at redhat.com>
Gerrit-Reviewer: Lior Vernia <lvernia at redhat.com>
Gerrit-Reviewer: Martin Mucha <mmucha at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list