This is an automated email from the ASF dual-hosted git repository. amestry pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push: new f484b20 ATLAS-3559: Additional attributes (displayName & userDescription) to Asset. f484b20 is described below commit f484b205013f6e256a45a55c5a2b2b54efcc0769 Author: Ashutosh Mestry <ames...@cloudera.com> AuthorDate: Thu Jan 16 21:22:35 2020 -0800 ATLAS-3559: Additional attributes (displayName & userDescription) to Asset. --- addons/models/0000-Area0/0010-base_model.json | 18 ++++++++++++ .../005-base_model_add_display_attributes.json | 33 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/addons/models/0000-Area0/0010-base_model.json b/addons/models/0000-Area0/0010-base_model.json index 2f5fdaf..6bdd2f7 100644 --- a/addons/models/0000-Area0/0010-base_model.json +++ b/addons/models/0000-Area0/0010-base_model.json @@ -44,6 +44,15 @@ "indexType": "STRING" }, { + "name": "displayName", + "typeName": "string", + "cardinality": "SINGLE", + "isIndexable": true, + "isOptional": true, + "isUnique": false, + "indexType": "STRING" + }, + { "name": "description", "typeName": "string", "cardinality": "SINGLE", @@ -52,6 +61,15 @@ "isUnique": false }, { + "name": "userDescription", + "typeName": "string", + "cardinality": "SINGLE", + "isIndexable": true, + "isOptional": true, + "isUnique": false, + "indexType": "STRING" + }, + { "name": "owner", "typeName": "string", "cardinality": "SINGLE", diff --git a/addons/models/0000-Area0/patches/005-base_model_add_display_attributes.json b/addons/models/0000-Area0/patches/005-base_model_add_display_attributes.json new file mode 100644 index 0000000..41c8c4d --- /dev/null +++ b/addons/models/0000-Area0/patches/005-base_model_add_display_attributes.json @@ -0,0 +1,33 @@ +{ + "patches": [ + { + "id": "TYPEDEF_PATCH_0005_001", + "description": "Add displayName and userDescription to Asset", + "action": "ADD_ATTRIBUTE", + "typeName": "Asset", + "applyToVersion": "1.5", + "updateToVersion": "1.6", + "params": null, + "attributeDefs": [ + { + "name": "displayName", + "typeName": "string", + "cardinality": "SINGLE", + "isIndexable": true, + "isOptional": true, + "isUnique": false, + "indexType": "STRING" + }, + { + "name": "userDescription", + "typeName": "string", + "cardinality": "SINGLE", + "isIndexable": true, + "isOptional": true, + "isUnique": false, + "indexType": "STRING" + } + ] + } + ] +}