hey all, please correct my understanding
I have added contract tests for message pacts using pact-go and got the setup done as below
1. Team A’s Message Pact Consumer side test runs using their JSON model for the data and publishes in Jenkins to the host with git version set to consumer version
2. Team B’s Message Pact Provider side test runs in Jenkins using their JSON Model and verifies against the contract from the host.
3. If there is a model change and both teams not in-sync, contract verification will fail and pipeline will fail, so both teams will have to liaise and fix. The pipeline failures have MSTeams alerts.
I was thinking the above is enough to identify the dependency issues and solving the purpose.
I haven’t incorporated below things, please advise whether these are required.
1. Publishing only when there is a change?
2. Can-i-deploy check?
3. Webhooks to trigger provider pipeline.
Thanks.