Review Board 1.7.22


SQOOP-647 Provide facility to cache server responses on client side

Review Request #10208 - Created March 31, 2013 and submitted

Jarek Cecho
SQOOP-647
Reviewers
Sqoop
sqoop-sqoop2
I've provided implementation of caching various non-volatile objects in client API.
I've added mockito library and provided tests for all methods that are using caching. All unit and integration tests seems to be passing.
pom.xml
Revision 25dfba6cbf839f5139dec93c10cf746434847acf New Change
[20] 97 lines
[+20]
98
    <hadoop.1.version>1.0.3</hadoop.1.version>
98
    <hadoop.1.version>1.0.3</hadoop.1.version>
99
    <hadoop.2.version>2.0.2-alpha</hadoop.2.version>
99
    <hadoop.2.version>2.0.2-alpha</hadoop.2.version>
100
    <guava.version>11.0.2</guava.version>
100
    <guava.version>11.0.2</guava.version>
101
    <json-simple.version>1.1</json-simple.version>
101
    <json-simple.version>1.1</json-simple.version>
102
    <junit.version>4.9</junit.version>
102
    <junit.version>4.9</junit.version>

    
   
103
    <mockito.version>1.9.5</mockito.version>
103
    <log4j.version>1.2.16</log4j.version>
104
    <log4j.version>1.2.16</log4j.version>
104
    <servlet.version>2.5</servlet.version>
105
    <servlet.version>2.5</servlet.version>
105
    <cargo.version>1.3.2</cargo.version>
106
    <cargo.version>1.3.2</cargo.version>
106
    <tomcat.major.version>6</tomcat.major.version>
107
    <tomcat.major.version>6</tomcat.major.version>
107
    <tomcat.minor.version>0.36</tomcat.minor.version>
108
    <tomcat.minor.version>0.36</tomcat.minor.version>
[+20] [20] 264 lines
[+20]
372
      <dependency>
373
      <dependency>
373
        <groupId>com.microsoft</groupId>
374
        <groupId>com.microsoft</groupId>
374
        <artifactId>sqljdbc4</artifactId>
375
        <artifactId>sqljdbc4</artifactId>
375
        <version>${jdbc.sqlserver.version}</version>
376
        <version>${jdbc.sqlserver.version}</version>
376
      </dependency>
377
      </dependency>

    
   
378
     <dependency>

    
   
379
      <groupId>org.mockito</groupId>

    
   
380
      <artifactId>mockito-all</artifactId>

    
   
381
      <version>${mockito.version}</version>

    
   
382
      <scope>test</scope>

    
   
383
    </dependency>
377
   </dependencies>
384
   </dependencies>
378
  </dependencyManagement>
385
  </dependencyManagement>
379

    
   
386

   
380
  <modules>
387
  <modules>
381
    <module>common</module>
388
    <module>common</module>
[+20] [20] 250 lines
client/pom.xml
Revision 0d14460905d5ace65f09b9d8563812dc76be1525 New Change
 
client/src/main/java/org/apache/sqoop/client/SqoopClient.java
Revision 232ef20fb93b518ce67f09438de53e2d10a7a872 New Change
 
client/src/main/java/org/apache/sqoop/client/shell/ShowConnectorFunction.java
Revision 19a81239fd78c0fc63b17d2fc118909f8da771d0 New Change
 
client/src/test/java/org/apache/sqoop/client/TestSqoopClient.java
New File
 
  1. pom.xml: Loading...
  2. client/pom.xml: Loading...
  3. client/src/main/java/org/apache/sqoop/client/SqoopClient.java: Loading...
  4. client/src/main/java/org/apache/sqoop/client/shell/ShowConnectorFunction.java: Loading...
  5. client/src/test/java/org/apache/sqoop/client/TestSqoopClient.java: Loading...