omar m
05/05/2022, 7:01 PMRichard Jones (pactman)
05/06/2022, 4:02 AMDaniel Flieger
05/06/2022, 6:30 AMBernard Baker
05/09/2022, 10:57 AMYousaf Nabi (pactflow.io)
Daniel Flieger
05/10/2022, 6:58 AMJy
05/10/2022, 8:24 AMRakesh Arrepu
05/10/2022, 9:26 AMCarolyn Biggar
05/10/2022, 2:08 PMDmitry Munda
05/10/2022, 3:20 PMpending pact
s again 🙂 from docs
1. Consumer publishes a new pact with tagwhat if i want to amend existing interaction (like enrich message with 1 more field) ? c-i-d in this case says, that pact is failed. do I do/understand something wrong ? so in this case i need 2 interactions ? 1 for old message, 1 for enriched?that has a new unsupported interaction in it.main
Frank Kilcommins (he/him)
Hari Ravi
05/11/2022, 10:10 PMJordan Nazemi
05/12/2022, 8:25 PMNuno Frias
05/13/2022, 9:34 AMBernard Baker
05/13/2022, 1:50 PMbstyle killa
05/13/2022, 3:32 PMOscar Calderin
05/13/2022, 4:29 PMYousaf Nabi (pactflow.io)
Thomas Cederholm
05/16/2022, 7:16 PM@Pact
methods, and two @PactTestFor
methods.
Each such method sends its own request with its json payload.
Both tests have equal provider, and equal consumer identifier.
I tried to separate them by using different strings for the "given" statement in each test. That seemed to work, until the provider test ran.
So, I tried two different tests on the Provider to, one where I filter out the "first given", and another where I filter the "second given", but the tests fail since not all interactions get recorded.Ben Pilgrim
05/17/2022, 10:07 AMUzumaki
05/18/2022, 11:34 AM--pacticipant
is spelt as “pact” and not participant
in the cli tool
nice pun hahaAnja Gruss
05/18/2022, 12:02 PMKarl
05/19/2022, 8:59 AMVorashil Farzaliyev
05/19/2022, 11:09 AMdocker run --rm \
-w "${PWD}" \
-v "${PWD}:${PWD}" \
-e PACT_BROKER_BASE_URL \
pactfoundation/pact-cli:latest \
broker publish "${PWD}/build/pacts" \
--consumer-app-version "$PACT_VERSION" \
--branch "$GIT_BRANCH" \
--broker-base-url "$PACT_BROKER_BASE_URL" \
--broker-token "$PACTFLOW_TOKEN" \
Error on CI:
Specified pact file '/godata/pipelines/currency-conversion-library/currency-conversion-library/build/pacts' does not exist. This sometimes indicates one of the arguments has been specified with the wrong name and has been incorrectly identified as a file path.
I can provide more logs if needed. Currently I have checked everything I could think of, including whether the environmental variables are set or the pacts folder has a json file in it. The only difference between my local machine and GoCD pipeline is the docker version. (My machine runs v20, while GoCD runs v19). Can you please suggest what else I can try to check here? Or is there any other way of publishing pacts from CI/CD other than this docker imageBernard Baker
05/19/2022, 1:04 PMjson
05/20/2022, 5:17 PMhas_bugs: True
the pact still verifies successfully. I'm not sure exactly what I did wrong, but I'm assuming there's a way to have a contract depend on specific values for some contract tests, yes?Berk Safranbolulu (Hepsiburada/Bilgi Teknolojileri)
05/20/2022, 8:26 PMfunction doSomething() {
var age = 7;
// Some more code
}
What are the lexical scope and lexical environment of age
variable? Are they same?
As far as I know, Lexical Scope is the place that is defined any variable, function, or expression. What’s the difference from Lexical Environment?
With this Lexical Scope knowledge, we are able to know which scope can access to age variable, and age variable can access which scope as well. Am I right? What do you think?ritika arora
05/23/2022, 3:03 AMcurl --location --request POST '<https://pact-broker.rcue102.viatorsystems.com/webhooks/consumer/event-service>' \
--header 'Content-Type: application/json' \
--data-raw '{
"consumer": {
"name": "event-service"
},
"provider": {
"name": "product-service"
},
"request": {
"method": "POST",
"url": "<https://gitlab.dev.tripadvisor.com/api/v4/projects/{id}/trigger/pipeline>",
"headers": {
"Accept": "multipart/form-data"
},
"body": {
"token": "TOKEN",
"ref": "develop",
"PIPELINE_LIBRARIES": "contract_verification,no_common",
"PACT_CONSUMER_TAG": "${pactbroker.consumerVersionTags}"
}
},
"events": [
{
"name": "contract_content_changed"
}
]
}
'
Johannes
05/23/2022, 12:36 PM--include-wip-pacts-since
with a date well into the past but nothing. Am I totally misunderstanding how this is supposed to work?json
05/23/2022, 2:05 PM