Skip to content

A demonstration of pact-ffi interpot with .net & pact-plugins

Notifications You must be signed in to change notification settings

YOU54F/pact-dotnet-ffi-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET Pact Plugin Scenarios

This repository contains a collection of pact plugin scenarios for the .NET Interop with the Pact FFI shared library.

Layout

.
├── Avro
│   ├── AvroClient
│   ├── AvroClient.Tests
│   ├── AvroProvider
│   └── AvroProvider.Tests
├── Grpc
│   ├── GrpcGreeter
│   ├── GrpcGreeter.Tests
│   ├── GrpcGreeterClient
│   └── GrpcGreeterClient.Tests
├── Pact
│   ├── Pact.cs
│   └── Pact.csproj
├── Plugin
│   └── FooPluginConsumer.Tests
├── Protobuf
│   ├── Protos
│   ├── RouteGuide
│   ├── RouteGuideClient
│   ├── RouteGuideClient.Tests
│   ├── RouteGuideServer
│   └── RouteGuideServer.Tests
├── README.md
└── Tcp
    ├── TcpClient
    ├── TcpClient.Tests
    ├── TcpListener
    └── TcpListener.Tests

Scenarios

Avro

Simple Avro example utilising Apache.Avro library to send HTTP messages in Avro format.

Grpc

Simple gRPC greeter client.

Adapted for Pact, from Microsoft's gRPC sample - Tutorial: Create a gRPC client and server in ASP.NET Core

Plugin

Simple example of usage of custom plugin for Pact, which concentrates on message format only.

Part of Pact create a plugin course.

Demonstrates usage of a basic plugin created in .NET

Protobuf

gRPC RouteGuide example, adapted from old .NET gRPC example.

Utilises a .NET message proxy to map Pact messages to message handlers.

Tcp

Follows the pact-matt-plugin, as exercised in

About

A demonstration of pact-ffi interpot with .net & pact-plugins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published