PACT Webhooks

Purpose

- It reduces the need of coordination between different teams

- It automates the process of verifying contracts on the provider

- It automates the process of unblocking a release on the consumer

2 types of Web-hooks in PACT

- contract_content_changed (Global)
- provider_verification_published (On demand)

Actions

- Triggers build on the Provider when a contract is changed 

* provider_verification_published
* contract_content_changed

- Triggers build on the Provider when a contract is created 

- Triggers build on in the Consumer when verification are published

(only on a specific branch)

Webhooks in PACT

Miro + Demo

Pact webhooks

By David Molinero

Pact webhooks

  • 86