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.
🎉 square: added oauth support (airbytehq#6842)
* fixed test which check incorrect cred config * Added oauth2 authentication * Added oauth creds * fixed formatting * added oauth2 spec section, added missing type hints * Added java part of Square OAuth * fixed checkstyle * removed commented code * added support for old format of spec.json files, updated change logs docs * renamed spec property 'authentication' to default 'credentials'. fixed changes in java part * recovered empty files * updated OAuthImplementationFactory.java * fixed issue with autheticator for sub streams, added config catalog with all streams, updated docs * use advanced_auth * added advanced_auth * moved scopes to private property * updated source version * Revert "updated source version" This reverts commit ce3d061. * updated source version * added new version for airbyte index Co-authored-by: ievgeniit <[email protected]>
- Loading branch information
Showing
14 changed files
with
588 additions
and
41 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
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
40 changes: 40 additions & 0 deletions
40
...yte-integrations/connectors/source-square/integration_tests/configured_catalog_oauth.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,40 @@ | ||
{ | ||
"streams": [ | ||
{ | ||
"stream": { | ||
"name": "locations", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["id"] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"cursor_field": ["id"], | ||
"destination_sync_mode": "overwrite" | ||
}, | ||
{ | ||
"stream": { | ||
"name": "team_members", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["id"] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"cursor_field": ["id"], | ||
"destination_sync_mode": "overwrite" | ||
}, | ||
{ | ||
"stream": { | ||
"name": "team_member_wages", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["id"] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"cursor_field": ["id"], | ||
"destination_sync_mode": "overwrite" | ||
} | ||
] | ||
} |
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.