Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Source Recurly: avoid loading all accounts when importing account coupon redemptions #9382

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"sourceDefinitionId": "cd42861b-01fc-4658-a8ab-5d11d0510f01",
"name": "Recurly",
"dockerRepository": "airbyte/source-recurly",
"dockerImageTag": "0.3.0",
"dockerImageTag": "0.3.1",
"documentationUrl": "https://docs.airbyte.io/integrations/sources/recurly",
"icon": "recurly.svg"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3767,7 +3767,7 @@
supported_destination_sync_modes:
- "overwrite"
- "append"
- dockerImage: "airbyte/destination-snowflake:0.4.0"
- dockerImage: "airbyte/destination-snowflake:0.4.1"
spec:
documentationUrl: "https://docs.airbyte.io/integrations/destinations/snowflake"
connectionSpecification:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@
- name: Recurly
sourceDefinitionId: cd42861b-01fc-4658-a8ab-5d11d0510f01
dockerRepository: airbyte/source-recurly
dockerImageTag: 0.3.0
dockerImageTag: 0.3.1
documentationUrl: https://docs.airbyte.io/integrations/sources/recurly
icon: recurly.svg
sourceType: api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5885,7 +5885,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-recurly:0.3.0"
- dockerImage: "airbyte/source-recurly:0.3.1"
spec:
documentationUrl: "https://docs.airbyte.io/integrations/sources/recurly"
connectionSpecification:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ class Config:
log: Optional[AirbyteLogMessage] = Field(None, description="log message: any kind of logging you want the platform to know about.")
spec: Optional[ConnectorSpecification] = None
connectionStatus: Optional[AirbyteConnectionStatus] = None
catalog: Optional[AirbyteCatalog] = Field(None, description="log message: any kind of logging you want the platform to know about.")
catalog: Optional[AirbyteCatalog] = Field(None, description="catalog message: the calalog")
record: Optional[AirbyteRecordMessage] = Field(None, description="record message: the record")
state: Optional[AirbyteStateMessage] = Field(
None, description="schema message: the state. Must be the last message produced. The platform uses this information"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.9.7/envs/airbyte-recurly
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-recurly/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_recurly ./source_recurly
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.3.0
LABEL io.airbyte.version=0.3.1
LABEL io.airbyte.name=airbyte/source-recurly
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def read_records(
params.update({BEGIN_TIME_PARAM: self.begin_time})

# Call the Recurly client methods
accounts = self._client.list_accounts().items()
accounts = self._client.list_accounts(params=params).items()
for account in accounts:
coupons = self._client.list_account_coupon_redemptions(account_id=account.id, params=params).items()
for coupon in coupons:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"sourceDefinitionId": "cd42861b-01fc-4658-a8ab-5d11d0510f01",
"name": "Recurly",
"dockerRepository": "airbyte/source-recurly",
"dockerImageTag": "0.2.0",
"dockerImageTag": "0.3.1",
"documentationUrl": "https://hub.docker.com/r/airbyte/source-recurly",
"spec": {
"documentationUrl": "https://docs.airbyte.io/integrations/sources/recurly",
Expand Down
2 changes: 2 additions & 0 deletions docs/integrations/sources/recurly.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,7 @@ We recommend creating a restricted, read-only key specifically for Airbyte acces

| Version | Date | Pull Request | Subject |
|:--------|:-----------| :--- | :--- |
| 0.3.1 | 2022-01-10 | [9382](https://github.com/airbytehq/airbyte/pull/9382) | Source Recurly: avoid loading all accounts when importing account coupon redemptions |
| 0.3.0 | 2021-12-08 | [8468](https://github.com/airbytehq/airbyte/pull/8468) | Support Incremental Sync Mode |