Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
2ea3a455
Commit
2ea3a455
authored
8 years ago
by
Shwetha GS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Atlas web server allows user to browse webapp directory (vrathor-hw via shwethags)
parent
f3bbdc15
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
release-log.txt
release-log.txt
+1
-0
EmbeddedServer.java
...ain/java/org/apache/atlas/web/service/EmbeddedServer.java
+2
-0
No files found.
release-log.txt
View file @
2ea3a455
...
@@ -9,6 +9,7 @@ ATLAS-1060 Add composite indexes for exact match performance improvements for al
...
@@ -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)
ATLAS-1127 Modify creation and modification timestamps to Date instead of Long(sumasai)
ALL CHANGES:
ALL CHANGES:
Atlas web server allows user to browse webapp directory (vrathor-hw via shwethags)
ATLAS-1241 New Instance APIs and POJOs (sumasai)
ATLAS-1241 New Instance APIs and POJOs (sumasai)
ATLAS-1259 Fix Test and compilation failure caused bt ATLAS-1233 changes (apoorvnaik via 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)
ATLAS-1248 /bin/atlas_stop.py not killing the process and process is found alive even after 30 secs (zhangqiang2 via sumasai)
...
...
This diff is collapsed.
Click to expand it.
webapp/src/main/java/org/apache/atlas/web/service/EmbeddedServer.java
View file @
2ea3a455
...
@@ -52,6 +52,8 @@ public class EmbeddedServer {
...
@@ -52,6 +52,8 @@ public class EmbeddedServer {
protected
WebAppContext
getWebAppContext
(
String
path
)
{
protected
WebAppContext
getWebAppContext
(
String
path
)
{
WebAppContext
application
=
new
WebAppContext
(
path
,
"/"
);
WebAppContext
application
=
new
WebAppContext
(
path
,
"/"
);
application
.
setClassLoader
(
Thread
.
currentThread
().
getContextClassLoader
());
application
.
setClassLoader
(
Thread
.
currentThread
().
getContextClassLoader
());
// Disable directory listing
application
.
setInitParameter
(
"org.eclipse.jetty.servlet.Default.dirAllowed"
,
"false"
);
return
application
;
return
application
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment