Skip to content

Commit 954929a

Browse files
authored
Source Delighted: add incremental sync mode to streams in integration_tests/configured_catalog.json (#9333)
* Add incremental sync mode to streams in `integration_tests/configured_catalog.json` * Bump connector's version
1 parent 4e91b98 commit 954929a

File tree

5 files changed

+34
-21
lines changed

5 files changed

+34
-21
lines changed

airbyte-config/init/src/main/resources/seed/source_definitions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
- name: Delighted
148148
sourceDefinitionId: cc88c43f-6f53-4e8a-8c4d-b284baaf9635
149149
dockerRepository: airbyte/source-delighted
150-
dockerImageTag: 0.1.1
150+
dockerImageTag: 0.1.2
151151
documentationUrl: https://docs.airbyte.io/integrations/sources/delighted
152152
icon: delighted.svg
153153
sourceType: api

airbyte-config/init/src/main/resources/seed/source_specs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@
12801280
supportsNormalization: false
12811281
supportsDBT: false
12821282
supported_destination_sync_modes: []
1283-
- dockerImage: "airbyte/source-delighted:0.1.1"
1283+
- dockerImage: "airbyte/source-delighted:0.1.2"
12841284
spec:
12851285
documentationUrl: "https://docsurl.com"
12861286
connectionSpecification:

airbyte-integrations/connectors/source-delighted/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ RUN pip install .
1212
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
1313
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
1414

15-
LABEL io.airbyte.version=0.1.1
15+
LABEL io.airbyte.version=0.1.2
1616
LABEL io.airbyte.name=airbyte/source-delighted

airbyte-integrations/connectors/source-delighted/integration_tests/configured_catalog.json

Lines changed: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,55 @@
22
"streams": [
33
{
44
"stream": {
5-
"name": "people",
5+
"name": "bounces",
66
"json_schema": {},
7-
"supported_sync_modes": ["full_refresh"],
8-
"source_defined_primary_key": [["id"]]
7+
"supported_sync_modes": ["full_refresh", "incremental"],
8+
"source_defined_cursor": true,
9+
"default_cursor_field": ["bounced_at"],
10+
"source_defined_primary_key": [["person_id"]]
911
},
10-
"sync_mode": "full_refresh",
11-
"destination_sync_mode": "overwrite"
12+
"sync_mode": "incremental",
13+
"destination_sync_mode": "append",
14+
"cursor_field": ["bounced_at"]
1215
},
1316
{
1417
"stream": {
15-
"name": "unsubscribes",
18+
"name": "people",
1619
"json_schema": {},
17-
"supported_sync_modes": ["full_refresh"],
20+
"supported_sync_modes": ["full_refresh", "incremental"],
21+
"source_defined_cursor": true,
22+
"default_cursor_field": ["created_at"],
1823
"source_defined_primary_key": [["id"]]
1924
},
20-
"sync_mode": "full_refresh",
21-
"destination_sync_mode": "overwrite"
25+
"sync_mode": "incremental",
26+
"destination_sync_mode": "append",
27+
"cursor_field": ["created_at"]
2228
},
2329
{
2430
"stream": {
25-
"name": "bounces",
31+
"name": "survey_responses",
2632
"json_schema": {},
27-
"supported_sync_modes": ["full_refresh"],
33+
"supported_sync_modes": ["full_refresh", "incremental"],
34+
"source_defined_cursor": true,
35+
"default_cursor_field": ["updated_at"],
2836
"source_defined_primary_key": [["id"]]
2937
},
30-
"sync_mode": "full_refresh",
31-
"destination_sync_mode": "overwrite"
38+
"sync_mode": "incremental",
39+
"destination_sync_mode": "append",
40+
"cursor_field": ["updated_at"]
3241
},
3342
{
3443
"stream": {
35-
"name": "survey_responses",
44+
"name": "unsubscribes",
3645
"json_schema": {},
37-
"supported_sync_modes": ["full_refresh"],
38-
"source_defined_primary_key": [["id"]]
46+
"supported_sync_modes": ["full_refresh", "incremental"],
47+
"source_defined_cursor": true,
48+
"default_cursor_field": ["unsubscribed_at"],
49+
"source_defined_primary_key": [["person_id"]]
3950
},
40-
"sync_mode": "full_refresh",
41-
"destination_sync_mode": "overwrite"
51+
"sync_mode": "incremental",
52+
"destination_sync_mode": "append",
53+
"cursor_field": ["unsubscribed_at"]
4254
}
4355
]
4456
}

docs/integrations/sources/delighted.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@ This connector supports `API PASSWORD` as the authentication method.
3737

3838
| Version | Date | Pull Request | Subject |
3939
| :--- | :--- | :--- | :--- |
40+
| 0.1.2 | 2022-01-06 | [9333](https://github.com/airbytehq/airbyte/pull/9333) | Add incremental sync mode to streams in `integration_tests/configured_catalog.json` |
4041
| 0.1.1 | 2022-01-04 | [9275](https://github.com/airbytehq/airbyte/pull/9275) | Fix pagination handling for `survey_responses`, `bounces` and `unsubscribes` streams |
4142
| 0.1.0 | 2021-10-27 | [4551](https://github.com/airbytehq/airbyte/pull/4551) | Add Delighted source connector |

0 commit comments

Comments
 (0)