forked from ckan/ckanext-harvest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new config to send notifications for all harvest jobs
Add templates for email and function to setup variables on it Update README
- Loading branch information
Showing
5 changed files
with
215 additions
and
92 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ development.ini | |
node_modules | ||
*.project | ||
.eggs | ||
.vscode/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
This is a failure notification of the latest harvest job ({{ job_url }}) set-up in {{ site_url }}. | ||
|
||
Harvest Source: {{ harvest_source_title }} | ||
Harvest Configuration: {{ harvest_configuration | safe }} | ||
|
||
Organization: {{ organization }} | ||
|
||
Harvest Job Id: {{ job_id }} | ||
Created: {{ job_created }} | ||
Finished: {{ job_finished }} | ||
|
||
Records in Error: {{ records_in_error }} | ||
Records Added: {{ records_added }} | ||
Records Updated: {{ records_updated }} | ||
Records Deleted: {{ records_deleted }} | ||
|
||
{{ error_summary_title }} | ||
- {{ errors|length }} errors | ||
{{ job_errors_title }}: {{ job_errors|length }} | ||
{% for error in job_errors %} | ||
- {{ error }} {% endfor %} | ||
|
||
{{ obj_errors_title }}: {{ obj_errors|length }} | ||
{% for error in obj_errors %} | ||
- {{ error }} {% endfor %} | ||
|
||
Total packages: {{ packages|length }} | ||
{% for package in packages %} | ||
- {{ package }}{% endfor %} | ||
|
||
-- | ||
You are receiving this email because you are currently set-up as Administrator for {{ site_url }}. | ||
Please do not reply to this email as it was sent from a non-monitored address. |
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,33 @@ | ||
This is a summary of the latest harvest job ({{ job_url }}) set-up in {{ site_url }}. | ||
|
||
Harvest Source: {{ harvest_source_title }} | ||
Harvest Configuration: {{ harvest_configuration | safe }} | ||
|
||
Organization: {{ organization }} | ||
|
||
Harvest Job Id: {{ job_id }} | ||
Created: {{ job_created }} | ||
Finished: {{ job_finished }} | ||
|
||
Records in Error: {{ records_in_error }} | ||
Records Added: {{ records_added }} | ||
Records Updated: {{ records_updated }} | ||
Records Deleted: {{ records_deleted }} | ||
|
||
{{ error_summary_title }} | ||
- {{ errors|length }} errors | ||
{{ job_errors_title }}: {{ job_errors|length }} | ||
{% for error in job_errors %} | ||
- {{ error }} {% endfor %} | ||
|
||
{{ obj_errors_title }}: {{ obj_errors|length }} | ||
{% for error in obj_errors %} | ||
- {{ error }} {% endfor %} | ||
|
||
Total packages: {{ packages|length }} | ||
{% for package in packages %} | ||
- {{ package }}{% endfor %} | ||
|
||
-- | ||
You are receiving this email because you are currently set-up as Administrator for {{ site_url }}. | ||
Please do not reply to this email as it was sent from a non-monitored address. |