andrewhiles
03/02/2022, 5:05 PMandrewhiles
03/02/2022, 5:24 PMpactPublish
step like most folksandrewhiles
03/02/2022, 5:24 PMpact {
publish {
pactDirectory = "$rootDir/pacts"
pactBrokerUrl = "<https://url/sub-path/>"
pactBrokerUsername = "xxx"
pactBrokerPassword = "xxx"
}
}
andrewhiles
03/02/2022, 5:26 PM<http://au.com|au.com>.dius.pact.core.pactbroker.InvalidNavigationRequest: Failed to fetch the root HAL document
uglyog
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
/sub-path
in your case). It then sends back a HAL JSON response with links to follow. If the broker doesn’t know it’s running on that path, those links won’t have the prefix and will result in badnessMatt (pactflow.io / pact-js / pact-go)
andrewhiles
03/14/2022, 6:36 PMandrewhiles
03/14/2022, 6:37 PMandrewhiles
03/14/2022, 6:39 PMpact-jvm
with gradle
to build pacts and publish them..from the debugging I've performed, it looks like no matter we try, the pactBrokerUsername
and pactBrokerPassword
values are not being sent in the request to the brokerandrewhiles
03/14/2022, 6:39 PMandrewhiles
03/14/2022, 6:40 PMpact-node
codebase or using the pact-cli
directly - I can publish pacts with no issueandrewhiles
03/14/2022, 7:05 PMandrewhiles
03/15/2022, 4:15 PMMatt (pactflow.io / pact-js / pact-go)