GitHub user Remilito reopened a pull request: https://github.com/apache/zeppelin/pull/2023
[ZEPPELIN-2114]: adding reload endpoint + fixing test ### What is this PR for? Adding endpoint in NotebookRepoRestApi to trigger reload and broadcast of the note list. Sending a GET request to /api/notebook-repositories/reload will trigger a reload of the note list, just like the reload button does on the homepage. Q: If you think this endpoint belongs to another API (NotebookRestApi?), let me know. ### What type of PR is it? Improvement ### Todos ### What is the Jira issue? <https://issues.apache.org/jira/browse/ZEPPELIN-2114> ### How should this be tested? 0. add (or remove) a note in the notebook repository 1. curl -x GET http://HOST:PORT/api/notebook-repository/reload 2. verify that you the note list in Zeppelin's home page now contains (or does not contain anymore) the note. ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? NO * Is there breaking changes for older versions? NO * Does this needs documentation? NotebookRepoRestApi does not have documentation yet. Could add it in another PR if needed. You can merge this pull request into a Git repository by running: $ git pull https://github.com/Remilito/zeppelin ZEPPELIN-2114 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/2023.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2023 ---- commit e380fe4c75827e7f17c0d8e9a9909bf4de25d6f4 Author: Remilito <remy.ga...@gmail.com> Date: 2017-02-15T16:49:00Z [ZEPPELIN-2114]: adding reload endpoint + fixing test ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---