Change in ovirt-engine[master]: core: added possibility to add failing value to validation m...

Code Review gerrit at ovirt.org
Tue Apr 11 09:08:02 UTC 2017


>From Martin Peřina <mperina at redhat.com>:

Martin Peřina has submitted this change and it was merged.

Change subject: core: added possibility to add failing value to validation message
......................................................................


core: added possibility to add failing value to validation message

in bean validation one should be able to add validated value into the
custom interpolated message. It seems that our system does not support
that, this patch allows to use variable ${validatedValue} as defined
in bean validation.

Change-Id: Ieedf167113a49437419e5c6c400fa16c46310074
Signed-off-by: Martin Mucha <mmucha at redhat.com>
---
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/utils/ValidationUtils.java
1 file changed, 12 insertions(+), 5 deletions(-)

Approvals:
  Martin Sivák: Looks good to me, but someone else must approve
  Martin Mucha: Verified
  Alona Kaplan: Looks good to me, approved
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ieedf167113a49437419e5c6c400fa16c46310074
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Mucha <mmucha at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Mucha <mmucha at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list