bit of an odd one: is it possible to verify single...
# general
u
bit of an odd one: is it possible to verify single interactions (instead of entire contracts)? Context: there’s a team developing AWS lambdas and I’m trying to figure out if we can put an http proxy in between pact and the lambdas, 1 by 1, and do the verifications that way. Thanks in advance (extra info: this is all JVM stuff)
m
as in, could you verify 1 interaction at a time and accumulate the verification results? I think you can do the former, but not the latter
u
right, group by interaction (actually group by endpoint) instead of by consumer/contract
m
Are each endpoint different lambdas, is that why you want to break it down that way? Is there a reason why you can’t proxy the whole set?
u
I am also trying to proxy the whole thing 🙂
👍 1
and yes, each lambda is a diff endpoint, but I’m looking at all options
👍 1
m
It might require a custom verifier to do this, or an update to the pact broker to support incremental verifications.
👍 1
Let us know if that’s a path you want to consider, and we can start to establish some pointers
u
tbh I’d rather have a realistic setup, i.e. a proxy with actual endpoints the app will call with the lambdas (maybe via aws sam) behind
👍 1
m
Yep, that’s probably better