-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use different CustomerIO templates and edit slack notifs (#12674)
* Use different CustomerIO templates and edit slack notifs * fix unit test * fix file naming and comments
- Loading branch information
1 parent
c7a3ab5
commit cd61364
Showing
11 changed files
with
110 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 6 additions & 5 deletions
11
airbyte-notification/src/main/resources/customerio/auto_disable_notification_template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
{ | ||
"transactional_message_id": "%s", | ||
"from": "%s", | ||
"subject": "Automatic Notification: Your Airbyte connection has been disabled", | ||
"to": "%s", | ||
"identifiers": { | ||
"email": "%s" | ||
}, | ||
"message_data": { | ||
"email_title": "Automatic Notification: Connection Disabled", | ||
"email_body": "Your connection from <b>%s</b> to <b>%s</b> was automatically disabled because it failed 100 times consecutively or has been failing for 14 days in a row.<p>Please address the failing issues to ensure your syncs continue to run. The most recent attempted %s You can access its logs here: %s.<p>If you need help with resolving your connection, reach out to Support in-app or by emailing cloud-support@airbyte.io." | ||
"source": "%s", | ||
"destination": "%s", | ||
"job_description": "%s", | ||
"connection_id": "%s", | ||
"workspace_id": "%s" | ||
}, | ||
|
||
"disable_message_retention": false, | ||
"send_to_unsubscribed": true, | ||
"tracked": true, | ||
"tracked": false, | ||
"queue_draft": false, | ||
"disable_css_preprocessing": true | ||
} |
19 changes: 0 additions & 19 deletions
19
...otification/src/main/resources/customerio/auto_disable_warning_notification_template.json
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
airbyte-notification/src/main/resources/customerio/default_template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"transactional_message_id": "%s", | ||
"to": "%s", | ||
"identifiers": { | ||
"email": "%s" | ||
}, | ||
"message_data": { | ||
"email_title": "%s", | ||
"email_body": "%s" | ||
}, | ||
|
||
"disable_message_retention": false, | ||
"send_to_unsubscribed": true, | ||
"tracked": true, | ||
"queue_draft": false, | ||
"disable_css_preprocessing": true | ||
} |
5 changes: 4 additions & 1 deletion
5
airbyte-notification/src/main/resources/slack/auto_disable_slack_notification_template.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
Your connection from %s to %s was automatically disabled because it failed 100 times consecutively or has been failing for 14 days in a row. | ||
|
||
Please address the failing issues to ensure your syncs continue to run. The most recent attempted %s You can access its logs here: %s. | ||
Please address the failing issues to ensure your syncs continue to run. The most recent attempted %s | ||
|
||
Workspace ID: %s | ||
Connection ID: %s |
5 changes: 4 additions & 1 deletion
5
...otification/src/main/resources/slack/auto_disable_warning_slack_notification_template.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
Your connection from %s to %s is scheduled to be automatically disabled because it either failed 50 times consecutively or there were only failed jobs in the past 7 days. Once it has failed 100 times consecutively or has been failing for 14 days in a row, the connection will be automatically disabled. | ||
|
||
Please address the failing issues to ensure your syncs continue to run. The most recent attempted %s You can access its logs here: %s. | ||
Please address the failing issues to ensure your syncs continue to run. The most recent attempted %s | ||
|
||
Workspace ID: %s | ||
Connection ID: %s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.