-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add LineageSettings to control Lineage Default depth, layers (#18498)
- Loading branch information
Showing
8 changed files
with
281 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
openmetadata-spec/src/main/resources/json/schema/configuration/limitsConfiguration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
openmetadata-spec/src/main/resources/json/schema/configuration/lineageSettings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"$id": "https://open-metadata.org/schema/entity/configuration/lineageSettings.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "LineageSettings", | ||
"description": "This schema defines the Lineage Settings.", | ||
"type": "object", | ||
"javaType": "org.openmetadata.schema.api.lineage.LineageSettings", | ||
"definitions": { | ||
"lineageLayer": { | ||
"javaType": "org.openmetadata.schema.api.lineage.LineageLayer", | ||
"description": "Lineage Layers", | ||
"type": "string", | ||
"enum": [ | ||
"EntityLineage", | ||
"ColumnLevelLineage", | ||
"DataObservability" | ||
], | ||
"default": "EntityLineage" | ||
} | ||
}, | ||
"properties": { | ||
"upstreamDepth": { | ||
"description": "Upstream Depth for Lineage.", | ||
"type": "integer", | ||
"default": 2, | ||
"minimum": 1, | ||
"maximum": 5 | ||
}, | ||
"downstreamDepth": { | ||
"description": "DownStream Depth for Lineage.", | ||
"type": "integer", | ||
"default": 2, | ||
"minimum": 1, | ||
"maximum": 5 | ||
}, | ||
"lineageLayer": { | ||
"description": "Lineage Layer.", | ||
"$ref": "#/definitions/lineageLayer" | ||
} | ||
}, | ||
"required": ["upstreamDepth", "downstreamDepth", "lineageLayer"], | ||
"additionalProperties": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters