From f1e6bfae31645b3a77b64ef65869919f45c34378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Go=CC=81mez?= Date: Thu, 25 Aug 2022 17:11:51 +0200 Subject: [PATCH 1/3] feat(model): adds properties, ownership and tags as aspects for data platform instance entity --- .../DataPlatformInstanceProperties.pdl | 38 +++++++++++++++++++ .../src/main/resources/entity-registry.yml | 3 ++ 2 files changed, 41 insertions(+) create mode 100644 metadata-models/src/main/pegasus/com/linkedin/dataplatforminstance/DataPlatformInstanceProperties.pdl diff --git a/metadata-models/src/main/pegasus/com/linkedin/dataplatforminstance/DataPlatformInstanceProperties.pdl b/metadata-models/src/main/pegasus/com/linkedin/dataplatforminstance/DataPlatformInstanceProperties.pdl new file mode 100644 index 00000000000000..36795906e5b99c --- /dev/null +++ b/metadata-models/src/main/pegasus/com/linkedin/dataplatforminstance/DataPlatformInstanceProperties.pdl @@ -0,0 +1,38 @@ +namespace com.linkedin.dataplatforminstance + +import com.linkedin.common.Uri +import com.linkedin.common.CustomProperties +import com.linkedin.common.ExternalReference + +/** + * Properties associated with a Data Platform Instance + */ +@Aspect = { + "name": "dataPlatformInstanceProperties" +} +record DataPlatformInstanceProperties includes CustomProperties, ExternalReference { + + /** + * Display name of the Data Platform Instance + */ + @Searchable = { + "fieldType": "TEXT_PARTIAL", + "enableAutocomplete": true, + "boostScore": 10.0 + } + name: optional string + + /** + * Documentation of the Data Platform Instance + */ + @Searchable = { + "fieldType": "TEXT", + "hasValuesFieldName": "hasDescription" + } + description: optional string + + /** + * The abstracted URI, usually host and port. Uri should not include any environment specific properties. + */ + uri: optional Uri +} \ No newline at end of file diff --git a/metadata-models/src/main/resources/entity-registry.yml b/metadata-models/src/main/resources/entity-registry.yml index 46e15dc1e3e68a..68ed670c272767 100644 --- a/metadata-models/src/main/resources/entity-registry.yml +++ b/metadata-models/src/main/resources/entity-registry.yml @@ -183,6 +183,9 @@ entities: category: internal keyAspect: dataPlatformInstanceKey aspects: + - dataPlatformInstanceProperties + - ownership + - globalTags - status - name: mlModel category: core From e8e64f5ee557977c51194f09ba99c6238015f179 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Go=CC=81mez?= Date: Thu, 25 Aug 2022 17:21:38 +0200 Subject: [PATCH 2/3] feat(model): adds institutional memory, and deprecation as aspects for data platform instance entity --- metadata-models/src/main/resources/entity-registry.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/metadata-models/src/main/resources/entity-registry.yml b/metadata-models/src/main/resources/entity-registry.yml index 68ed670c272767..4ec23759339563 100644 --- a/metadata-models/src/main/resources/entity-registry.yml +++ b/metadata-models/src/main/resources/entity-registry.yml @@ -186,6 +186,8 @@ entities: - dataPlatformInstanceProperties - ownership - globalTags + - institutionalMemory + - deprecation - status - name: mlModel category: core From 57a6748df7f3db4646c372d93d61cf2f07727d3b Mon Sep 17 00:00:00 2001 From: John Joyce Date: Mon, 14 Nov 2022 17:22:41 -0800 Subject: [PATCH 3/3] Remove URI field Removing URI fields until further discussion --- .../DataPlatformInstanceProperties.pdl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/metadata-models/src/main/pegasus/com/linkedin/dataplatforminstance/DataPlatformInstanceProperties.pdl b/metadata-models/src/main/pegasus/com/linkedin/dataplatforminstance/DataPlatformInstanceProperties.pdl index 36795906e5b99c..d7ce5565103ee3 100644 --- a/metadata-models/src/main/pegasus/com/linkedin/dataplatforminstance/DataPlatformInstanceProperties.pdl +++ b/metadata-models/src/main/pegasus/com/linkedin/dataplatforminstance/DataPlatformInstanceProperties.pdl @@ -30,9 +30,4 @@ record DataPlatformInstanceProperties includes CustomProperties, ExternalReferen "hasValuesFieldName": "hasDescription" } description: optional string - - /** - * The abstracted URI, usually host and port. Uri should not include any environment specific properties. - */ - uri: optional Uri -} \ No newline at end of file +}