ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhay Kulkarni <akulka...@hortonworks.com>
Subject Re: Review Request 73056: RANGER-3098: Updates to validity period of tag are not reflected in Ranger database
Date Thu, 03 Dec 2020 00:40:54 GMT

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

(Updated Dec. 3, 2020, 12:40 a.m.)


Review request for ranger, Madhan Neethiraj and Ramesh Mani.


Changes
-------

Addressed review comments


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


Repository: ranger


Description
-------

If validity period of a tag is updated upstream, then the Ranger database is not getting updated
accordingly. Also, now, if tag is not applicable because of expired validity period, then
it is not listed in the audit record.


Diffs (updated)
-----

  agents-common/src/main/java/org/apache/ranger/plugin/contextenricher/RangerTagEnricher.java
fc7319485 
  security-admin/src/main/java/org/apache/ranger/db/XXServiceVersionInfoDao.java b18f8f2d0

  security-admin/src/main/java/org/apache/ranger/rest/ServiceTagsProcessor.java 9c19bb032



Diff: https://reviews.apache.org/r/73056/diff/3/

Changes: https://reviews.apache.org/r/73056/diff/2-3/


Testing
-------

Ensured that, in a cluster, updates to validity periods are correctly shown up in Ranger database.


Thanks,

Abhay Kulkarni


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