-
Notifications
You must be signed in to change notification settings - Fork 875
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
10 changed files
with
372 additions
and
132 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
41 changes: 41 additions & 0 deletions
41
catalog-rest-service/src/main/resources/json/schema/api/tests/createColumnTest.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,41 @@ | ||
{ | ||
"$id": "https://open-metadata.org/schema/api/tests/columnTest.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "CreateColumnTestRequest", | ||
"description": "ColumnTest is a test definition to capture data quality tests against tables and columns.", | ||
"type": "object", | ||
"properties": { | ||
"description": { | ||
"description": "Description of the testcase.", | ||
"type": "string" | ||
}, | ||
"columnName": { | ||
"description": "Name of the column in a table.", | ||
"type": "string" | ||
}, | ||
"testCase": { | ||
"$ref": "../../tests/columnTest.json#/definitions/columnTestCase" | ||
}, | ||
"executionFrequency": { | ||
"$ref": "../../tests/basic.json#/definitions/testCaseExecutionFrequency" | ||
}, | ||
"result": { | ||
"$ref": "../../tests/basic.json#/definitions/testCaseResult" | ||
}, | ||
"owner": { | ||
"description": "Owner of this Pipeline.", | ||
"$ref": "../../type/entityReference.json", | ||
"default": null | ||
}, | ||
"updatedAt": { | ||
"description": "Last update time corresponding to the new version of the entity in Unix epoch time milliseconds.", | ||
"$ref": "../../type/basic.json#/definitions/timestamp" | ||
}, | ||
"updatedBy": { | ||
"description": "User who made the update.", | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["columnName", "testCase"], | ||
"additionalProperties": false | ||
} |
37 changes: 37 additions & 0 deletions
37
catalog-rest-service/src/main/resources/json/schema/api/tests/createTableTest.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,37 @@ | ||
{ | ||
"$id": "https://open-metadata.org/schema/api/tests/tableTest.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "CreateTableTestRequest", | ||
"description": "TableTest is a test definition to capture data quality tests against tables and columns.", | ||
"type": "object", | ||
"properties": { | ||
"description": { | ||
"description": "Description of the testcase.", | ||
"type": "string" | ||
}, | ||
"testCase": { | ||
"$ref": "../../tests/tableTest.json#/definitions/tableTestCase" | ||
}, | ||
"executionFrequency": { | ||
"$ref": "../../tests/basic.json#/definitions/testCaseExecutionFrequency" | ||
}, | ||
"result": { | ||
"$ref": "../../tests/basic.json#/definitions/testCaseResult" | ||
}, | ||
"owner": { | ||
"description": "Owner of this Pipeline.", | ||
"$ref": "../../type/entityReference.json", | ||
"default": null | ||
}, | ||
"updatedAt": { | ||
"description": "Last update time corresponding to the new version of the entity in Unix epoch time milliseconds.", | ||
"$ref": "../../type/basic.json#/definitions/timestamp" | ||
}, | ||
"updatedBy": { | ||
"description": "User who made the update.", | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["testCase"], | ||
"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
Oops, something went wrong.