-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement migration to create workspace_service_account table (#11943)
* implement migration to create workspace_service_account table * make all columns non nullable * introduce persistence code for service account table (#11944) * implement persistence code for workspace_service_account table * update yaml * implement secret handling for workspace_service_account table (#11946) * implement secret handling for workspace_service_account table * add new line to the mock json * get rid of file * address review comments * update method name and add comment
- Loading branch information
1 parent
0c12ad9
commit 367b863
Showing
21 changed files
with
743 additions
and
8 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
31 changes: 31 additions & 0 deletions
31
airbyte-config/models/src/main/resources/types/WorkspaceServiceAccount.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,31 @@ | ||
--- | ||
"$schema": http://json-schema.org/draft-07/schema# | ||
"$id": https://github.com/airbytehq/airbyte/blob/master/airbyte-config/models/src/main/resources/types/WorkspaceServiceAccount.yaml | ||
title: WorkspaceServiceAccount | ||
description: service account attached to a workspace | ||
type: object | ||
required: | ||
- workspaceId | ||
- serviceAccountId | ||
- serviceAccountEmail | ||
- jsonCredential | ||
- hmacKey | ||
additionalProperties: false | ||
properties: | ||
workspaceId: | ||
type: string | ||
format: uuid | ||
serviceAccountId: | ||
type: string | ||
serviceAccountEmail: | ||
type: string | ||
jsonCredential: | ||
# Ref : io.airbyte.config.persistence.MockData#workspaceServiceAccounts() for sample data | ||
description: Represents the JSON key generated for the service account | ||
type: object | ||
existingJavaType: com.fasterxml.jackson.databind.JsonNode | ||
hmacKey: | ||
# Ref : io.airbyte.config.persistence.MockData#workspaceServiceAccounts() for sample data | ||
description: Represents the secret and access id of generated HMAC key for the service account | ||
type: object | ||
existingJavaType: com.fasterxml.jackson.databind.JsonNode |
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
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.