Review Board 1.7.22


Fix for SQOOP-1075: Persist framework version in repository

Review Request #12774 - Created July 19, 2013 and submitted

Raghav Gautam
SQOOP-1075
Reviewers
Sqoop
sqoop-sqoop2
A summary of changes:
1. MFramework: added fields, getter & setter method for version. Made changes to other methods to take version into account.
2. MConnector: since it extends MFramework, can use his version field and methods
3. FrameworkBean, FormSerialization: encode/decode version field to json
4. DerbyRepositoryHandler, DerbyRepoError: added private methods to persist/fetch framework version; update framework version when registering/updating framework
5. TestFrameworkHandling: added test - the test checks for current version of framework, changes it to lower version updates the framework and checks the version of framework once again
6. TestSqoopClient, TestUtils, TestMFramework, FrameworkManager, DerbyTestCase: added version parameter to the MFramework constructor call.
I have added new tests.
All the unit tests are passing.
Total:
16
Open:
0
Resolved:
15
Dropped:
1
Status:
From:
Description From Last Updated Status
Review request changed
Updated (July 30, 2013, 9:47 p.m.)
  • changed from pending to submitted