GitHub user Remilito opened a pull request: https://github.com/apache/zeppelin/pull/2043
[ZEPPELIN-2114] adding reload endpoint ### 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/2043.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 #2043 ---- commit cf66c2b7f180a952c2b7fef8ac901bf1da484a57 Author: Remilito <remy.ga...@gmail.com> Date: 2017-02-20T14:43:25Z [ZEPPELIN-2114] adding reload endpoint * ability to reload note list from repo by API ---- --- 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. ---