[ 
https://issues.apache.org/jira/browse/SQOOP-1509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Veena Basavaraj updated SQOOP-1509:
-----------------------------------
    Description: See the attached DOC that explains the Rest APIs for the Sqoop 
entities  (was: See the attached PDF.


Currently there is a lot of overlap with the entity model classes. All the 
entity model classes in the code are are prefixed with "M" and are under the 
org.apache.sqoop.model package. 

The proposed refactoring will do the following things.

No more MConnectionForms and MJobForms. The big different is the use of the 
terminology context to hold all the job related information. 

MContext ( abstract)
MFromContext
MToContext
MDriverContext

MContext entity belongs to a MJob
MInput (MContext has one or more MInputs)

MJob has  MFromContext, MToContext, MDriverContext

MConnector ( Connector has one or more links)
MLink belongs to a MConnector

MJobRun belongs to a MJob ( Job has one or more JobRuns)

Lastly, the Repository schema will also be renamed to reflect the 
context/link/driver/jobrun changes

End of Story!


)

> Sqoop2: Sqoop2 Rest API refactoring
> -----------------------------------
>
>                 Key: SQOOP-1509
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1509
>             Project: Sqoop
>          Issue Type: Improvement
>            Reporter: Veena Basavaraj
>            Assignee: Veena Basavaraj
>
> See the attached DOC that explains the Rest APIs for the Sqoop entities



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

Reply via email to