GitHub user astroshim reopened a pull request: https://github.com/apache/zeppelin/pull/1030
[ZEPPELIN-1023] Add more credential apis. ### What is this PR for? This PR is for supporting various Credential APIs for users. ### What type of PR is it? Improvement ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-1023 ### How should this be tested? - to create credential information. ``` curl -XPUT -H "Content-Type: application/json" "http://localhost:8080/api/credential" -d '{"entity" : "e1", "username" : "user1", "password" : "testpass"}' ``` - to get credential information. ``` curl -XGET -H "Content-Type: application/json" "http://localhost:8080/api/credential" ``` - to remove credential entity information. ``` curl -XDELETE -H "Content-Type: application/json" "http://localhost:8080/api/credential/e1" ``` - to remove all credential information. ``` curl -XDELETE -H "Content-Type: application/json" "http://localhost:8080/api/credential" ``` ### 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/astroshim/zeppelin ZEPPELIN-1023 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1030.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 #1030 ---- commit 03717018b88d4a4d02f0ce153bb006c5474f7dd7 Author: astroshim <hss...@nflabs.com> Date: 2016-06-16T15:05:42Z add more credential apis. commit 9b2c1c98db582b88e93d66d7ccbe3427b4add607 Author: astroshim <hss...@nflabs.com> Date: 2016-06-18T13:40:15Z add checking null and blank values in the putCredentials method. commit 26433f2945104e17cdbc70de13bfa3f0ca5395e8 Author: astroshim <hss...@nflabs.com> Date: 2016-06-23T05:34:01Z change using syncronizedMap. commit f54653282b26cb087ce52e1942ed513999d35c8a Author: astroshim <hss...@nflabs.com> Date: 2016-06-24T15:23:41Z add rest-credential document commit 80d8a30ee2912b4952a305b88d9a12617a3bd325 Author: AhyoungRyu <fbdkdu...@hanmail.net> Date: 2016-06-24T16:18:08Z Add rest-credential.md to index.md & dropdown menu commit 7b2a7c5709dd31ecfb3180f0d8a236325d5e8b4f Author: HyungSung <hss...@nflabs.com> Date: 2016-06-24T16:47:35Z Merge pull request #7 from AhyoungRyu/ZEPPELIN-1023-docs [ZEPPELIN-1023] Add rest-credential.md to index.md & dropdown menu commit d0c2bac7a42c3a0b4d61a1e0dd2901870925a1c0 Author: astroshim <hss...@nflabs.com> Date: 2016-06-24T21:30:10Z changed syncronizedmap to concurrenthashmap commit 0f503fdf4c46b1b3de8f4a42d982830b3ccca3a7 Author: astroshim <hss...@nflabs.com> Date: 2016-06-27T11:42:34Z to fix ci commit 06099313cda64de3850652b4b5d5d4b1d1647d02 Author: astroshim <hss...@nflabs.com> Date: 2016-06-27T13:08:05Z update credentialsMap commit a58047624b0c1171a3586edc8eeb00e7f12985ff Author: astroshim <hss...@nflabs.com> Date: 2016-06-27T13:38:43Z erase comment code commit 1b94ae12b00cba565f879cc44c76758432b66331 Author: astroshim <hss...@nflabs.com> Date: 2016-06-27T13:38:47Z Merge branch 'master' into ZEPPELIN-1023 rebase ---- --- 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. ---