-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Adding a Unified web console. #6923
Merged
+16,489
−125
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
172d160
Adding new web console.
vogievetsky 9b5e04e
fixed css
lorem--ipsum 436abbd
fix form height
vogievetsky 6ec7817
fix typo
vogievetsky 6f01b79
do import custom react-table css
vogievetsky d72979e
added repo field so npm does not complain
vogievetsky 0f56a26
ask travis for node 10
vogievetsky 44b718c
move indexing-service/src/main/resources/indexer_static into web-console
vogievetsky 2179192
fix resource names and paths
jihoonson 05e03fe
add licenses
jihoonson f613aab
fix exclude file
jihoonson be4e173
add licenses to misc files and tidy up
vogievetsky ee01390
remove rebase marker
vogievetsky 4cdc8e3
fix link
vogievetsky aae5c00
updated env variable name
0c46198
tidy up licenses and surface errors
vogievetsky d767849
cleanup
vogievetsky a735d21
Merge branch 'master' of github.com:druid-io/druid into console
jihoonson e26225d
remove unused code, fix missing await
vogievetsky 240fbbc
TeamCity does not like the name aux
vogievetsky a49965f
add more links to tasks view
vogievetsky 5a3f640
rm pages
vogievetsky 9c0a5ab
update gitignore
vogievetsky 5357701
update readme to be accurate
vogievetsky f3a2925
make clean script
vogievetsky 40c2f3e
removed old console dependancy
vogievetsky 2917422
update Jetty routes
vogievetsky 177eddb
add a comment for welcome files for coordinator
jihoonson 9b9a3e7
do not show inital notifaction for now
vogievetsky 7c16de2
renamed overlord console back to console.html
vogievetsky bf0564d
fix coordinator console
jihoonson ba84dd4
rename coordinator-console.html to index.html
jihoonson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 0 additions & 72 deletions
72
indexing-service/src/main/resources/indexer_static/console.html
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
node/ | ||
node_modules/ | ||
resources/ | ||
public/ | ||
lib/*.css | ||
|
||
coordinator-console/ | ||
pages/ | ||
index.html | ||
|
||
.tscache | ||
tscommand-*.tmp.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<!-- | ||
~ Licensed to the Apache Software Foundation (ASF) under one | ||
~ or more contributor license agreements. See the NOTICE file | ||
~ distributed with this work for additional information | ||
~ regarding copyright ownership. The ASF licenses this file | ||
~ to you under the Apache License, Version 2.0 (the | ||
~ "License"); you may not use this file except in compliance | ||
~ with the License. You may obtain a copy of the License at | ||
~ | ||
~ http://www.apache.org/licenses/LICENSE-2.0 | ||
~ | ||
~ Unless required by applicable law or agreed to in writing, | ||
~ software distributed under the License is distributed on an | ||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
~ KIND, either express or implied. See the License for the | ||
~ specific language governing permissions and limitations | ||
~ under the License. | ||
--> | ||
|
||
# Apache Druid web console | ||
|
||
This is the unified Druid web console that servers as a data management layer for Druid. | ||
|
||
## How to watch and run for development | ||
|
||
1. You need to be withing the `web-console` directory | ||
2. Install the modules with `npm install` | ||
3. Run `npm start` will start in development mode and will proxy druid requests to `localhost:8888` | ||
|
||
**Note:** you can provide an environment variable to proxy to a different Druid host like so: `druid_host=1.2.3.4:8888 npm start` | ||
|
||
|
||
## Description of the directory structure | ||
|
||
A lot of the directory structure was created to preserve the existing console structure as much as possible. | ||
|
||
As part of this repo: | ||
|
||
- `console.html` - Entry file for the overlord console | ||
- `lib/` - A place where some overrides to the react-table stylus files live, this is outside of the normal SCSS build system. | ||
- `old-console/` - Files for the overlord console | ||
- `public/` - The compiled destination of the file powering this console | ||
- `script/` - Some helper bash scripts for running this console | ||
- `src/` - This directory (together with `lib`) constitutes all the source code for this console | ||
|
||
Generated/copied dynamically | ||
|
||
- `index.html` - Entry file for the coordinator console | ||
- `pages/` - The files for the older coordinator console | ||
- `coordinator-console/` - Files for the coordinator console | ||
|
||
|
||
## List of non SQL data reading APIs used | ||
|
||
``` | ||
GET /status | ||
GET /druid/indexer/v1/supervisor?full | ||
GET /druid/indexer/v1/workers | ||
GET /druid/coordinator/v1/loadqueue?simple | ||
GET /druid/coordinator/v1/config | ||
GET /druid/coordinator/v1/metadata/datasources?includeDisabled | ||
GET /druid/coordinator/v1/rules | ||
GET /druid/coordinator/v1/config/compaction | ||
GET /druid/coordinator/v1/tiers | ||
``` |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Nice.