----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45666/#review128018 -----------------------------------------------------------
Ship it! Ship It! - Suma Shivaprasad On April 9, 2016, 4:13 p.m., Shwetha GS wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/45666/ > ----------------------------------------------------------- > > (Updated April 9, 2016, 4:13 p.m.) > > > Review request for atlas. > > > Bugs: ATLAS-621 > https://issues.apache.org/jira/browse/ATLAS-621 > > > Repository: atlas > > > Description > ------- > > Added entity state with ACTIVE/DELETED in > org.apache.atlas.typesystem.persistence.Id which is the id object used in > entity definition. At entity create, added new property for state and is set > to ACTIVE for entities. This is set only for vertices with id, which implies > there is no state for structs and traits. I will revisit this when modifying > hard delete to soft delete. > > Also, modified Instance serialisations/deserialisations used in entity > definition and search. However, lineage doesn't return back entity state > > > Diffs > ----- > > > notification/src/test/java/org/apache/atlas/notification/hook/HookNotificationTest.java > 11b7a53 > repository/src/main/java/org/apache/atlas/repository/Constants.java aa3326e > repository/src/main/java/org/apache/atlas/repository/DiscoverInstances.java > 69b4a00 > repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java > 2eb4d5b > > repository/src/main/java/org/apache/atlas/repository/graph/GraphToTypedInstanceMapper.java > 1fabafa > > repository/src/test/java/org/apache/atlas/discovery/GraphBackedDiscoveryServiceTest.java > b4a9cb2 > > repository/src/test/java/org/apache/atlas/repository/graph/GraphBackedMetadataRepositoryTest.java > f1dd604 > typesystem/src/main/java/org/apache/atlas/typesystem/Referenceable.java > aa1736d > typesystem/src/main/java/org/apache/atlas/typesystem/persistence/Id.java > 20c2f91 > typesystem/src/main/java/org/apache/atlas/typesystem/types/ClassType.java > 475ac9f > > typesystem/src/main/scala/org/apache/atlas/typesystem/json/InstanceSerialization.scala > b8fa4ea > > typesystem/src/main/scala/org/apache/atlas/typesystem/json/Serialization.scala > c5aa6e8 > typesystem/src/test/java/org/apache/atlas/typesystem/types/BaseTest.java > e3352b0 > > typesystem/src/test/scala/org/apache/atlas/typesystem/json/SerializationTest.scala > f98ca93 > > Diff: https://reviews.apache.org/r/45666/diff/ > > > Testing > ------- > > UTs > > > Thanks, > > Shwetha GS > >