-
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.
Merge branch 'master' into artem1205/source-facebook-marketing-OC-2765
- Loading branch information
Showing
18 changed files
with
284 additions
and
169 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
19 changes: 19 additions & 0 deletions
19
...rvice/lib/tests/fixtures/metadata_validate/valid/metadata_breaking_change_prerelease.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,19 @@ | ||
metadataSpecVersion: 1.0 | ||
data: | ||
name: AlloyDB for PostgreSQL | ||
definitionId: 1fa90628-2b9e-11ed-a261-0242ac120002 | ||
connectorType: source | ||
dockerRepository: airbyte/image-exists-1 | ||
githubIssueLabel: source-alloydb-strict-encrypt | ||
dockerImageTag: 2.0.0-dev.cf3628ccf3 | ||
documentationUrl: https://docs.airbyte.com/integrations/sources/alloydb | ||
connectorSubtype: database | ||
releaseStage: generally_available | ||
license: MIT | ||
releases: | ||
breakingChanges: | ||
2.0.0: | ||
upgradeDeadline: 2023-08-22 | ||
message: "This version changes the connector’s authentication method from `ApiKey` to `oAuth`, per the [API guide](https://amazon-sqs.com/api/someguide)." | ||
tags: | ||
- language:java |
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
8 changes: 4 additions & 4 deletions
8
airbyte-integrations/connectors/source-hubspot/integration_tests/expected_records.jsonl
Large diffs are not rendered by default.
Oops, something went wrong.
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
49 changes: 49 additions & 0 deletions
49
airbyte-integrations/connectors/source-stripe/unit_tests/conftest.py
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,49 @@ | ||
# | ||
# Copyright (c) 2023 Airbyte, Inc., all rights reserved. | ||
# | ||
|
||
import pytest | ||
from airbyte_cdk.sources.streams.http.auth import TokenAuthenticator | ||
|
||
|
||
@pytest.fixture(autouse=True) | ||
def disable_cache(mocker): | ||
mocker.patch( | ||
"source_stripe.streams.Customers.use_cache", | ||
new_callable=mocker.PropertyMock, | ||
return_value=False | ||
) | ||
mocker.patch( | ||
"source_stripe.streams.Transfers.use_cache", | ||
new_callable=mocker.PropertyMock, | ||
return_value=False | ||
) | ||
mocker.patch( | ||
"source_stripe.streams.Subscriptions.use_cache", | ||
new_callable=mocker.PropertyMock, | ||
return_value=False | ||
) | ||
mocker.patch( | ||
"source_stripe.streams.SubscriptionItems.use_cache", | ||
new_callable=mocker.PropertyMock, | ||
return_value=False | ||
) | ||
|
||
|
||
@pytest.fixture(name="config") | ||
def config_fixture(): | ||
config = {"client_secret": "sk_test(live)_<secret>", | ||
"account_id": "<account_id>", "start_date": "2020-05-01T00:00:00Z"} | ||
return config | ||
|
||
|
||
@pytest.fixture(name="stream_args") | ||
def stream_args_fixture(): | ||
authenticator = TokenAuthenticator("sk_test(live)_<secret>") | ||
args = { | ||
"authenticator": authenticator, | ||
"account_id": "<account_id>", | ||
"start_date": 1588315041, | ||
"slice_range": 365, | ||
} | ||
return args |
Oops, something went wrong.