-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
Hi, i'm having the following issue ¿what am i missing?
WARN: Ignoring unsupported combine AND for path $['id']
WARN: Ignoring unsupported matchers [{"match"=>"number"}] for path $['amount']
WARN: Ignoring unsupported combine AND for path $['amount']
WARN: Ignoring unsupported matchers [{"match"=>"timestamp", "timestamp"=>"yyyy-MM-dd'T'HH:mm:ss"}] for path $['expires_at']
WARN: Ignoring unsupported combine AND for path $['expires_at']
Command:
docker run --rm --net host \
-e PACT_BROKER_BASE_URL=https://pactbroker.custom.domain.com/ \
-e PACT_BROKER_USERNAME \
-e PACT_BROKER_PASSWORD \
-e PACT_BROKER_PUBLISH_VERIFICATION_RESULTS=false \
pactfoundation/pact-cli:0.24.0.0 verify \
--provider ms-virtual-account \
--provider-base-url http://localhost:59000 \
--provider-app-version "$1" \
--no-enable-pending \
--wait 10 \
--provider-version-tag local-test \
--consumer-version-selector '{"tag":"local","latest":true,"fallbackTag":"feats"}' \
--consumer-version-selector '{"tag":"dev","latest":true,"fallbackTag":"prod"}'This is my pact (part of):
{
"interactions": [
{
"_id": "1d4705eb3dfafb618d9a9172bf701406e4e736cf",
"description": "a request to reserve amount",
"request": {
"method": "POST",
"path": "/movements",
"headers": {
"Content-Type": "application/json"
},
"body": {
"amount": 100.5,
"intention_id": "4",
"type": "reserve"
}
},
"response": {
"status": 201,
"headers": {
"Content-Type": "application/json; charset=UTF-8"
},
"body": {
"amount": 100.5,
"expires_at": "2020-11-12T14:15:38",
"id": "5",
"status": "CREATED"
},
"matchingRules": {
"body": {
"$.id": {
"matchers": [
{
"match": "type"
}
],
"combine": "AND"
},
"$.amount": {
"matchers": [
{
"match": "number"
}
],
"combine": "AND"
},
"$.expires_at": {
"matchers": [
{
"match": "date",
"date": "yyyy-MM-dd'T'HH:mm:ss"
}
],
"combine": "AND"
}
},
"header": {
"Content-Type": {
"matchers": [
{
"match": "regex",
"regex": "application/json(;\\s?charset=[\\w\\-]+)?"
}
],
"combine": "AND"
}
}
}
},
"providerStates": [
{
"name": "account has available balance"
}
]
}
],
"metadata": {
"pactSpecification": {
"version": "3.0.0"
},
"pact-jvm": {
"version": "4.1.7"
}
}
}Metadata
Metadata
Assignees
Labels
No labels