Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source Mailchimp - Add Reports stream #23464 #24112

Merged
merged 11 commits into from
Mar 15, 2023
Original file line number Diff line number Diff line change
Expand Up @@ -1103,11 +1103,14 @@
- name: Mailchimp
sourceDefinitionId: b03a9f3e-22a5-11eb-adc1-0242ac120002
dockerRepository: airbyte/source-mailchimp
dockerImageTag: 0.3.4
dockerImageTag: 0.3.5
documentationUrl: https://docs.airbyte.com/integrations/sources/mailchimp
icon: mailchimp.svg
sourceType: api
releaseStage: generally_available
allowedHosts:
hosts:
- "*.api.mailchimp.com"
- name: Mailjet Mail
sourceDefinitionId: 56582331-5de2-476b-b913-5798de77bbdf
dockerRepository: airbyte/source-mailjet-mail
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8074,7 +8074,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-mailchimp:0.3.4"
- dockerImage: "airbyte/source-mailchimp:0.3.5"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/sources/mailchimp"
connectionSpecification:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ COPY main.py ./
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.3.4
LABEL io.airbyte.version=0.3.5
LABEL io.airbyte.name=airbyte/source-mailchimp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ acceptance_tests:
lists: ["date_created"]
campaigns: ["create_time"]
email_activity: ["49d68626f3", "timestamp"]
reports: ["send_time"]
# Email activities stream has working campaigns with email newsletters.
# Due to this sequential_reads test could be failed.
full_refresh:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"default_cursor_field": ["date_created"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "incremental",
"sync_mode": "incremental",
"cursor_field": ["date_created"],
"destination_sync_mode": "append",
"primary_key": [["id"]]
Expand All @@ -41,6 +41,20 @@
"cursor_field": ["timestamp"],
"primary_key": [["timestamp"], ["email_id"], ["action"]],
"destination_sync_mode": "append"
},
{
"stream": {
"name": "reports",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["send_time"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "incremental",
"cursor_field": ["send_time"],
"primary_key": [["id"]],
"destination_sync_mode": "append"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,20 @@
"cursor_field": ["date_created"],
"primary_key": [["id"]],
"destination_sync_mode": "append"
},
{
"stream": {
"name": "reports",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["send_time"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "incremental",
"cursor_field": ["send_time"],
"primary_key": [["id"]],
"destination_sync_mode": "append"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@
},
"stream_descriptor": { "name": "email_activity" }
}
},
{
"type": "STREAM",
"stream": {
"stream_state": { "send_time": "2230-02-26T05:42:10+00:00" },
"stream_descriptor": { "name": "reports" }
}
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -1146,6 +1146,18 @@
"sync_mode": "incremental",
"cursor_field": ["timestamp"],
"destination_sync_mode": "append"
},
{
"stream": {
"name": "reports",
"json_schema": {},
"supported_sync_modes": ["incremental", "full_refresh"],
"source_defined_cursor": true,
"default_cursor_field": ["send_time"]
},
"sync_mode": "incremental",
"cursor_field": ["send_time"],
"destination_sync_mode": "append"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"lists": { "date_created": "2020-09-25T04:47:31+00:00" },
"email_activity": {
"49d68626f3": { "timestamp": "2020-11-23T05:42:10+00:00" }
},
"reports": {
"49d68626f3": { "send_time": "2020-11-23T05:42:10+00:00" }
}
}
Loading