This is an automated email from the ASF dual-hosted git repository.

madhan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/master by this push:
     new 473d2c9  RANGER-2779: updated ADLS-Gen2 resource mapper to set 
isRecursive=true for adls_gen2_directory entities
473d2c9 is described below

commit 473d2c99ccee166efa6788a0767d44cb38e336cf
Author: Madhan Neethiraj <[email protected]>
AuthorDate: Wed Jun 17 16:17:43 2020 -0700

    RANGER-2779: updated ADLS-Gen2 resource mapper to set isRecursive=true for 
adls_gen2_directory entities
---
 .../org/apache/ranger/tagsync/source/atlas/AtlasAdlsResourceMapper.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tagsync/src/main/java/org/apache/ranger/tagsync/source/atlas/AtlasAdlsResourceMapper.java
 
b/tagsync/src/main/java/org/apache/ranger/tagsync/source/atlas/AtlasAdlsResourceMapper.java
index 5301c98..120b925 100644
--- 
a/tagsync/src/main/java/org/apache/ranger/tagsync/source/atlas/AtlasAdlsResourceMapper.java
+++ 
b/tagsync/src/main/java/org/apache/ranger/tagsync/source/atlas/AtlasAdlsResourceMapper.java
@@ -103,7 +103,7 @@ public class AtlasAdlsResourceMapper extends 
AtlasResourceMapper {
 
                        elements.put(RANGER_TYPE_ADLS_GEN2_ACCOUNT, new 
RangerPolicyResource(accountName));
                        elements.put(RANGER_TYPE_ADLS_GEN2_CONTAINER, new 
RangerPolicyResource(containerName));
-                       elements.put(RANGER_TYPE_ADLS_GEN2_RELATIVE_PATH, new 
RangerPolicyResource(relativePath));
+                       elements.put(RANGER_TYPE_ADLS_GEN2_RELATIVE_PATH, new 
RangerPolicyResource(relativePath, Boolean.FALSE, Boolean.TRUE));
                } else {
                        throwExceptionWithMessage("unrecognized entity-type: " 
+ entityType);
                }

Reply via email to