Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/ffi consumer #366

Closed
wants to merge 107 commits into from
Closed

Conversation

YOU54F
Copy link
Member

@YOU54F YOU54F commented Jul 27, 2023

pact python consumer test examples using the PactFFI lib

  • http pact
  • message pact v3
  • plug-in pact ( grpc ) v4

these are using direct calls to the ffi library so need wrapping in the Pact or Consumer dsl in pact-python

contributors welcome. this is your chance to propose a potential redesign to the pact python dsl if it isn’t quite right at the moment.

if not, hopefully connecting the dots should be a bit simpler :)

builds on #357 which introduces the ffi libs and verifier side now built out to use near enough the same dsl

tox doesn’t like my import of the area_calculator_client, it’s okay with pytest directly.

elliottmurray and others added 30 commits July 17, 2021 13:26
…e changes to docker37 which I will need to do to all
…e changes to docker37 which I will need to do to all
The return code is straightforward, but having problems with the logging. When setting up the FFI
objects etc, it doesn't seem to work unless it's a basically a singleton, it seems hard to split up.
I don't like it but going with this for now :)
YOU54F and others added 27 commits July 7, 2023 18:09
    TODO
    - Message Metadata Content-Type hardcoded to application/json
    - Allow switching between rust/ruby core whilst in beta

    Notes
    - Message HTTP proxy needs  to drop `contents`
most likely due to container, see workaround in GHA
use area calculator proto example matching up
with other pact grpc examples. Pact is precreated
and not currently generated from pact-python
seems to causing hanging tests on windows
@YOU54F
Copy link
Member Author

YOU54F commented Aug 2, 2023

superseded by #367

@YOU54F YOU54F closed this Aug 2, 2023
@JP-Ellis JP-Ellis mentioned this pull request Sep 27, 2023
48 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants