diff --git a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml index 74809392f053c4..b32b0f1fbd03bb 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -136,7 +136,7 @@ - name: Chargebee sourceDefinitionId: 686473f1-76d9-4994-9cc7-9b13da46147c dockerRepository: airbyte/source-chargebee - dockerImageTag: 0.1.12 + dockerImageTag: 0.1.13 documentationUrl: https://docs.airbyte.io/integrations/sources/chargebee icon: chargebee.svg sourceType: api diff --git a/airbyte-config/init/src/main/resources/seed/source_specs.yaml b/airbyte-config/init/src/main/resources/seed/source_specs.yaml index 5494616903ac72..7b5d27fae97554 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -1102,7 +1102,7 @@ supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] -- dockerImage: "airbyte/source-chargebee:0.1.12" +- dockerImage: "airbyte/source-chargebee:0.1.13" spec: documentationUrl: "https://apidocs.chargebee.com/docs/api" connectionSpecification: @@ -1114,7 +1114,7 @@ - "site_api_key" - "start_date" - "product_catalog" - additionalProperties: false + additionalProperties: true properties: site: type: "string" diff --git a/airbyte-integrations/connectors/source-chargebee/Dockerfile b/airbyte-integrations/connectors/source-chargebee/Dockerfile index bbce5e1549fe57..90b26db6b2eaab 100644 --- a/airbyte-integrations/connectors/source-chargebee/Dockerfile +++ b/airbyte-integrations/connectors/source-chargebee/Dockerfile @@ -13,5 +13,5 @@ RUN pip install . ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] -LABEL io.airbyte.version=0.1.12 +LABEL io.airbyte.version=0.1.13 LABEL io.airbyte.name=airbyte/source-chargebee diff --git a/airbyte-integrations/connectors/source-chargebee/acceptance-test-config.yml b/airbyte-integrations/connectors/source-chargebee/acceptance-test-config.yml index df9b534b80ff15..ab71a0e60f38a3 100644 --- a/airbyte-integrations/connectors/source-chargebee/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-chargebee/acceptance-test-config.yml @@ -11,6 +11,8 @@ tests: status: "failed" discovery: - config_path: "secrets/config.json" + backward_compatibility_tests_config: + disable_for_version: "0.1.12" basic_read: - config_path: "secrets/config.json" configured_catalog_path: "integration_tests/product_catalog_v2_configured_catalog.json" diff --git a/airbyte-integrations/connectors/source-chargebee/setup.py b/airbyte-integrations/connectors/source-chargebee/setup.py index 221df87f314f54..fbfa956a47ab29 100644 --- a/airbyte-integrations/connectors/source-chargebee/setup.py +++ b/airbyte-integrations/connectors/source-chargebee/setup.py @@ -6,7 +6,7 @@ from setuptools import find_packages, setup MAIN_REQUIREMENTS = [ - "airbyte-cdk~=0.1", + "airbyte-cdk", # Install chargebee according to API doc. # https://apidocs.chargebee.com/docs/api?lang=python&prod_cat_ver=2#client_library "chargebee>=2,<3", diff --git a/airbyte-integrations/connectors/source-chargebee/source_chargebee/schemas/transaction.json b/airbyte-integrations/connectors/source-chargebee/source_chargebee/schemas/transaction.json index ced260d50b4778..d46d3f2dba69d5 100644 --- a/airbyte-integrations/connectors/source-chargebee/source_chargebee/schemas/transaction.json +++ b/airbyte-integrations/connectors/source-chargebee/source_chargebee/schemas/transaction.json @@ -19,10 +19,6 @@ "type": ["string", "null"], "max-length": 50 }, - "gateway_account_id": { - "type": ["string", "null"], - "max-length": 50 - }, "payment_source_id": { "type": ["string", "null"], "max-length": 40 @@ -91,7 +87,7 @@ "type": ["integer", "null"] }, "exchange_rate": { - "type": ["integer", "null"] + "type": ["number", "null"] }, "currency_code": { "type": ["string", "null"] @@ -330,12 +326,6 @@ } } } - }, - "amount": { - "type": ["integer", "null"] - }, - "date": { - "type": ["integer", "null"] } } } diff --git a/airbyte-integrations/connectors/source-chargebee/source_chargebee/spec.json b/airbyte-integrations/connectors/source-chargebee/source_chargebee/spec.json index 729b0cb3279e33..33ece302848e06 100644 --- a/airbyte-integrations/connectors/source-chargebee/source_chargebee/spec.json +++ b/airbyte-integrations/connectors/source-chargebee/source_chargebee/spec.json @@ -5,7 +5,7 @@ "title": "Chargebee Spec", "type": "object", "required": ["site", "site_api_key", "start_date", "product_catalog"], - "additionalProperties": false, + "additionalProperties": true, "properties": { "site": { "type": "string", diff --git a/docs/integrations/sources/chargebee.md b/docs/integrations/sources/chargebee.md index 5019024b4b97ef..483a69b8e14b2f 100644 --- a/docs/integrations/sources/chargebee.md +++ b/docs/integrations/sources/chargebee.md @@ -85,6 +85,7 @@ Log into Chargebee and then generate an [API Key](https://apidocs.chargebee.com/ | Version | Date | Pull Request | Subject | | :--- | :--- | :--- | :--- | +| 0.1.13 | 2022-08-18 | [15743](https://github.com/airbytehq/airbyte/pull/15743) | Fix transaction `exchange_rate` field type | | 0.1.12 | 2022-07-13 | [14672](https://github.com/airbytehq/airbyte/pull/14672) | Fix transaction sort by | | 0.1.11 | 2022-03-03 | [10827](https://github.com/airbytehq/airbyte/pull/10827) | Fix Credit Note stream | | 0.1.10 | 2022-03-02 | [10795](https://github.com/airbytehq/airbyte/pull/10795) | Add support for Credit Note stream |