zeppelin/docs
AhyoungRyu d87f2e5dfb [ZEPPELIN-1054] Improve "Credentials" UI
### What is this PR for?
Currently, users can add new their credential info for data source authentication in Zeppelin "Credentials" menu. Even though it was saved successfully, they can't see the whole list of credentials in Zeppelin UI.
This PR enables to `get` all credential list, `edit` and `remove` via UI.

*NOTE : Since this patch was implemented based on #1030 API, should be tested after #1030 merged.*

### What type of PR is it?
Improvement & Documentation

### Todos
* [x] - rename `interpreter_authorization.md` -> `datasource_authorization.md`
* [x] - remove `Interpreter Authorization` section (since we don't have this feature yet : [ZEPPELIN-945](https://issues.apache.org/jira/browse/ZEPPELIN-945))
* [x] - rebase after #1030 & #1064 merged
* [ ] - address reviews

### What is the Jira issue?
[ZEPPELIN-1054](https://issues.apache.org/jira/browse/ZEPPELIN-1054)

### How should this be tested?
1. Apply this patch and build `zeppelin-web` as described in [here](https://github.com/apache/zeppelin/tree/master/zeppelin-web#configured-environment).
2. Go to `Credentials` menu.
3. Add new credentials -> you can see the credential info in the credential list table.
4. You can edit & delete them. -> Compare with `conf/credentials.json`

### Screenshots (if appropriate)
- Before
<img width="952" alt="screen shot 2016-06-28 at 12 37 10 am" src="https://cloud.githubusercontent.com/assets/10060731/16407604/69b0c4d8-3cc9-11e6-8284-9abe2969cdc1.png">

- After
![add_credential](https://cloud.githubusercontent.com/assets/10060731/16576765/3671aa16-42cc-11e6-9d9f-dfe1f33f8d37.gif)
If there is no credential
<img width="957" alt="screen shot 2016-06-28 at 12 19 46 am" src="https://cloud.githubusercontent.com/assets/10060731/16407620/7838995e-3cc9-11e6-90ba-1bd0173a1b49.png">

- `datasource_authorization.md`
<img width="845" alt="screen shot 2016-06-28 at 7 58 24 pm" src="https://cloud.githubusercontent.com/assets/10060731/16439169/d4026034-3d6a-11e6-930f-86de12e5fc49.png">
<img width="851" alt="screen shot 2016-06-28 at 7 58 44 pm" src="https://cloud.githubusercontent.com/assets/10060731/16439170/d62f2842-3d6a-11e6-9d3f-ecc5cda29c77.png">
<img width="846" alt="screen shot 2016-06-28 at 8 00 20 pm" src="https://cloud.githubusercontent.com/assets/10060731/16439200/fed58390-3d6a-11e6-9aa2-8cff5a1b7b66.png">

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? yes

Author: AhyoungRyu <fbdkdud93@hanmail.net>

Closes #1100 from AhyoungRyu/ZEPPELIN-1054 and squashes the following commits:

7c38c90 [AhyoungRyu] Fix checkstyle error with jscs rule
ab9814c [AhyoungRyu] Remove cancelCredentialInfoUpdate()
899bb15 [AhyoungRyu] Fix a bug reported by @Leemoonsoo
57cb280 [AhyoungRyu] Make focusing to text inputbox after update cancel
cea8c93 [AhyoungRyu] Fix typos in datasource_authorization.md
cc72ae8 [AhyoungRyu] update xeditable license version
c100a64 [AhyoungRyu] Delete interpreter_authorization.md
304e684 [AhyoungRyu] Add datasource_authorization.md docs
5768604 [AhyoungRyu] Add datasource_authorization.md to index & navi menu
64bf6fe [AhyoungRyu] Update angular-xeditable version
573c3d1 [AhyoungRyu] Enable credential info to get list, edit and remove via UI
2016-07-11 18:18:42 +09:00
..
_includes [ZEPPELIN-1054] Improve "Credentials" UI 2016-07-11 18:18:42 +09:00
_layouts ZEPPELIN-279: move website w/ docs to master branch 2015-09-05 19:48:22 +09:00
_plugins ZEPPELIN-279: move website w/ docs to master branch 2015-09-05 19:48:22 +09:00
assets/themes/zeppelin [ZEPPELIN-1054] Improve "Credentials" UI 2016-07-11 18:18:42 +09:00
development [DOC][ZEPPELIN-732] Helium Application 2016-07-07 07:39:51 -07:00
displaysystem [ZEPPELIN-1018] Apply auto "Table of Contents" generator to Zeppelin docs website 2016-06-25 22:57:44 -07:00
install [ZEPPELIN-1018] Apply auto "Table of Contents" generator to Zeppelin docs website 2016-06-25 22:57:44 -07:00
interpreter Shell interpreter test and doc 2016-07-01 14:55:49 +09:00
manual [DOC] Update doc image in Explore Zeppelin UI page 2016-06-26 22:32:14 -07:00
quickstart [DOC] Update doc image in Explore Zeppelin UI page 2016-06-26 22:32:14 -07:00
rest-api [ZEPPELIN-1023] Add more credential apis. 2016-06-30 17:19:20 +09:00
security [ZEPPELIN-1054] Improve "Credentials" UI 2016-07-11 18:18:42 +09:00
storage [ZEPPELIN-1018] Apply auto "Table of Contents" generator to Zeppelin docs website 2016-06-25 22:57:44 -07:00
404.html ZEPPELIN-279: move website w/ docs to master branch 2015-09-05 19:48:22 +09:00
_config.yml Bump up version to 0.7.0-SNAPSHOT 2016-07-06 04:45:48 +09:00
atom.xml Fix typos in docs 2016-04-24 18:32:44 +09:00
Gemfile Apply #407 into master branch 2015-11-13 21:12:36 +09:00
Gemfile.lock Apply #407 into master branch 2015-11-13 21:12:36 +09:00
index.md [ZEPPELIN-1054] Improve "Credentials" UI 2016-07-11 18:18:42 +09:00
pleasecontribute.md ZEPPELIN-412 Documentation based on Zeppelin version 2015-11-18 09:08:54 +09:00
Rakefile ZEPPELIN-279: move website w/ docs to master branch 2015-09-05 19:48:22 +09:00
README.md [MINOR] Make nav zeppelin version to point ZEPPELIN_VERSION in _config.yml 2016-06-14 09:40:49 -07:00
robot.txt Apply #407 into master branch 2015-11-13 21:12:36 +09:00
rss.xml ZEPPELIN-279: move website w/ docs to master branch 2015-09-05 19:48:22 +09:00
screenshots.md Fix typos in docs 2016-04-24 18:32:44 +09:00
sitemap.txt Fix typos in docs 2016-04-24 18:32:44 +09:00

Zeppelin documentation

This readme will walk you through building the Zeppelin documentation, which is included here with the Zeppelin source code.

Build documentation

See https://help.github.com/articles/using-jekyll-with-pages#installing-jekyll

tl;dr version:

    ruby --version >= 1.9.3
    gem install bundler
    # go to /docs under your Zeppelin source
    bundle install

On OS X 10.9 you may need to do "xcode-select --install"

Run website

bundle exec jekyll serve --watch

Adding a new page

rake page name="new-page.md"

Bumping up version in a new release

  • ZEPPELIN_VERSION and BASE_PATH property in _config.yml

Deploy to ASF svnpubsub infra (for committers only)

  1. generate static website in ./_site

    # go to /docs under Zeppelin source
    bundle exec jekyll build --safe
    
  2. checkout ASF repo

    svn co https://svn.apache.org/repos/asf/zeppelin asf-zeppelin
    
  3. copy zeppelin/docs/_site to asf-zeppelin/site/docs/[VERSION]

  4. svn commit