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

Added webhook_notifications support to databricks_job #1674

Merged
merged 4 commits into from
Oct 21, 2022

Conversation

akolar-db
Copy link
Contributor

@akolar-db akolar-db commented Oct 18, 2022

Introduce webhook_notifications field to JobSettings for the configuration of job-level webhooks.

Notifications fire for run events (start, success and failures) can now be emitted via webhooks in addition to the existing email notifications. When configured, Job Run will call the defined endpoints when transitioning to one of the aforementioned states.

Note that this is only for Job configuration. Final API for creating webhooks is still WIP.

Preview documentation.

@akolar-db akolar-db requested a review from nfx October 18, 2022 10:39
@codecov-commenter
Copy link

Codecov Report

Merging #1674 (1f5e2ea) into master (6d35259) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1674   +/-   ##
=======================================
  Coverage   89.97%   89.98%           
=======================================
  Files         141      141           
  Lines       11063    11072    +9     
=======================================
+ Hits         9954     9963    +9     
  Misses        707      707           
  Partials      402      402           
Impacted Files Coverage Δ
jobs/resource_job.go 95.39% <100.00%> (+0.19%) ⬆️

@nfx nfx changed the title [FEATURE] Add support for job webhooks Added webhook_notifications support to databricks_job Oct 21, 2022
@nfx nfx enabled auto-merge (squash) October 21, 2022 12:18
@nfx nfx merged commit ab053ef into databricks:master Oct 21, 2022
@nfx nfx mentioned this pull request Oct 21, 2022
michael-berk pushed a commit to michael-berk/terraform-provider-databricks that referenced this pull request Feb 15, 2023
…#1674)

* Add support for job webhooks
* Do not sort empty webhooks
* Move logic to WebhookNotifications receiver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants