Skip to content

Commit

Permalink
🐛 4836: Stripe connector: Fix incorect data field type (#4878)
Browse files Browse the repository at this point in the history
* 4836: Stripe connector: Fix incorect data field type

   - Change type of percent_off field to number according to reference:
   https://stripe.com/docs/api/coupons/object#coupon_object-percent_off
   - Change invoice/discounts field type to array:
   https://stripe.com/docs/api/invoices/object#invoice_object-discounts

* Bump stripe connector version to 0.1.15

Co-authored-by: Dmytro Rezchykov <dmitry.rezchykov@zazmic.com>
  • Loading branch information
avida and Dmytro Rezchykov authored Jul 26, 2021
1 parent e8f20b2 commit 718bd75
Show file tree
Hide file tree
Showing 13 changed files with 156 additions and 7,675 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"sourceDefinitionId": "e094cb9a-26de-4645-8761-65c0c425d1de",
"name": "Stripe",
"dockerRepository": "airbyte/source-stripe",
"dockerImageTag": "0.1.14",
"dockerImageTag": "0.1.15",
"documentationUrl": "https://hub.docker.com/r/airbyte/source-stripe",
"icon": "stripe.svg"
}
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
- sourceDefinitionId: e094cb9a-26de-4645-8761-65c0c425d1de
name: Stripe
dockerRepository: airbyte/source-stripe
dockerImageTag: 0.1.14
dockerImageTag: 0.1.15
documentationUrl: https://hub.docker.com/r/airbyte/source-stripe
icon: stripe.svg
- sourceDefinitionId: b03a9f3e-22a5-11eb-adc1-0242ac120002
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-stripe/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ RUN pip install .
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.14
LABEL io.airbyte.version=0.1.15
LABEL io.airbyte.name=airbyte/source-stripe
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@ tests:
# If this test fails for some reason, please check the expected_subscriptions_records.json for valid subset of data.
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/non_invoice_line_items_catalog.json"
validate_output_from_all_streams: yes
timeout_seconds: 3600
expect_records:
path: "integration_tests/expected_subscriptions_records.txt"
# TEST 2 - Reading data from account that has no records for stream Disputes
- config_path: "secrets/connected_account_config.json"
configured_catalog_path: "integration_tests/non_disputes_events_catalog.json"
validate_output_from_all_streams: yes
timeout_seconds: 3600
incremental:
- config_path: "secrets/config.json"
Expand All @@ -43,4 +41,4 @@ tests:
configured_catalog_path: "integration_tests/non_invoice_line_items_catalog.json"
timeout_seconds: 3600
- config_path: "secrets/connected_account_config.json"


Large diffs are not rendered by default.

Loading

0 comments on commit 718bd75

Please sign in to comment.