Repository: incubator-atlas
Updated Branches:
  refs/heads/master 6148b22ac -> 59268875d


ATLAS-766 Atlas policy file does not honour standard hash as comment format ( 
saqeeb.s via sumasai )


Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/59268875
Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/59268875
Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/59268875

Branch: refs/heads/master
Commit: 59268875d256c92f748198cea999ed5057c6bf18
Parents: 6148b22
Author: Suma Shivaprasad <[email protected]>
Authored: Wed Jun 1 15:19:06 2016 -0700
Committer: Suma Shivaprasad <[email protected]>
Committed: Wed Jun 1 15:19:06 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/atlas/authorize/simple/FileReaderUtil.java     | 2 +-
 release-log.txt                                                    | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/59268875/authorization/src/main/java/org/apache/atlas/authorize/simple/FileReaderUtil.java
----------------------------------------------------------------------
diff --git 
a/authorization/src/main/java/org/apache/atlas/authorize/simple/FileReaderUtil.java
 
b/authorization/src/main/java/org/apache/atlas/authorize/simple/FileReaderUtil.java
index cda0b1c..6836249 100644
--- 
a/authorization/src/main/java/org/apache/atlas/authorize/simple/FileReaderUtil.java
+++ 
b/authorization/src/main/java/org/apache/atlas/authorize/simple/FileReaderUtil.java
@@ -41,7 +41,7 @@ public class FileReaderUtil {
         List<String> fileLines = Files.readAllLines(Paths.get(path), 
Charset.forName("UTF-8"));
         if (fileLines != null) {
             for (String line : fileLines) {
-                if ((!line.startsWith("##")) && 
Pattern.matches(".+;;.*;;.*;;.+", line))
+                if ((!line.startsWith("#")) && 
Pattern.matches(".+;;.*;;.*;;.+", line))
                     list.add(line);
             }
         }

http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/59268875/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index 3ba4725..8077741 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -22,6 +22,7 @@ ATLAS-409 Atlas will not import avro tables with schema read 
from a file (dosset
 ATLAS-379 Create sqoop and falcon metadata addons 
(venkatnrangan,bvellanki,sowmyaramesh via shwethags)
 
 ALL CHANGES:
+ATLAS-766 Atlas policy file does not honour standard hash as comment format ( 
saqeeb.s via sumasai )
 ATLAS-843 Atlas UI: Feature to search terms in left navigation. 
(Kalyanikashikar via sumasai)
 ATLAS-731 Remove dashboard module in Atlas, replaced by dashboardv2 
(kevalbhatt18 via sumasai)
 ATLAS-664 UI: Add Support for Versioning / History (Kalyanikashikar via 
yhemanth)

Reply via email to