Gilad Chaplik has submitted this change and it was merged.
Change subject: webadmin: validation added for volume brick directory(#829664)
......................................................................
webadmin: validation added for volume brick directory(#829664)
https://bugzilla.redhat.com/829664
Following validations are added.
1. Brick directory should start with /
2. Lenth should be at least 2
3. Should not have / as 2n'd charactor
4. Should not have any spaces in between
Change-Id: I766ce81d5dddd6fe0bd96abc6ec9efb3e81e72e8
Signed-off-by: Kanagaraj M <kmayilsa(a)redhat.com>
---
M
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickModel.java
M
frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/Constants.java
2 files changed, 37 insertions(+), 1 deletion(-)
Approvals:
Gilad Chaplik: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/5313
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I766ce81d5dddd6fe0bd96abc6ec9efb3e81e72e8
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Kanagaraj M <kmayilsa(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayilsa(a)redhat.com>
Gerrit-Reviewer: Shireesh Anjal <sanjal(a)redhat.com>