mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-07 16:16:51 +00:00
feat(model) Update aspect containerPath -> browsePathsV2 (#7942)
This commit is contained in:
parent
35dde479d7
commit
4d63ea5220
@ -1,11 +1,11 @@
|
|||||||
namespace com.linkedin.common
|
namespace com.linkedin.common
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a single level in an entity's container path
|
* Represents a single level in an entity's browsePathV2
|
||||||
*/
|
*/
|
||||||
record ContainerPathEntry {
|
record BrowsePathEntry {
|
||||||
/**
|
/**
|
||||||
* The ID of the container path entry. This is what gets stored in the index after URL encoding.
|
* The ID of the browse path entry. This is what gets stored in the index.
|
||||||
* If there's an urn associated with this entry, id and urn will be the same
|
* If there's an urn associated with this entry, id and urn will be the same
|
||||||
*/
|
*/
|
||||||
id: string
|
id: string
|
@ -0,0 +1,19 @@
|
|||||||
|
namespace com.linkedin.common
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Shared aspect containing a Browse Path to be indexed for an entity.
|
||||||
|
*/
|
||||||
|
@Aspect = {
|
||||||
|
"name": "browsePathsV2"
|
||||||
|
}
|
||||||
|
record BrowsePathsV2 {
|
||||||
|
/**
|
||||||
|
* A valid browse path for the entity. This field is provided by DataHub by default.
|
||||||
|
* This aspect is a newer version of browsePaths where we can encode more information in the path.
|
||||||
|
* This path is also based on containers for a given entity if it has containers.
|
||||||
|
*
|
||||||
|
* This is stored in elasticsearch as unit-separator delimited strings and only includes platform specific folders or containers.
|
||||||
|
* These paths should not include high level info captured elsewhere ie. Platform and Environment.
|
||||||
|
*/
|
||||||
|
path: array[BrowsePathEntry]
|
||||||
|
}
|
@ -1,17 +0,0 @@
|
|||||||
namespace com.linkedin.common
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Shared aspect containing Container Paths to be indexed for an entity.
|
|
||||||
*/
|
|
||||||
@Aspect = {
|
|
||||||
"name": "containerPath"
|
|
||||||
}
|
|
||||||
record ContainerPath {
|
|
||||||
/**
|
|
||||||
* A valid container path for the entity. This field is provided by DataHub by default.
|
|
||||||
*
|
|
||||||
* Container paths are stored in elasticsearch as slash-separated strings and only include platform specific folders or containers.
|
|
||||||
* These paths should not include high level info captured elsewhere ie. Platform and Environment.
|
|
||||||
*/
|
|
||||||
path: array[ContainerPathEntry]
|
|
||||||
}
|
|
@ -34,7 +34,7 @@ entities:
|
|||||||
- glossaryTerms
|
- glossaryTerms
|
||||||
- browsePaths
|
- browsePaths
|
||||||
- dataPlatformInstance
|
- dataPlatformInstance
|
||||||
- containerPath
|
- browsePathsV2
|
||||||
- name: dataHubPolicy
|
- name: dataHubPolicy
|
||||||
doc: DataHub Policies represent access policies granted to users or groups on metadata operations like edit, view etc.
|
doc: DataHub Policies represent access policies granted to users or groups on metadata operations like edit, view etc.
|
||||||
category: internal
|
category: internal
|
||||||
@ -59,7 +59,7 @@ entities:
|
|||||||
- glossaryTerms
|
- glossaryTerms
|
||||||
- institutionalMemory
|
- institutionalMemory
|
||||||
- dataPlatformInstance
|
- dataPlatformInstance
|
||||||
- containerPath
|
- browsePathsV2
|
||||||
- name: dataFlow
|
- name: dataFlow
|
||||||
category: core
|
category: core
|
||||||
keyAspect: dataFlowKey
|
keyAspect: dataFlowKey
|
||||||
@ -76,7 +76,7 @@ entities:
|
|||||||
- glossaryTerms
|
- glossaryTerms
|
||||||
- institutionalMemory
|
- institutionalMemory
|
||||||
- dataPlatformInstance
|
- dataPlatformInstance
|
||||||
- containerPath
|
- browsePathsV2
|
||||||
- name: dataProcess
|
- name: dataProcess
|
||||||
keyAspect: dataProcessKey
|
keyAspect: dataProcessKey
|
||||||
aspects:
|
aspects:
|
||||||
@ -111,7 +111,7 @@ entities:
|
|||||||
- dataPlatformInstance
|
- dataPlatformInstance
|
||||||
- globalTags
|
- globalTags
|
||||||
- glossaryTerms
|
- glossaryTerms
|
||||||
- containerPath
|
- browsePathsV2
|
||||||
- name: dashboard
|
- name: dashboard
|
||||||
keyAspect: dashboardKey
|
keyAspect: dashboardKey
|
||||||
aspects:
|
aspects:
|
||||||
@ -131,7 +131,7 @@ entities:
|
|||||||
- glossaryTerms
|
- glossaryTerms
|
||||||
- institutionalMemory
|
- institutionalMemory
|
||||||
- dataPlatformInstance
|
- dataPlatformInstance
|
||||||
- containerPath
|
- browsePathsV2
|
||||||
- name: notebook
|
- name: notebook
|
||||||
doc: Notebook represents a combination of query, text, chart and etc. This is in BETA version
|
doc: Notebook represents a combination of query, text, chart and etc. This is in BETA version
|
||||||
keyAspect: notebookKey
|
keyAspect: notebookKey
|
||||||
@ -148,7 +148,7 @@ entities:
|
|||||||
- domains
|
- domains
|
||||||
- subTypes
|
- subTypes
|
||||||
- dataPlatformInstance
|
- dataPlatformInstance
|
||||||
- containerPath
|
- browsePathsV2
|
||||||
- name: corpuser
|
- name: corpuser
|
||||||
doc: CorpUser represents an identity of a person (or an account) in the enterprise.
|
doc: CorpUser represents an identity of a person (or an account) in the enterprise.
|
||||||
keyAspect: corpUserKey
|
keyAspect: corpUserKey
|
||||||
@ -197,7 +197,7 @@ entities:
|
|||||||
- browsePaths # unclear if this will be used
|
- browsePaths # unclear if this will be used
|
||||||
- status
|
- status
|
||||||
- domains
|
- domains
|
||||||
- containerPath
|
- browsePathsV2
|
||||||
- name: tag
|
- name: tag
|
||||||
keyAspect: tagKey
|
keyAspect: tagKey
|
||||||
aspects:
|
aspects:
|
||||||
@ -290,7 +290,7 @@ entities:
|
|||||||
- browsePaths
|
- browsePaths
|
||||||
- globalTags
|
- globalTags
|
||||||
- dataPlatformInstance
|
- dataPlatformInstance
|
||||||
- containerPath
|
- browsePathsV2
|
||||||
- name: mlModelGroup
|
- name: mlModelGroup
|
||||||
category: core
|
category: core
|
||||||
keyAspect: mlModelGroupKey
|
keyAspect: mlModelGroupKey
|
||||||
@ -305,7 +305,7 @@ entities:
|
|||||||
- browsePaths
|
- browsePaths
|
||||||
- globalTags
|
- globalTags
|
||||||
- dataPlatformInstance
|
- dataPlatformInstance
|
||||||
- containerPath
|
- browsePathsV2
|
||||||
- name: mlModelDeployment
|
- name: mlModelDeployment
|
||||||
category: core
|
category: core
|
||||||
keyAspect: mlModelDeploymentKey
|
keyAspect: mlModelDeploymentKey
|
||||||
@ -331,7 +331,7 @@ entities:
|
|||||||
- browsePaths
|
- browsePaths
|
||||||
- globalTags
|
- globalTags
|
||||||
- dataPlatformInstance
|
- dataPlatformInstance
|
||||||
- containerPath
|
- browsePathsV2
|
||||||
- name: mlFeature
|
- name: mlFeature
|
||||||
category: core
|
category: core
|
||||||
keyAspect: mlFeatureKey
|
keyAspect: mlFeatureKey
|
||||||
@ -347,7 +347,7 @@ entities:
|
|||||||
- browsePaths
|
- browsePaths
|
||||||
- globalTags
|
- globalTags
|
||||||
- dataPlatformInstance
|
- dataPlatformInstance
|
||||||
- containerPath
|
- browsePathsV2
|
||||||
- name: mlPrimaryKey
|
- name: mlPrimaryKey
|
||||||
category: core
|
category: core
|
||||||
keyAspect: mlPrimaryKeyKey
|
keyAspect: mlPrimaryKeyKey
|
||||||
|
Loading…
x
Reference in New Issue
Block a user