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: New Stream Automations #23290

Merged
merged 27 commits into from
Apr 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
aa0544f
bump connector version
marcosmarxm Apr 10, 2023
0dab095
Source: MailChimp, New Stream Automations
btkcodedev Feb 21, 2023
70c68e5
fix: Schema error fix
btkcodedev Mar 1, 2023
df68511
Fixes formatting.
Feb 24, 2023
b798fb2
fix: Fixed acceptance test schema errors
btkcodedev Mar 1, 2023
f351045
fix: Update schema, update dockerlabel
btkcodedev Mar 16, 2023
c603cd5
refactor: Update docs
btkcodedev Mar 16, 2023
23bd722
refactor: Update DockerVersionTag
btkcodedev Mar 16, 2023
65b68d7
fix: Update EOF and configured catalog
btkcodedev Mar 16, 2023
0946e42
fix: Schema, Update docs
btkcodedev Mar 17, 2023
3fc1a76
fix: Schema on catalog
btkcodedev Mar 17, 2023
ac56109
fix: update DocketVersionTag
btkcodedev Mar 17, 2023
26d2f05
fix: schema, update docs, bump docker version
btkcodedev Apr 1, 2023
6b5bf71
fix: spec, update doc in streams.py
btkcodedev Apr 4, 2023
e58daeb
fix: schema compatability for null
btkcodedev Apr 4, 2023
a9a4b1d
update connector version to 0.4.0
marcosmarxm Apr 5, 2023
e1a8b1a
Update Dockerfile
btkcodedev Apr 7, 2023
cf42973
recreate source spec
marcosmarxm Apr 11, 2023
b923ab7
restore source spec form main
marcosmarxm Apr 11, 2023
0a793c7
rollback source spec from main
marcosmarxm Apr 11, 2023
742ed10
source spec
marcosmarxm Apr 11, 2023
5d8d095
run gradle config seed
marcosmarxm Apr 11, 2023
e209697
fix schema and remove unused code
marcosmarxm Apr 11, 2023
1ddbac7
fix docs
marcosmarxm Apr 11, 2023
18cce0e
bump connector seed file versino
marcosmarxm Apr 11, 2023
d67c90e
auto-bump connector version
octavia-squidington-iii Apr 24, 2023
4582a47
Merge branch 'master' into enhanceMailchimp
marcosmarxm Apr 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17071,7 +17071,7 @@
"sourceDefinitionId": "b03a9f3e-22a5-11eb-adc1-0242ac120002",
"name": "Mailchimp",
"dockerRepository": "airbyte/source-mailchimp",
"dockerImageTag": "0.3.5",
"dockerImageTag": "0.4.0",
"documentationUrl": "https://docs.airbyte.com/integrations/sources/mailchimp",
"icon": "mailchimp.svg",
"sourceType": "api",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,7 @@
- name: Mailchimp
sourceDefinitionId: b03a9f3e-22a5-11eb-adc1-0242ac120002
dockerRepository: airbyte/source-mailchimp
dockerImageTag: 0.3.5
dockerImageTag: 0.4.0
documentationUrl: https://docs.airbyte.com/integrations/sources/mailchimp
icon: mailchimp.svg
sourceType: api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8328,7 +8328,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-mailchimp:0.3.5"
- dockerImage: "airbyte/source-mailchimp:0.4.0"
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.5
LABEL io.airbyte.version=0.4.0
LABEL io.airbyte.name=airbyte/source-mailchimp
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ acceptance_tests:
fail_on_extra_columns: false
incremental:
tests:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
future_state:
future_state_path: "integration_tests/state.json"
cursor_paths:
lists: ["date_created"]
campaigns: ["create_time"]
email_activity: ["49d68626f3", "timestamp"]
reports: ["send_time"]
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
future_state:
future_state_path: "integration_tests/state.json"
cursor_paths:
automations: ["create_time"]
lists: ["date_created"]
campaigns: ["create_time"]
email_activity: ["49d68626f3", "timestamp"]
# 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
@@ -1,5 +1,19 @@
{
"streams": [
{
"stream": {
"name": "automations",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["create_time"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "incremental",
"cursor_field": ["create_time"],
"primary_key": [["id"]],
"destination_sync_mode": "append"
},
{
"stream": {
"name": "campaigns",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
{
"streams": [
{
"stream": {
"name": "automations",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["create_time"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "incremental",
"cursor_field": ["create_time"],
"primary_key": [["id"]],
"destination_sync_mode": "append"
},
{
"stream": {
"name": "campaigns",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
"stream_descriptor": { "name": "lists" }
}
},
{
"type": "STREAM",
"stream": {
"stream_state": { "create_time": "2220-11-23T05:42:11+00:00" },
"stream_descriptor": { "name": "automations" }
}
},
{
"type": "STREAM",
"stream": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,219 @@
}
}
},
{
"name": "Automations",
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": "create_time",
"json_schema": {
"type": "object",
"title": "Automation",
"description": "A summary of an individual automation's settings and content.",
"properties": {
"id": {
"type": ["null", "string"]
},
"create_time": {
"type": ["null", "string"]
},
"start_time": {
"type": ["null", "string"]
},
"status": {
"type": ["null", "string"]
},
"emails_sent": {
"type": ["null", "number"]
},
"recipients": {
"type": ["null", "object"],
"properties": {
"list_id": {
"type": ["null", "string"]
},
"list_is_active": {
"type": ["null", "boolean"]
},
"list_name": {
"type": ["null", "string"]
},
"segment_opts": {
"type": ["null", "object"],
"properties": {
"saved_segment_id": {
"type": ["null", "number"]
},
"match": {
"type": ["null", "string"]
},
"conditions": {
"type": ["null", "array"],
"items": {}
}
}
},
"store_id": {
"type": ["null", "string"]
}
}
},
"settings": {
"type": ["null", "object"],
"properties": {
"title": {
"type": ["null", "string"]
},
"from_name": {
"type": ["null", "string"]
},
"reply_to": {
"type": ["null", "string"]
},
"use_conversation": {
"type": ["null", "boolean"]
},
"to_name": {
"type": ["null", "string"]
},
"authenticate": {
"type": ["null", "boolean"]
},
"auto_footer": {
"type": ["null", "boolean"]
},
"inline_css": {
"type": ["null", "boolean"]
}
}
},
"tracking": {
"type": ["null", "object"],
"properties": {
"opens": {
"type": ["null", "boolean"]
},
"html_clicks": {
"type": ["null", "boolean"]
},
"text_clicks": {
"type": ["null", "boolean"]
},
"goal_tracking": {
"type": ["null", "boolean"]
},
"ecomm360": {
"type": ["null", "boolean"]
},
"google_analytics": {
"type": ["null", "string"]
},
"clicktale": {
"type": ["null", "string"]
},
"salesforce": {
"type": ["null", "object"],
"properties": {
"campaign": {
"type": ["null", "boolean"]
},
"notes": {
"type": ["null", "boolean"]
}
}
},
"capsule": {
"type": ["null", "object"],
"properties": {
"notes": {
"type": ["null", "boolean"]
}
}
}
}
},
"trigger_settings": {
"type": ["null", "object"],
"properties": {
"workflow_type": {
"type": ["null", "string"]
},
"workflow_title": {
"type": ["null", "string"]
},
"runtime": {
"type": ["null", "object"],
"properties": {
"days": {
"type": ["null", "array"],
"items": {
"type": ["null", "string"]
}
},
"hours": {
"type": ["null", "object"],
"properties": {
"type": {
"type": ["null", "string"]
}
}
}
}
},
"workflow_emails_count": {
"type": ["null", "number"]
}
}
},
"report_summary": {
"type": ["null", "object"],
"properties": {
"opens": {
"type": ["null", "number"]
},
"unique_opens": {
"type": ["null", "number"]
},
"open_rate": {
"type": ["null", "number"]
},
"clicks": {
"type": ["null", "number"]
},
"subscriber_clicks": {
"type": ["null", "number"]
},
"click_rate": {
"type": ["null", "number"]
}
}
},
"_links": {
"type": ["null", "array"],
"items": {
"type": ["null", "object"],
"properties": {
"rel": {
"type": ["null", "string"]
},
"href": {
"type": ["null", "string"]
},
"method": {
"type": ["null", "string"]
},
"targetSchema": {
"type": ["null", "string"]
},
"schema": {
"type": ["null", "string"]
}
}
}
}
}
}
},
{
"name": "Lists",
"supported_sync_modes": ["full_refresh", "incremental"],
Expand Down
Loading