zjffdu opened a new pull request #3955:
URL: https://github.com/apache/zeppelin/pull/3955


   ### What is this PR for?
   
   This PR add support of knox in zeppelin-client. I tested it in a real 
environment. What user need to provide is the knos sso url
   
   ### What type of PR is it?
   [ Feature ]
   
   ### Todos
   * [ ] - Task
   
   ### What is the Jira issue?
   * https://issues.apache.org/jira/browse/ZEPPELIN-5109
   
   ### How should this be tested?
   * CI Pass.
   
   Sample code
   ```
       ClientConfig clientConfig = new 
ClientConfig("https://knox.c-9181957fabf52f7e.cn-hangzhou.databricks.aliyuncs.com:8443/gateway/cluster-topo/zeppelin";,
               1000, 
"https://knox.c-9181957fabf52f7e.cn-hangzhou.databricks.aliyuncs.com:8443/gateway/knoxsso/api/v1/websso";);
       ZeppelinClient zeppelinClient = new ZeppelinClient(clientConfig);
       zeppelinClient.login("zongze_ram", "1234qwer");
       String version = zeppelinClient.getVersion();
       System.out.println(version);
   ```
   ### Screenshots (if appropriate)
   
   ### Questions:
   * Does the licenses files need update? No
   * Is there breaking changes for older versions? No
   * Does this needs documentation? No
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to