pact-provider-verifier icon indicating copy to clipboard operation
pact-provider-verifier copied to clipboard

feat: Add integration description to replayed request ENV

Open barthez opened this issue 4 years ago • 3 comments

Description

Using request customizer add integration description at X_PACT_DESCRIPTION to rack request env, similar to X_PACT_PROVIDER_STATES. Remove this env in last middleware before rack reversed proxy. That would be accessible in custom middleware added to verifier.

Additionally, support v3 provider states as a list with name and parameters.

Reason

I'm implementing pact testing setup for GQL Gateway which basically passes the pact verification to downstream services connected to the gateway. I need the description so I could create a contract for the downstream service.

barthez avatar Dec 04 '20 12:12 barthez

I'm so sorry - I've only just seen this PR. Is it still required?

bethesque avatar Mar 29 '21 03:03 bethesque

Yes! it would be great to have it!

barthez avatar Mar 29 '21 11:03 barthez

Hi thanks for this @barthez, looks really interesting! Popping this on my radar to take a look at

YOU54F avatar Apr 25 '22 15:04 YOU54F