-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[ZEPPELIN-1575] Notebook Repo settings UI #1553
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
[ZEPPELIN-1575] Notebook Repo settings UI #1553
Conversation
|
@anthonycorbacho thanks for suggesting to change repo settings via UI. before testing, do you think we need some unit tests for repo settings feature? |
|
@khalidhuseynov added some tests |
|
Please review this PR |
|
If no more discussion i am going to merge it. |
|
@anthonycorbacho thanks for tests! tested and LGTM. |
### What is this PR for? The idea behind this feature is to bring flexibility to the user to let him configure his repo via UI without restarting Apache Zeppelin. This is flexible enough to handle most of the basic needs, but more complex case can be added in the future. I will not implement all NotebookRepo, this should be done in different PR since it will depend on special needs. I will just provide a simple example with VFS notebook repo. ***NB***: this scope of the PR doesn't include save change in the configuration file of zeppelin as well as implementation of every notebook repo, git, s3 etcetc, this will be added later if needed. ### What type of PR is it? * **Improvement** ### Todos * [x] - Implement backend. * [x] - Implement frontend. * [x] - Implement LocalVFS directory change as exemple. ### What is the Jira issue? * [ZEPPELIN-1575](https://issues.apache.org/jira/browse/ZEPPELIN-1575) ### How should this be tested? Go to notebook repo setting page, edit the notebook path and save. ### Screenshots (if appropriate)  ### Questions: * Does the licenses files need update? NO * Is there breaking changes for older versions? NO * Does this needs documentation? YES Author: Anthony Corbacho <[email protected]> Author: Damien CORNEAU <[email protected]> Closes apache#1553 from anthonycorbacho/feat/NotebookRepoSettings and squashes the following commits: 6d63832 [Anthony Corbacho] Fix style and rebase mistake... 6f17b18 [Anthony Corbacho] Add tests :: API and REST API 23ad18e [Anthony Corbacho] Rename NotebookRepoSettings to NotebookRepoSettingsInfo 42fd3b5 [Anthony Corbacho] Apply broadcasting note list after sucessful update for notebook repo 7fc1f37 [Anthony Corbacho] Change textarea size to 100 row 357b659 [Anthony Corbacho] Fix ASF header d49bfe1 [Anthony Corbacho] Fix style 517ebc8 [Anthony Corbacho] Fix style dc7fc50 [Anthony Corbacho] Fix indentation 0b4b74a [Anthony Corbacho] Add exemple of how to change local notebook repo FS 2d67bc8 [Anthony Corbacho] Added method from notebook repo interface 5a13e62 [Anthony Corbacho] Added 2 new methos in notebookRepoSync, exposed get and update notebook repo 8e890d3 [Anthony Corbacho] Add new wrapper for notebook repo PLUS settings 53346d7 [Anthony Corbacho] Add new methods in notebookRepo :: get and set settings in notebook 23912ce [Anthony Corbacho] Added new wrapper class 4d745ab [Damien CORNEAU] Improve ux 05a64de [Damien CORNEAU] Improve edit repo 9c1f999 [Damien CORNEAU] Implement edit 6a97512 [Damien CORNEAU] Get Repos from api 76479b3 [Damien CORNEAU] Change presentation of notebook settings 8075b04 [Damien CORNEAU] Render mocked list of notebook repo settings 054d2aa [Damien CORNEAU] Base structure for notebook repo ui 30d29cd [Anthony Corbacho] Update zeppelin server and add NotebookRepo rest api to the singleton f7c7bf2 [Anthony Corbacho] Update method :: updateRepoSettings to create NotebookRepoSettingsRequest with Empty static object instead of null a4d9749 [Anthony Corbacho] Added utility class for notebook re po payload deserialization efe4c34 [Anthony Corbacho] Add new Rest api endpoint for notebook Repo settings
|
@anthonycorbacho thanks for your woker very much ! however,a little problem confused me. I am looking forward to getting your help. |
What is this PR for?
The idea behind this feature is to bring flexibility to the user to let him configure his repo via UI without restarting Apache Zeppelin.
This is flexible enough to handle most of the basic needs, but more complex case can be added in the future. I will not implement all NotebookRepo, this should be done in different PR since it will depend on special needs. I will just provide a simple example with VFS notebook repo.
_NB_: this scope of the PR doesn't include save change in the configuration file of zeppelin as well as implementation of every notebook repo, git, s3 etcetc, this will be added later if needed.
What type of PR is it?
Todos
What is the Jira issue?
How should this be tested?
Go to notebook repo setting page, edit the notebook path and save.
Screenshots (if appropriate)
Questions: