Change in ovirt-engine[master]: engine: Introduce KeyValueFormatValidation

alkaplan at redhat.com alkaplan at redhat.com
Thu Nov 19 14:25:17 UTC 2015


Alona Kaplan has submitted this change and it was merged.

Change subject: engine: Introduce KeyValueFormatValidation
......................................................................


engine: Introduce KeyValueFormatValidation

validation for <key>=<value> spaced separated format.

Please note that extra space is needed in the message ( < key >=< value >) as the message is
being translating to html.
The value between the <> is not being shown.
The usage of &lt &gt was avoided in order to make the language translation easier.

Bug-Url: https://bugzilla.redhat.com/1167812
Change-Id: I78ae0322d49356ba0ef9e0e496a232348a715eef
Signed-off-by: Eliraz Levi <elevi at redhat.com>
---
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/utils/ValidationUtils.java
A frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/validation/KeyValueFormatValidation.java
A frontend/webadmin/modules/uicommonweb/src/test/java/org/ovirt/engine/ui/uicommonweb/validation/KeyValueFormatValidationTest.java
M frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/UIMessages.java
4 files changed, 201 insertions(+), 0 deletions(-)

Approvals:
  Eliraz Levi: Verified
  Alona Kaplan: Looks good to me, approved; Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/45366
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I78ae0322d49356ba0ef9e0e496a232348a715eef
Gerrit-PatchSet: 20
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eliraz Levi <elevi at redhat.com>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Eliraz Levi <elevi at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list