Skip to content

Commit

Permalink
feat(model): adds properties, ownership, deprecated, institutional me…
Browse files Browse the repository at this point in the history
…mory and tags as aspects for data platform instance entity (#5728)
  • Loading branch information
sgomezvillamor authored Nov 15, 2022
1 parent 8395016 commit c6eff28
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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
}
5 changes: 5 additions & 0 deletions metadata-models/src/main/resources/entity-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,11 @@ entities:
category: internal
keyAspect: dataPlatformInstanceKey
aspects:
- dataPlatformInstanceProperties
- ownership
- globalTags
- institutionalMemory
- deprecation
- status
- name: mlModel
category: core
Expand Down

0 comments on commit c6eff28

Please sign in to comment.