Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add persistence function for discovered schema (#10326)
- Add functions to persist/edit/delete ACTOR_CATALOG and ACTOR_CATALOG_FETCH_EVENT in ConfigPersistence - Add high level operation in ConfigRepository
- Loading branch information
1 parent
a56c4fb
commit fe1eb8d
Showing
11 changed files
with
609 additions
and
3 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
20 changes: 20 additions & 0 deletions
20
airbyte-config/models/src/main/resources/types/ActorCatalog.yaml
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,20 @@ | ||
--- | ||
"$schema": http://json-schema.org/draft-07/schema# | ||
"$id": https://github.com/airbytehq/airbyte/blob/master/airbyte-config/models/src/main/resources/types/AttemptFailureSummary.yaml | ||
title: ActorCatalog | ||
description: Catalog of an actor. | ||
type: object | ||
additionalProperties: false | ||
required: | ||
- id | ||
- catalog | ||
- catalogHash | ||
properties: | ||
id: | ||
type: string | ||
format: uuid | ||
catalog: | ||
type: object | ||
existingJavaType: com.fasterxml.jackson.databind.JsonNode | ||
catalogHash: | ||
type: string |
27 changes: 27 additions & 0 deletions
27
airbyte-config/models/src/main/resources/types/ActorCatalogFetchEvent.yaml
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,27 @@ | ||
--- | ||
"$schema": http://json-schema.org/draft-07/schema# | ||
"$id": https://github.com/airbytehq/airbyte/blob/master/airbyte-config/models/src/main/resources/types/AttemptFailureSummary.yaml | ||
title: ActorCatalogFetchEvent | ||
description: Link actor to their actual catalog | ||
type: object | ||
additionalProperties: false | ||
required: | ||
- id | ||
- actorCatalogId | ||
- actorId | ||
- configHash | ||
- connectorVersion | ||
properties: | ||
id: | ||
type: string | ||
format: uuid | ||
actorId: | ||
type: string | ||
format: uuid | ||
actorCatalogId: | ||
type: string | ||
format: uuid | ||
configHash: | ||
type: string | ||
connectorVersion: | ||
type: string |
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.