You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Veena Basavaraj (JIRA)" <ji...@apache.org> on 2014/10/20 22:20:33 UTC

[jira] [Created] (SQOOP-1595) Connector and Driver Upgrader code are missing unit tests

Veena Basavaraj created SQOOP-1595:
--------------------------------------

             Summary: Connector and Driver Upgrader code are missing unit tests
                 Key: SQOOP-1595
                 URL: https://issues.apache.org/jira/browse/SQOOP-1595
             Project: Sqoop
          Issue Type: Sub-task
    Affects Versions: 1.99.4
            Reporter: Veena Basavaraj
            Assignee: Veena Basavaraj


I am not sure if the current api is extensible enough. It only supports upgrading the config info. Which actually can be now done via the rest api as well. So do we really need this config upgrade api was my first thought?

I am also not sure how this code supports upgrades across different versions, since there seems to be no code in any of these that has knowledge of the repository version and what type of repository it really belongs to


Split the api into
ConnectorConfigUpgrader

upgradeLinkConfig
upgradeFromJobConfig
upgradeToJobConfig

DriverConfig Upgrader
upgradeDriverConfig






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