Skip to content

Commit

Permalink
fix(dataPlatformInstance): add data platform instance to entity regis…
Browse files Browse the repository at this point in the history
…try (#4537)
  • Loading branch information
RyanHolstien authored Mar 31, 2022
1 parent 467ea79 commit a10a4ac
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
namespace com.linkedin.metadata.key

import com.linkedin.common.Urn
import com.linkedin.common.FabricType

/**
* Key for a Dataset
*/
@Aspect = {
"name": "dataPlatformInstanceKey"
}
record DataPlatformInstanceKey {
/**
* Data platform urn associated with the instance
*/
platform: Urn

/**
* Unique instance id
*/
instance: 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 @@ -158,4 +158,9 @@ entities:
keyAspect: dataHubRetentionKey
aspects:
- dataHubRetentionConfig
- name: dataPlatformInstance
category: internal
keyAspect: dataPlatformInstanceKey
aspects:
- status
events:

0 comments on commit a10a4ac

Please sign in to comment.