GitHub user anthonycorbacho opened a pull request: https://github.com/apache/zeppelin/pull/1681
[ZEPPELIN-1691] Implement NotebookRepoSetting to ZeppelinHub notebookRepo ### What is this PR for? Implement notebookRepo setting in ZeppelinHub notebook repo. This change will allow users to directly switch from instance without switching token in `zeppelin-env.sh`. ### What type of PR is it? [Improvement] ### What is the Jira issue? * [ZEPPELIN-1691](https://issues.apache.org/jira/browse/ZEPPELIN-1691) ### How should this be tested? You need to have a valid [Zeppelinhub account](https://www.zeppelinhub.com/register). You need to enable zeppelinhub notebook repo (only) in zeppelin-env.sh ``` export ZEPPELIN_NOTEBOOK_STORAGE="org.apache.zeppelin.notebook.repo.zeppelinhub.ZeppelinHubRepo" export ZEPPELINHUB_API_ADDRESS="https://www.zeppelinhub.com" ``` [Enable shiro](https://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/security/shiroauthentication.html#1-enable-shiro) and set it to use [Zeppelinhub realm](https://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/security/shiroauthentication.html#zeppelinhub). Start zeppelin, login, you will see your list of notebooks, if you want to switch instance, go to NotebookRepos, and edit. ### Screenshots (if appropriate) ![zeppelinhub_note_repo_instance_switch](https://cloud.githubusercontent.com/assets/3139557/20626992/8b518628-b360-11e6-9c73-c5af793a93c5.gif) ### Questions: * Does the licenses files need update? NO * Is there breaking changes for older versions? NO * Does this needs documentation? NO You can merge this pull request into a Git repository by running: $ git pull https://github.com/anthonycorbacho/incubator-zeppelin ZEPPELIN-1691 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1681.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 #1681 ---- commit fa7a711ac200ec948c967a59c1805c6d459b94a1 Author: Anthony Corbacho <corbacho.anth...@gmail.com> Date: 2016-11-25T13:35:05Z Implement NotebookRepo settings option in ZeppelinHub notebook Repository. This change will allow users to directly switch from instance without switching token in zeppelin-env.sh. ---- --- 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. ---