GitHub user astroshim opened 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 -vvv -XDELETE -H "Content-Type: application/json" 
"http://localhost:8080/api/credential/e1";
    ```
    
      - to remove all credential information.
    ```
    curl -vvv -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? yes
    


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.

----


---
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.
---

Reply via email to