Bernard Baker
03/10/2022, 12:20 PMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
can-i-deploy
check would fail, because the provider doesn’t implement the OAS (so it’s not trustworthy)Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Bernard Baker
03/10/2022, 12:46 PMBernard Baker
03/10/2022, 12:47 PMBernard Baker
03/10/2022, 12:48 PMBernard Baker
03/10/2022, 12:48 PMBernard Baker
03/10/2022, 12:50 PMBernard Baker
03/10/2022, 1:00 PMBernard Baker
03/10/2022, 1:20 PMYousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
What can I do to not be able to deploy my consumer if the provider hasn't implemented the endpoint, but the provider has published an OAS which makes my consumer compatible?provider verifies OAS spec against providing service prior to uploading pactflow contract. You are able to upload a result along with the provider verification which would give you feedback via the pactflow UI, that the provider codebase is not compatible with its OAS spec. Hope that helps @Bernard Baker
Bernard Baker
03/10/2022, 5:58 PMMatt (pactflow.io / pact-js / pact-go)
success
property to false
here: https://docs.pactflow.io/docs/bi-directional-contract-testing/contracts/oas#failure-resultMatt (pactflow.io / pact-js / pact-go)
can-i-deploy
in this case?Bernard Baker
03/11/2022, 3:52 PMcan-i-deploy
.Bernard Baker
03/11/2022, 4:05 PMYousaf Nabi (pactflow.io)