zhangkai created ATLAS-4749: ------------------------------- Summary: What is the meaning of version in the JSON content of creating entities, and how to update version when updating entity content Key: ATLAS-4749 URL: https://issues.apache.org/jira/browse/ATLAS-4749 Project: Atlas Issue Type: Task Affects Versions: 2.3.0 Reporter: zhangkai
Example: 1. Create Entity ("version"=20) 2. Query created entities 3. Update Entity ("version"=30) 4. Query the updated entity and find that version=20 has not changed Create an entity's JSON { "entity": { "typeName": "my_db_new", "attributes": { "description": "database", "clustername": "T2@TEST", "name": "all_dbs", "qualifiedName": "T2@TEST", "attr2": "test" }, "version": 20 } } Update entity's JSON { "entity": { "typeName": "my_db_new", "attributes": { "description": "database", "clustername": "T2@TEST", "name": "all_dbs_update", "qualifiedName": "T2@TEST", "attr2": "test" }, "version": 30 } } -- This message was sent by Atlassian Jira (v8.20.10#820010)