Commit fb7e9eaf by Graham Wallis Committed by grahamwallis

ATLAS-2938: EntityGraphMapper stores updated version number

parent 7e4788ed
......@@ -142,6 +142,10 @@ public class EntityGraphMapper {
AtlasGraphUtilsV2.setEncodedProperty(vertex, STATE_PROPERTY_KEY, entity.getStatus().name());
}
if (entity.getVersion() != null) {
AtlasGraphUtilsV2.setEncodedProperty(vertex, VERSION_PROPERTY_KEY, entity.getVersion());
}
if (entity.getCreateTime() != null) {
AtlasGraphUtilsV2.setEncodedProperty(vertex, TIMESTAMP_PROPERTY_KEY, entity.getCreateTime().getTime());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment