Open jabrena opened 5 years ago
To complete this Step: https://github.com/jabrena/pact-workshop-jvm#step-13---using-a-pact-broker
It is necessary to register in PACT: https://pactflow.io/register/
pact {
publish {
pactBrokerUrl = 'https://test.pact.dius.com.au'
pactBrokerUsername = project.pactBrokerUser
pactBrokerPassword = project.pactBrokerPassword
}
}
In order to run the project: ./gradlew consumer:pactPublish
A test Pact Boker is running at https://test.pact.dius.com.au
Username: dXfltyFMgNOFZAxr8io9wJ37iUpY42M Password: O5AIZWxelWbLvqMd8PkAVycBJh2Psyg1
https://github.com/pact-foundation/pact-js/blob/master/examples/e2e/README.md
curl -v -u 'dXfltyFMgNOFZAxr8io9wJ37iUpY42M:O5AIZWxelWbLvqMd8PkAVycBJh2Psyg1' https://test.pact.dius.com.au
Phase 1: Follow PACT Training
https://github.com/DiUS/pact-workshop-jvm
Phase 2: Use a complete project not associated with PACT to understand more details in relation to the interation between Consumers & Producers
https://github.com/davidkgp/PactDemo