Skip to content

Commit

Permalink
readme: add server-2-server diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-draeger committed Dec 7, 2018
1 parent 3012727 commit e4615f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ Pact enables consumer driven contract testing,
providing a mock service and DSL for the consumer project,
interaction playback and verification for the service provider project.

![pact diagram](pact_two_parts.png)

The Pact family of testing frameworks
(Pact-JVM, Pact Ruby, Pact .NET, Pact Go, Pact.js, Pact Swift etc.)
provide support for Consumer Driven Contract Testing between dependent systems
Expand Down Expand Up @@ -142,9 +144,10 @@ Synonyms: agreement, protocol, deal, contract
We will focus on the **[HTTP based integration](#rest-example) first** and _later on_ we have a look at [**messaging queues**](#messaging-example).

![pact diagram](pact_two_parts.png)

# REST Example (Server to Server communication)

![server-2-server-diagram](server-2-server.png)

###### The Consuming Application
## Defining a Pact
Defining a Pact should be splitted into 3 steps:
Expand Down
Binary file added server-2-server.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e4615f3

Please sign in to comment.