Tyler Kron
08/11/2022, 3:22 PMNoPactsFound
exception (JVM Library). Digging into the code, the library is using the following endpoint /pacts/provider/<provider>/for-verification
. This endpoint has no pacts on it. Any ideas on why this might be?Tyler Kron
08/11/2022, 3:22 PMYousaf Nabi (pactflow.io)
1. When the provider code changes
• The verification task will run as part of the normal CI/CD pipeline for the provider
• The verification task will fetch and verify all the relevant pacts from all consumers from the Pact Broker to ensure no regressions have occurred.
2. When the pact changes
• We recommend that a separate pipeline is set up to verify just the changed pact (more details on this later in the guide).You would traditionally have a webhook, setup on new contracts, or contracts being changed that would trigger a provider verification with a pactUrl directly https://docs.pact.io/pact_broker/webhooks#the-contract-requiring-verification-published-event
Tyler Kron
08/11/2022, 4:26 PMTyler Kron
08/11/2022, 4:28 PMHazem Borham
08/11/2022, 9:12 PMMatchingBranch: true
with provider branch PE-354
• VerifyRequest config
◦ IncludeWIPPactsSince: [date]
◦ EnablePending: true
I dont use tags and opt for branches instead and seeing as how you dont tag, that might fix it. fingerscrossedMiKey
08/11/2022, 10:21 PMBeth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)