Repository: incubator-atlas
Updated Branches:
  refs/heads/master f3bbdc151 -> 2ea3a455e


Atlas web server allows user to browse webapp directory (vrathor-hw via 
shwethags)


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

Branch: refs/heads/master
Commit: 2ea3a455ecc9ba7add35b76c15b7d3089e52f070
Parents: f3bbdc1
Author: Shwetha GS <[email protected]>
Authored: Mon Nov 7 16:44:34 2016 +0530
Committer: Shwetha GS <[email protected]>
Committed: Mon Nov 7 16:44:34 2016 +0530

----------------------------------------------------------------------
 release-log.txt                                                    | 1 +
 .../src/main/java/org/apache/atlas/web/service/EmbeddedServer.java | 2 ++
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/2ea3a455/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index 19f5244..44762d4 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -9,6 +9,7 @@ ATLAS-1060 Add composite indexes for exact match performance 
improvements for al
 ATLAS-1127 Modify creation and modification timestamps to Date instead of 
Long(sumasai)
 
 ALL CHANGES:
+Atlas web server allows user to browse webapp directory (vrathor-hw via 
shwethags)
 ATLAS-1241 New Instance APIs and POJOs (sumasai)
 ATLAS-1259 Fix Test and compilation failure caused bt ATLAS-1233 changes 
(apoorvnaik via sumasai)
 ATLAS-1248 /bin/atlas_stop.py not killing the process and process is found 
alive even after 30 secs (zhangqiang2 via sumasai)

http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/2ea3a455/webapp/src/main/java/org/apache/atlas/web/service/EmbeddedServer.java
----------------------------------------------------------------------
diff --git 
a/webapp/src/main/java/org/apache/atlas/web/service/EmbeddedServer.java 
b/webapp/src/main/java/org/apache/atlas/web/service/EmbeddedServer.java
index 2e75a61..1ee13fb 100755
--- a/webapp/src/main/java/org/apache/atlas/web/service/EmbeddedServer.java
+++ b/webapp/src/main/java/org/apache/atlas/web/service/EmbeddedServer.java
@@ -52,6 +52,8 @@ public class EmbeddedServer {
     protected WebAppContext getWebAppContext(String path) {
         WebAppContext application = new WebAppContext(path, "/");
         
application.setClassLoader(Thread.currentThread().getContextClassLoader());
+        // Disable directory listing
+        
application.setInitParameter("org.eclipse.jetty.servlet.Default.dirAllowed", 
"false");
         return application;
     }
 

Reply via email to