Jordan Nazemi
04/25/2022, 4:14 PMAndrew Fraser
04/26/2022, 7:23 AMWayne Ng
05/03/2022, 3:55 PMLei Shi
05/04/2022, 10:34 AMYousaf Nabi (pactflow.io)
Luke Redpath
05/05/2022, 11:26 AMLuke Redpath
05/05/2022, 11:28 AMMatías Cárdenas
05/09/2022, 7:21 AMintercept
the endpoint and then use cy.visit
in the test I get the following error:
The `content-type` of the response we received from your web server was:
> `application/json`
This was considered a failure because responses must have `content-type: 'text/html'`
I can set at the endpoint the header { 'Content-Type': 'text/html' }
and the ignore it, in that case it doesn't fail and publish the contract, nevertheless it will fail when checking against the provider as the response is sent as string.
Is there a way to workaround this or I am missing something here?Matt (pactflow.io / pact-js / pact-go)
Gustavs
05/09/2022, 11:58 AMDaniel Flieger
05/10/2022, 8:07 AMChris Munoz
05/10/2022, 8:27 PMWilliam Pritchard
05/12/2022, 11:12 AMcontract_requiring_verification_published
to help reduce the amount of builds we run. When I’m sending across the trigger pipeline my payload body contains CONSUMER_TAGS, PACT_CONSUMER and PACT_URL. Now I’ve just been reading through the documentation around contract_requiring_verification_published
and I’ve noticed that you’ve mentioned I need to pass in ${pactbroker.providerVersionNumber}
and ${pactbroker.providerVersionBranch}
. I was wondering what would be possible issues I would face by not including these values in my webhook payload? It seems to be working currentlyBeth Pennell
05/12/2022, 4:39 PMYousaf Nabi (pactflow.io)
publish-provider-contract
method in the Pact CLI for Bi-Directional Contract Testing.
It will simplify the existing direct API calls suggested here https://docs.pactflow.io/docs/bi-directional-contract-testing/contracts/oas/#publishing-the-provider-contract--results-to-pactflow
If so, just drop me a reaction to this 📫 or a reply in a 🧵Tatiana Shepeleva
05/17/2022, 10:53 AMa48afdec7
currnently, and bi-directional contract verification started failing suddenly without any obvious reason on our side (or I haven’t found it yet). So, I wanted to double-check if this is on Pactflow side. Thanks!Jayakannan Jeyapandian
05/17/2022, 10:54 AMYousaf Nabi (pactflow.io)
Pact is not ideally suited to 3rd party APIs because 3rd parties are unlikely to validate your PactsFor Bi-Directional Contract testing we said it can help
By pulling in the third party’s API specification (OAS) regularly, you can continually ensure your consumers are compatibleBut we are light on examples! What common public API integrations would you like to see an example of? If you have an OpenAPI spec of a public API, feel free to share. If you want to get involved and showcase to a load of 👀 ’s and demo your own example, let your devo 🥑 set the stage for you. Even if you don’t have an answer to the above, but want to see some 🍖 on the 🦴 , then just drop us some kind of emoji. Drop us a reply in a 🧵
Rajashekar Navakoti
05/20/2022, 12:48 PMdocker run --rm -v ${PWD}:${PWD}
pactfoundation/pact-cli publish ${{ pact_folder_path }}
--consumer-app-version ${{ git_commit_version }}
--tag ${{ git_branch }}
--broker-base-url ${{ pact_broker_url }}
--broker-token ${{ pact_broker_token }}
Harris Lee
05/23/2022, 3:17 AMAkash
05/26/2022, 1:37 AMJames Weng
05/26/2022, 3:40 AMJames Weng
05/27/2022, 5:32 AMJarek Rzdbk
05/31/2022, 2:47 PMJarek Rzdbk
05/31/2022, 2:48 PMJonatan Jaworski
06/01/2022, 2:38 AMJerry Wang
06/01/2022, 5:52 AMMiKey
06/01/2022, 9:05 PMJonatan Jaworski
06/03/2022, 1:37 AMwebhook:manage:team
permission. It would be handy to have it added so that teams can configure their webhooks as code and deploy them using system accounts. Thoughts?Anja Gruss
06/09/2022, 11:13 AM