----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37181/ -----------------------------------------------------------
(Updated Aug. 10, 2015, 10:43 a.m.) Review request for atlas. Changes ------- Adds referenceable type as a super type which contains qualified name as unique required attribute. Any class type that requires de-duping should extend this new type. Also added new API that gets entity definition by unique attribute name Bugs: ATLAS-59 https://issues.apache.org/jira/browse/ATLAS-59 Repository: atlas Description ------- Exposes qualifiedName that can be set on Referenceable. In the backend, it creates unique index for this property for all class types and createEntity fails if there is another entity of the same type with the same qualified name Diffs (updated) ----- client/src/main/java/org/apache/atlas/AtlasClient.java 1c7d62a dashboard/v2/public/modules/details/detailsResource.js af2f249 repository/src/main/java/org/apache/atlas/repository/EntityExistsException.java PRE-CREATION repository/src/main/java/org/apache/atlas/repository/MetadataRepository.java 1b0faa5 repository/src/main/java/org/apache/atlas/repository/graph/GraphBackedMetadataRepository.java cc10ea3 repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java ceb8a65 repository/src/main/java/org/apache/atlas/services/DefaultMetadataService.java 56168db repository/src/main/java/org/apache/atlas/services/MetadataService.java 8f82f88 repository/src/test/java/org/apache/atlas/service/DefaultMetadataServiceTest.java PRE-CREATION typesystem/src/main/java/org/apache/atlas/TypeExistsException.java PRE-CREATION typesystem/src/main/java/org/apache/atlas/typesystem/types/TypeSystem.java d1e8dbd webapp/src/main/java/org/apache/atlas/web/resources/EntitiesResource.java PRE-CREATION webapp/src/main/java/org/apache/atlas/web/resources/EntityResource.java dcb460d webapp/src/main/java/org/apache/atlas/web/resources/TypesResource.java d6d5915 webapp/src/test/java/org/apache/atlas/web/resources/EntityJerseyResourceIT.java e6a7325 Diff: https://reviews.apache.org/r/37181/diff/ Testing ------- UT and IT Thanks, Shwetha GS