Skip to content

Commit

Permalink
Source chargebee: ignore http 404 errors (#24370)
Browse files Browse the repository at this point in the history
* #1689 source chargebee: ignore http 404 errors

* #1689 source chargebee: upd changelog

* merge two handlers

* auto-bump connector version

---------

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
  • Loading branch information
2 people authored and erohmensing committed Mar 22, 2023
1 parent 74d574a commit 2ffe259
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 4 deletions.
Expand Up @@ -250,7 +250,7 @@
- name: Chargebee
sourceDefinitionId: 686473f1-76d9-4994-9cc7-9b13da46147c
dockerRepository: airbyte/source-chargebee
dockerImageTag: 0.2.2
dockerImageTag: 0.2.3
documentationUrl: https://docs.airbyte.com/integrations/sources/chargebee
icon: chargebee.svg
sourceType: api
Expand Down
Expand Up @@ -2208,7 +2208,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-chargebee:0.2.2"
- dockerImage: "airbyte/source-chargebee:0.2.3"
spec:
documentationUrl: "https://apidocs.chargebee.com/docs/api"
connectionSpecification:
Expand Down
Expand Up @@ -34,5 +34,5 @@ COPY source_chargebee ./source_chargebee
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.2.2
LABEL io.airbyte.version=0.2.3
LABEL io.airbyte.name=airbyte/source-chargebee
Expand Up @@ -121,6 +121,23 @@ definitions:
stream: "#/definitions/customer_stream"
parent_key: id
partition_field: id
requester:
$ref: "#/definitions/requester"
error_handler:
type: CompositeErrorHandler
error_handlers:
- type: DefaultErrorHandler
response_filters:
- http_codes: [404]
action: IGNORE
error_message: "Entity unavailable. Customer must have been deleted."
- error_message_contains: "This API operation is not enabled for this site"
action: IGNORE
error_message: "Stream is available only for Product Catalog 1.0"
- type: DefaultErrorHandler
backoff_strategies:
- type: WaitTimeFromHeader
header: "Retry-After"
$parameters:
name: "contact"
primary_key: "id"
Expand Down
2 changes: 1 addition & 1 deletion connectors.md
Expand Up @@ -33,7 +33,7 @@
| **Breezometer** | <img alt="Breezometer icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/breezometer.svg" height="30" height="30"/> | Source | airbyte/source-breezometer:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/breezometer) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-breezometer) | <small>`7c37685e-8512-4901-addf-9afbef6c0de9`</small> |
| **CallRail** | <img alt="CallRail icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/callrail.svg" height="30" height="30"/> | Source | airbyte/source-callrail:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/callrail) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-callrail) | <small>`dc98a6ad-2dd1-47b6-9529-2ec35820f9c6`</small> |
| **Cart.com** | <img alt="Cart.com icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/cart.svg" height="30" height="30"/> | Source | airbyte/source-cart:0.2.1 | alpha | [link](https://docs.airbyte.com/integrations/sources/cart) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-cart) | <small>`bb1a6d31-6879-4819-a2bd-3eed299ea8e2`</small> |
| **Chargebee** | <img alt="Chargebee icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/chargebee.svg" height="30" height="30"/> | Source | airbyte/source-chargebee:0.2.2 | generally_available | [link](https://docs.airbyte.com/integrations/sources/chargebee) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-chargebee) | <small>`686473f1-76d9-4994-9cc7-9b13da46147c`</small> |
| **Chargebee** | <img alt="Chargebee icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/chargebee.svg" height="30" height="30"/> | Source | airbyte/source-chargebee:0.2.3 | generally_available | [link](https://docs.airbyte.com/integrations/sources/chargebee) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-chargebee) | <small>`686473f1-76d9-4994-9cc7-9b13da46147c`</small> |
| **Chargify** | <img alt="Chargify icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/chargify.svg" height="30" height="30"/> | Source | airbyte/source-chargify:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/chargify) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-chargify) | <small>`9b2d3607-7222-4709-9fa2-c2abdebbdd88`</small> |
| **Chartmogul** | <img alt="Chartmogul icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/chartmogul.svg" height="30" height="30"/> | Source | airbyte/source-chartmogul:0.2.1 | beta | [link](https://docs.airbyte.com/integrations/sources/chartmogul) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-chartmogul) | <small>`b6604cbd-1b12-4c08-8767-e140d0fb0877`</small> |
| **ClickHouse** | <img alt="ClickHouse icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/clickhouse.svg" height="30" height="30"/> | Source | airbyte/source-clickhouse:0.1.16 | alpha | [link](https://docs.airbyte.com/integrations/sources/clickhouse) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-clickhouse) | <small>`bad83517-5e54-4a3d-9b53-63e85fbd4d7c`</small> |
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/chargebee.md
Expand Up @@ -74,6 +74,7 @@ The Chargebee connector should not run into [Chargebee API](https://apidocs.char

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:----------------------------------------------------------------------------------------------------|
| 0.2.3 | 2023-03-22 | [24370](https://github.com/airbytehq/airbyte/pull/24370) | Ignore 404 errors for `Contact` stream |
| 0.2.2 | 2023-02-17 | [21688](https://github.com/airbytehq/airbyte/pull/21688) | Migrate to CDK beta 0.29; fix schemas |
| 0.2.1 | 2023-02-17 | [23207](https://github.com/airbytehq/airbyte/pull/23207) | Edited stream schemas to get rid of unnecessary `enum` |
| 0.2.0 | 2023-01-21 | [21688](https://github.com/airbytehq/airbyte/pull/21688) | Migrate to YAML; add new streams |
Expand Down

0 comments on commit 2ffe259

Please sign in to comment.