Konstantin Manna
10/08/2024, 12:56 PMpact_verifier_cli
fetch and validate only a specific contract for a consumer/provider combination? I've tried using the `--url`parameter, but it still fetches too much. Even with -c
and --consumer-version-selectors
it does not do so. As you can see in the screenshots below it should fetch the `9524ab163939ac7ec0f34a9c78485d5734678801`version as er the url, but it fetches more than that.Konstantin Manna
10/08/2024, 12:57 PMYousaf Nabi (pactflow.io)
provider-name
argument, I believe this will send a request for any pacts for verification via provider name without consumer version selectors for scoping.
You shouldn’t need consumer version selectors at all if you are just verifying a urlKonstantin Manna
10/08/2024, 1:10 PMKonstantin Manna
10/08/2024, 1:11 PMYousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Konstantin Manna
10/08/2024, 2:02 PMYousaf Nabi (pactflow.io)
How to makeYes. I would recommend using that parameter, It is also the recommended setup in client DSL’s, when verifying a pact by a url (usually as a trigger from a webhook event for a contract_requiring_verification_published)fetch and validate only a specific contract for a consumer/provider combination? I’ve tried using the `--url`parameter, but it still fetches too much.pact_verifier_cli
Konstantin Manna
10/08/2024, 2:19 PMKonstantin Manna
10/08/2024, 3:15 PMKonstantin Manna
10/08/2024, 3:17 PMYousaf Nabi (pactflow.io)
Konstantin Manna
10/08/2024, 3:26 PMKonstantin Manna
10/08/2024, 3:26 PMYousaf Nabi (pactflow.io)