Skip to content

Commit

Permalink
Source Sendgrid: fix contacts missing records; Remove Messages stream (
Browse files Browse the repository at this point in the history
…#21939)

* Source Sendgrid: remove Messages stream

* Source Sendgrid: fix contacts schema

* Source Sendgrid: remove extra configured catalog

* Source Sendgrid: fix contacts stream; add tests

* Source Sendgrid: update docs

* Source Sendgrid: fix test; disable backward compatibility test

* Source Sendgrid: revert tokenAuthenticator

* Source Sendgrid: update schema

* Source Sendgrid: update primary key

* Source Sendgrid: update expected records

* Source Sendgrid: fix unit test

* Source Sendgrid: update spec for ISO8601 datetime format

* Source Sendgrid: update schemas #19969

* Source Sendgrid: update docs

* Source Sendgrid: update docs

* auto-bump connector version

---------

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
  • Loading branch information
artem1205 and octavia-squidington-iii committed Jan 31, 2023
1 parent 9dd310c commit e3bb377
Show file tree
Hide file tree
Showing 20 changed files with 344 additions and 359 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,7 @@
- name: Sendgrid
sourceDefinitionId: fbb5fbe2-16ad-4cf4-af7d-ff9d9c316c87
dockerRepository: airbyte/source-sendgrid
dockerImageTag: 0.3.0
dockerImageTag: 0.3.1
documentationUrl: https://docs.airbyte.com/integrations/sources/sendgrid
icon: sendgrid.svg
sourceType: api
Expand Down
10 changes: 5 additions & 5 deletions airbyte-config/init/src/main/resources/seed/source_specs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13336,7 +13336,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-sendgrid:0.3.0"
- dockerImage: "airbyte/source-sendgrid:0.3.1"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/sources/sendgrid"
connectionSpecification:
Expand All @@ -13357,13 +13357,13 @@
start_time:
title: "Start time"
type: "string"
format: "date-time"
pattern: "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(.\\d+)?Z$"
description: "Start time in ISO8601 format. Any data before this time point\
\ will not be replicated."
examples:
- "2021-12-12"
- "2021-02-01 13:30:00"
- "2020-07-18T13:30:00.000Z"
- "2020-07-18 13:30:00+02:00"
- "2020-01-01T01:01:01Z"
- "2020-01-01T01:01:01.000001Z"
order: 1
supportsNormalization: false
supportsDBT: false
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-sendgrid/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.3.0
LABEL io.airbyte.version=0.3.1
LABEL io.airbyte.name=airbyte/source-sendgrid
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ tests:
spec:
- spec_path: "source_sendgrid/spec.json"
backward_compatibility_tests_config:
disable_for_version: "0.2.16"
disable_for_version: "0.3.0"
connection:
- config_path: "secrets/config.json"
status: "succeed"
Expand All @@ -15,6 +15,8 @@ tests:
status: "failed"
discovery:
- config_path: "secrets/old_config.json"
backward_compatibility_tests_config:
disable_for_version: "0.3.0"
basic_read:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/no_spam_reports_configured_catalog.json"
Expand All @@ -36,4 +38,4 @@ tests:
# spam_reports: ["created"]
full_refresh:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog_no_messages.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
Original file line number Diff line number Diff line change
Expand Up @@ -140,18 +140,6 @@
"sync_mode": "incremental",
"cursor_field": ["created"],
"destination_sync_mode": "append"
},
{
"stream": {
"name": "messages",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["last_event_time"]
},
"sync_mode": "full_refresh",
"cursor_field": ["last_event_time"],
"destination_sync_mode": "append"
}
]
}

This file was deleted.

0 comments on commit e3bb377

Please sign in to comment.