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

(Updated May 17, 2016, 2:55 p.m.)


Review request for atlas, David Kantor and Hemanth Yamijala.


Changes
-------

Attaching latest patch after addressing some of the review comments given by 
Shwetha.


Bugs: ATLAS-683
    https://issues.apache.org/jira/browse/ATLAS-683


Repository: atlas


Description
-------

The local type-cache has been carved out as an interface ITypeCacheProvider and 
the TypeSystem code has been refactored to use an instance of 
ITypeCacheProvider injected through Guice. An instance of ITypeCacheProvider is 
created by looking up the implementation class specified in 
atlas-application.properties (property - atlas.typesystem.cache.provider). The 
default implementation is a local cache implemented by DefaultTypeCacheProvider.


Diffs (updated)
-----

  .gitignore f5899e2069d29d71378cabe51900c120db19eef9 
  common/src/main/java/org/apache/atlas/AtlasRuntimeException.java PRE-CREATION 
  distro/src/conf/atlas-application.properties 
68a002115bdda99fba4dcace5ab97399c59289d9 
  typesystem/src/main/java/org/apache/atlas/typesystem/types/TypeSystem.java 
7763ebc39593d2ba747bd53e861f1d35657c8ea1 
  
typesystem/src/main/java/org/apache/atlas/typesystem/types/cache/DefaultTypeCacheProvider.java
 PRE-CREATION 
  
typesystem/src/main/java/org/apache/atlas/typesystem/types/cache/ITypeCacheProvider.java
 PRE-CREATION 
  
typesystem/src/test/java/org/apache/atlas/typesystem/types/cache/DefaultTypeCacheProviderTest.java
 PRE-CREATION 

Diff: https://reviews.apache.org/r/46330/diff/


Testing
-------

Unit tests for the local cache DefaultTypeCacheProvider have been authored and 
all other affected unit tests of TypeSystem interface are modified to function 
in the presence of a type cache provider. Ran all tests of Atlas.


Thanks,

venkata madugundu

Reply via email to