-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/58159/#review171804
-----------------------------------------------------------


Ship it!




Ship It!

- Sarath Subramanian


On April 3, 2017, 3:45 p.m., Ashutosh Mestry wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/58159/
> -----------------------------------------------------------
> 
> (Updated April 3, 2017, 3:45 p.m.)
> 
> 
> Review request for atlas and Madhan Neethiraj.
> 
> 
> Bugs: ATLAS-1709
>     https://issues.apache.org/jira/browse/ATLAS-1709
> 
> 
> Repository: atlas
> 
> 
> Description
> -------
> 
> **Background**
> Existing implementation is not supported by suite of unit tests. This impacts 
> sustainbility of the module.
> 
> **Implementation**
> Unit tests have been implemented to cover the top-level classes and the 
> supporting classes.
> 
> The implementaion caused the classes to be moved from existing _webapp_ 
> module to _repository_.
> 
> _ImportServiceTests_: Had to split it in 3 separate classes to overcome 
> intermittent failure problem.
> 
> 
> Diffs
> -----
> 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ExportServiceTest.java
>  PRE-CREATION 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ImportServiceReportingTest.java
>  PRE-CREATION 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ImportServiceTest.java
>  PRE-CREATION 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ZipFileResourceTestUtils.java
>  PRE-CREATION 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ZipSinkTest.java 
> PRE-CREATION 
>   
> repository/src/test/java/org/apache/atlas/repository/impexp/ZipSourceTest.java
>  PRE-CREATION 
>   repository/src/test/resources/dept-employee-test-utils.zip PRE-CREATION 
>   repository/src/test/resources/logging-v1-full.zip PRE-CREATION 
>   repository/src/test/resources/reporting-v1-full.zip PRE-CREATION 
>   repository/src/test/resources/sales-v1-full.zip PRE-CREATION 
>   repository/src/test/resources/stocks.zip PRE-CREATION 
>   webapp/src/main/java/org/apache/atlas/web/resources/AdminResource.java 
> 097589f2 
>   webapp/src/main/java/org/apache/atlas/web/resources/ExportService.java 
> 159369cd 
>   webapp/src/main/java/org/apache/atlas/web/resources/ImportService.java 
> eb81e3ce 
>   webapp/src/main/java/org/apache/atlas/web/resources/ZipExportFileNames.java 
> c41ff56a 
>   webapp/src/main/java/org/apache/atlas/web/resources/ZipSink.java c197d41a 
>   webapp/src/main/java/org/apache/atlas/web/resources/ZipSource.java 8b2b9dfe 
> 
> 
> Diff: https://reviews.apache.org/r/58159/diff/5/
> 
> 
> Testing
> -------
> 
> Verified REST APIs via CURL calls. They function as expected.
> Verified the test suite via IntelliJ IDE and as part of module maven build.
> 
> _ImportServiceTest_:
> - Runs consistently from IntelliJ IDE.
> - From _repository_ directory, verify using: 
> ```
> mvn compile install -Dtest=ImportServiceTest -Ptitan0
> ```
> 
> Verify all _Repository_ tests:
> - cd _repository_
> - Run:
> ```
> mvn compile install -Ptitan0
> ```
> 
> 
> Thanks,
> 
> Ashutosh Mestry
> 
>

Reply via email to