Thomas
04/18/2023, 6:43 AMTimothy Jones
04/19/2023, 10:29 AM* Configure separate http response provider pact verification build and webhook to trigger it when the pact content changes. See <https://docs.pact.io/go/webhooks>
from Pactflow, even though the contract is verified. I think this is a bug, but it might be because I’m invoking it wrong, so I’m reporting here before opening an issue. I’ll put my request details in a thread:Megha Agarwal
04/19/2023, 10:32 AMRavinder Kadiyan
04/20/2023, 10:10 AMEddie Stanley
04/23/2023, 11:57 PMPublishing of verification results failed with an error: Link/Resource was not found - Request to pact broker path '/pacticipants/xyz.BFF' failed: 404 Not Found. URL: '<https://mycompany.pactflow.io/pacts/provider/xyz.BFF/consumer/prq.SPA/version/a29c9c63b2fc1cae4b8488b322b6fc7b02cd5ca1>'
Code in question looks like this:
verifierSource = provider.WithUriSource(_executionConfig.Pact.IncomingWebhook.PactUrl,
webHookOptions => webHookOptions.TokenAuthentication(_executionConfig.Pact.Broker.Token)
.PublishResults(optionalProviderVersion.IsSome,
optionalProviderVersion.Match(v => v, string.Empty),
options => options
.WithProviderBranchIfSuppliedAndValid(_executionConfig)
.WithTeamcityBuildUrlIfSuppliedAndValid(_executionConfig.Teamcity))
);
Q1: Is the PactUrl
somehow wrong? It's like this currently <https://mycompany.pactflow.io/pacts/provider/xyz.BFF/consumer/pqr.SPA/version/a29c9c63b2fc1cae4b8488b322b6fc7b02cd5ca1>
Q2: What is the error message (Link/Resource was not found
) telling me?
Q3: How do I arrange for this to throw an exception if publishing results fails rather than just logging this error?Alicia (pactflow.io)
Kerry McKeever
04/24/2023, 5:46 PM/pacts/provider/:provider/for-verification
endpoint, it shows no pacts to verify. Does anyone know what could be causing this? I have verified the provider I'm passing in for :provider
matches the actual provider shown in Pactflow:vandana wadhwani
04/24/2023, 6:34 PMvandana wadhwani
04/24/2023, 6:42 PMNoor Hashem
04/25/2023, 3:09 AMEddie Stanley
04/25/2023, 10:36 PMcan-i-deploy
question:
First:
• We create a build of our consumer at version consumer-v1
and publish the contracts
• The provider verifies those contracts ✅
• can-i-deploy
returns true
• We release consumer version consumer-v1
to the environment
`
Then:
• We create a build of our consumer at version consumer-v2
and publish the contracts
◦ These contracts are slightly different to the previous version from consumer-v1
• The provider verifies those contracts ✅
• can-i-deploy
returns true
• We release consumer version consumer-v2
to the environment
Later:
• We revert the changes from the consumer, producing a new consumer version consumer-v3
and publish the contracts
◦ The JSON for these contracts is identical to those published by consumer-v1
Should can-i-deploy
return true
in this instance (assuming the provider hasn't been deployed)? Or does the provider need to explicitly verify this consumer version?Sashi Kandru
04/28/2023, 5:35 PMsasank kumar
05/02/2023, 6:13 AMMilda
05/02/2023, 8:40 AMvandana wadhwani
05/02/2023, 10:40 PMCody Jenkins
05/03/2023, 5:13 AMvandana wadhwani
05/03/2023, 4:29 PMAdam Cox
05/05/2023, 8:33 AMHaiyang Huang
05/09/2023, 9:52 AMRavi L
05/09/2023, 2:44 PMsasank kumar
05/10/2023, 12:31 PMsasank kumar
05/10/2023, 12:31 PMJonatan Jaworski
05/12/2023, 1:01 AMJonatan Jaworski
05/12/2023, 1:08 AMTimothy Jones
05/12/2023, 1:55 AMTatiana Shepeleva
05/15/2023, 5:51 AMYousaf Nabi (pactflow.io)
pact-msw-adapter
in your PactFlow bi-directional tests?
You may want to cast your eyes over these PR's
• https://github.com/pactflow/pact-msw-adapter/pull/92
• https://github.com/pactflow/pact-msw-adapter/pull/93
Thanks as always to our community contributors hug blob but its okay because theyre vaccinatedTatiana
05/16/2023, 4:42 PMThis version of Pactflow does not support recording deployments, or you do not have the required permission to read environments. Please upgrade to the latest version if using Pactflow On-Premises, and ensure the user has the environment read permission.
Record deployment works perfectly fine for my other repos but for one repo I have this error.Tatiana
05/17/2023, 1:14 PMAlicia (pactflow.io)