[ 
https://issues.apache.org/jira/browse/KYLIN-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15519961#comment-15519961
 ] 

Billy(Yiming) Liu commented on KYLIN-2039:
------------------------------------------

Otherwise, there are some duplicated code between JDBC project and Server-Base. 

> Refactor REST Request/Response Object into standalone library
> -------------------------------------------------------------
>
>                 Key: KYLIN-2039
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2039
>             Project: Kylin
>          Issue Type: Improvement
>          Components: REST Service
>            Reporter: Billy(Yiming) Liu
>            Assignee: Zhong,Jason
>            Priority: Minor
>
> Currently, the Request/Response objects locate at server-base project under 
> org/apache/kylin/rest/request[response,model]. They are POJOs which are used 
> to communicate between any REST client and Kylin Server. If someone wants to 
> integrate Kylin by REST API, he has to import kylin-server library. The 
> kylin-server is the project to host the Query/Job web server. This is library 
> will introduce almost all kylin backend libraries indirectly(by pom 
> dependency). But those are not the required components in client side. So I 
> will suggest refactoring some REST code into standalone lightweight library, 
> and make the client-server communication much easier. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to