ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alok Lal" <a...@hortonworks.com>
Subject Re: Review Request 35669: RANGER-560 Policy validation: user friendly error messages about validation failures
Date Wed, 29 Jul 2015 02:00:44 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35669/
-----------------------------------------------------------

(Updated July 28, 2015, 7 p.m.)


Review request for ranger and Madhan Neethiraj.


Changes
-------

Fixed the broken junits.


Bugs: RANGER-560
    https://issues.apache.org/jira/browse/RANGER-560


Repository: ranger


Description
-------

Changes made to policy validation only to return user friendly messages:
- Each error has distinct code.
- Message generated is for human consumption.
- Multiple error messages are serialized in a user friendly manner


Diffs (updated)
-----

  agents-common/src/main/java/org/apache/ranger/plugin/model/validation/ValidationFailureDetails.java
015203a 
  agents-common/src/test/java/org/apache/ranger/plugin/model/validation/TestValidationFailureDetails.java
PRE-CREATION 

Diff: https://reviews.apache.org/r/35669/diff/


Testing
-------

New junits, changes to existing junits.
Manual testing invoking REST api


Thanks,

Alok Lal


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message