<#1562 Pending Pacts - pactbroker.providerBranches...
# pact-jvm
g
#1562 Pending Pacts - pactbroker.providerBranches not working New issue created by praveen-em I tried using
pactbroker.providerBranches
(replacing
pactbroker.providerTags
) on my provider with latest release
4.3.8
. It is not able to fetch pending and wip pacts using branches. It was able to fetch the pending and wip pacts using tags. Doing bit of investigation, it appears the problem is because this code populates
providerVersionBranches
but Pact broker expects
providerVersionBranch
I think (@Beth (pactflow.io/Pact Broker/pact-ruby) ?). This is my suspect but I am not sure. Pactbroker log:
Copy code
2022-05-26 17:48:01.586098 I [7:puma srv tp 001] PactBroker::Api::Resources::ProviderPactsForVerification -- Fetching pacts for verification by pactdemo-provider-springboot -- {:provider_name=>"pactdemo-provider-springboot", :params=>{"consumerVersionSelectors"=>[{"mainBranch"=>true}, {"deployedOrReleased"=>true}], "includePendingStatus"=>true, "includeWipPactsSince"=>"2022-05-01", "providerVersionBranches"=>["mybranch"], "providerVersionTags"=>[]}}
pact-foundation/pact-jvm
y
Hey @Praveen Erode Mohanasundaram , spot on, I’ve replied
b
Good catch. My bad.