-
Notifications
You must be signed in to change notification settings - Fork 930
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[KYUUBI #6299] Support disabling Web UI #6311
Conversation
kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala
Outdated
Show resolved
Hide resolved
@@ -116,6 +116,13 @@ class KyuubiRestFrontendService(override val serverable: Serverable) | |||
} | |||
|
|||
private def installWebUI(): Unit = { | |||
if (!conf.get(FRONTEND_REST_ENABLE_WEBUI)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prefer to judge on the caller's side to make this function clear. BTW, what will happen if we don't inject the enable.html
page?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we don't inject the enable.html
, we just get a 404 page.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6311 +/- ##
============================================
- Coverage 58.51% 58.43% -0.08%
Complexity 24 24
============================================
Files 652 653 +1
Lines 39649 39775 +126
Branches 5454 5473 +19
============================================
+ Hits 23199 23243 +44
- Misses 13970 14039 +69
- Partials 2480 2493 +13 ☔ View full report in Codecov by Sentry. |
Thanks, merged to master |
🔍 Description
Issue References 🔗
This pull request fixes #6299
Describe Your Solution 🔧
when disabling web ui, return 404 page
Types of changes 🔖
Test Plan 🧪
Behavior Without This Pull Request ⚰️
Behavior With This Pull Request 🎉
Related Unit Tests
Checklist 📝
Be nice. Be informative.