Bogdan Barliga
04/25/2024, 11:03 AMBogdan Barliga
04/25/2024, 11:03 AMA <> B <> C
, where B
is not using the C
response, but it simply wraps it and forwards it to A
.
That is:
• A
is in the position to write meaningful interactions against C
, (A
"consumes" `C`'s response), but A
interacts with B
• B
interacts with C
, but it has no requirements on the response (it treats it as an opaque payload), so cannot define meaningful interactions for C
to verify.Bas Dijkstra
04/25/2024, 12:40 PMMatt (pactflow.io / pact-js / pact-go)
B
a gateway or proxy Bogdan? What’s it’s role in the process?Bogdan Barliga
04/26/2024, 11:48 AMB
is providing access to a service (which A
cannot access directly). All B
is advertising is:
{
"results" : { ... }
}
where the payload received from C
is simply returned inside the results
value.