You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ul...@apache.org on 2023/01/04 06:14:49 UTC

[kyuubi] branch master updated: [KYUUBI #3982] [FOLLWUP] Add REST Api doc for refresh/user_defaults_conf of AdminResource

This is an automated email from the ASF dual-hosted git repository.

ulyssesyou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new 2563e3c3a [KYUUBI #3982] [FOLLWUP] Add REST Api doc for refresh/user_defaults_conf of AdminResource
2563e3c3a is described below

commit 2563e3c3ad8f2293f8b202350dcf406484631334
Author: liangbowen <li...@gf.com.cn>
AuthorDate: Wed Jan 4 14:14:35 2023 +0800

    [KYUUBI #3982] [FOLLWUP] Add REST Api doc for refresh/user_defaults_conf of AdminResource
    
    ### _Why are the changes needed?_
    
    - add  doc for`POST /admin/refresh/user_defaults_conf` REST Api , which introduced in #3982
    
    ### _How was this patch tested?_
    - [x] Add some test cases that check the changes thoroughly including negative and positive cases if possible
    
    - [ ] Add screenshots for manual tests if appropriate
    
    - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request
    
    Closes #4077 from bowenliang123/3982-followup.
    
    Closes #3982
    
    a6acb389 [liangbowen] add REST api doc of `POST /admin/refresh/user_defaults_conf`
    
    Authored-by: liangbowen <li...@gf.com.cn>
    Signed-off-by: ulysses-you <ul...@apache.org>
---
 docs/client/rest/rest_api.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docs/client/rest/rest_api.md b/docs/client/rest/rest_api.md
index ea331dc73..b1c8edfea 100644
--- a/docs/client/rest/rest_api.md
+++ b/docs/client/rest/rest_api.md
@@ -420,6 +420,10 @@ Gets the local log lines from this batch.
 
 Refresh the Hadoop configurations of the Kyuubi server.
 
+### POST /admin/refresh/user_defaults_conf
+
+Refresh the [user defaults configs](../../deployment/settings.html#user-defaults) with key in format in the form of `___{username}___.{config key}` from default property file.
+
 ### DELETE /admin/engine
 
 Delete the specified engine.