forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a config for instance wide oauth parameters (airbytehq#5761)
* Add a config for instance wide oauth parameters * Remove recreate endpoints and add tests * Inject oauth params in discover/check/reset too * Inject masked OAuth params for UI Validation (airbytehq#5865) Co-authored-by: Sherif Nada <[email protected]>
- Loading branch information
1 parent
ea91e1e
commit edcd83d
Showing
26 changed files
with
795 additions
and
810 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
25 changes: 25 additions & 0 deletions
25
airbyte-config/models/src/main/resources/types/DestinationOAuthParameter.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,25 @@ | ||
--- | ||
"$schema": http://json-schema.org/draft-07/schema# | ||
"$id": https://github.com/airbytehq/airbyte/blob/master/airbyte-config/models/src/main/resources/types/DestinationOAuthParameter.yaml | ||
title: DestinationOAuthParameter | ||
description: OAuth parameters used when connecting to destination | ||
type: object | ||
required: | ||
- oauthParameterId | ||
- destinationDefinitionId | ||
- configuration | ||
additionalProperties: false | ||
properties: | ||
oauthParameterId: | ||
type: string | ||
format: uuid | ||
destinationDefinitionId: | ||
type: string | ||
format: uuid | ||
workspaceId: | ||
type: string | ||
format: uuid | ||
configuration: | ||
description: Integration specific blob. Must be a valid JSON string. | ||
type: object | ||
existingJavaType: com.fasterxml.jackson.databind.JsonNode |
25 changes: 25 additions & 0 deletions
25
airbyte-config/models/src/main/resources/types/SourceOAuthParameter.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,25 @@ | ||
--- | ||
"$schema": http://json-schema.org/draft-07/schema# | ||
"$id": https://github.com/airbytehq/airbyte/blob/master/airbyte-config/models/src/main/resources/types/SourceOAuthParameter.yaml | ||
title: SourceOAuthParameter | ||
description: OAuth parameters used when connecting to source | ||
type: object | ||
required: | ||
- oauthParameterId | ||
- sourceDefinitionId | ||
- configuration | ||
additionalProperties: false | ||
properties: | ||
oauthParameterId: | ||
type: string | ||
format: uuid | ||
sourceDefinitionId: | ||
type: string | ||
format: uuid | ||
workspaceId: | ||
type: string | ||
format: uuid | ||
configuration: | ||
description: Integration specific blob. Must be a valid JSON string. | ||
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
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.