Skip to content

Commit 2604f29

Browse files
author
Ronald Holshausen
committedFeb 8, 2020
feat: Update JUnit 4 readmes #998
1 parent d6cb3b4 commit 2604f29

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎provider/pact-jvm-provider-junit/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,14 @@ The `token`, `username` and `password` values also take Java system property exp
269269
Preemptive Authentication can be enabled by setting the `pact.pactbroker.httpclient.usePreemptiveAuthentication` Java
270270
system property to `true`.
271271

272+
### Allowing just the changed pact specified in a webhook to be verified [4.0.6+]
273+
274+
When a consumer publishes a new version of a pact file, the Pact broker can fire off a webhook with the URL of the changed
275+
pact file. To allow only the changed pact file to be verified, you can override the URL by adding the annotation
276+
`@AllowOverridePactUrl` to your test class and then setting using the `pact.filter.consumers` and `pact.filter.pacturl`
277+
values as either Java system properties or environment variables. If you have annotated your test class with `@Consumer`
278+
you don't need to provide `pact.filter.consumers`.
279+
272280
### Pact Url
273281

274282
To use pacts from urls annotate the test class with

0 commit comments

Comments
 (0)
Please sign in to comment.