You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by GitBox <gi...@apache.org> on 2022/02/14 07:54:37 UTC

[GitHub] [incubator-linkis] liangqilang opened a new issue #1453: [Feature] Provide an interface API to get the executor

liangqilang opened a new issue #1453:
URL: https://github.com/apache/incubator-linkis/issues/1453


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-linkis/issues) and found no similar feature requirement.
   
   
   ### Problem Description
   
   The API supports the parameter "executeUser",  but Linkis does not provide an interface for get the executor, including the front-end system, which does not have this function.
   
   API:/api/rest_j/v1/entrance/execute
   
   后端接口支持传入"executeUser",但是系统没有提供获取执行者的接口,包括前端也不支持。
   
   ### Description
   
   I hope this system can provide an interface API to get the executor.
   
   ### Use case
   
   Describe the use case of your feature request.
   
   @RequestMapping(path = "/getExecuteUserList",method = RequestMethod.GET,produces = {"application/json"})
       public Message getExecuteUserList(HttpServletRequest req) throws IOException, WorkSpaceException {
           String userName = SecurityFilter.getLoginUsername(req);
           //get  the  executor
          return;
   }
   
   ### solutions
   
   To obtain the API of the ”executor“, my opinion is to provide an abstract interface, and the implementation can be developed by each user according to the actual situation.
   获取执行者用户的API,我意见是提供一个抽象接口,具体实现由各个用户根据自动实际情况开发即可。
   
   ### Anything else
   
   Which module should provide this api? 
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!


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

To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org