SPA - AGM and Consumer Driven Contract Testing - integration without tears event

When: 7th Nov 2018, 18:00 - 7th Nov 2018, 20:00
Where: BCS, 1st Floor, The Davidson Building, 5 Southampton Street, London, WC2E 7HA
Town/City: London
Organiser: BCS Software Practice Advancement (SPA)
Price: Free
Further Information: Further Information

Speaker:  Immo Hüneke -Zuhlke Engineering Ltd

Details:

One of the challenges of the micro-service architecture is to make sure that the micro-services will communicate correctly with each other. In today's world of distributed teams and multiple inter-dependent micro-services, this becomes an increasing challenge that needs to be tackled as soon as possible.

Consumer Driven Contract (CDC) Testing helps to bridge the communication gap between micro-services developed and deployed by different teams. Traditionally, such distributed systems are tested end-to-end by integrating each component with all of its dependencies and then exercising its functionality. Automated testing is impossible until all services are available or at least accurately simulated. Incompatibilities therefore emerge late in the development cycle, evolution of the API between consumer and provider requires careful co-ordination across teams, and automated tests are brittle, since they can break for any environment-related reason. 

In CDC testing, a consumer defines its expectations of the consumed service in the form of a contract. The contract is generated as a by-product of automated unit tests against a mock service. The contract (which has an unmistakable version number) is published to a broker, from which the consumed micro-service (the provider) can download it at any time and validate the consumer's expectations against its own API. The consumer and provider are therefore fully aligned prior to being integrated.

This presentation will demonstrate how to integrate a simple notes storage and retrieval service with a notes client by using Pact, the leading CDC Testing framework. We will go on to show how to deploy the Pact Broker, client and server as Docker images in the Google Kubernetes Engine.

About the speaker:

Immo is a veteran of software practice since 1980, a regular participant in SPA conferences, and has helped organise SPA monthly London events since about 1990. He works as a senior software engineer for Zuhlke Engineering Ltd, part of the Zuhlke Engineering Group based in Zurich. When not battling with bash or jousting with jUnit, his favourite activity is singing - choral, solo, or blues. He keeps fit by being consistently late for trains and buses.

Agenda:

  • 6.00pm - Registration, refreshments and sandwiches
  • 6.15pm - Annual General Meeting
  • 6.30pm - Presentation: 6:30pm
  • 8.00pm - Further networking and refreshments

Will catering be provided?
Sandwiches will be provided, along with refreshments

S
M
T
W
T
F
S
1
2
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
21
22
23
24
25
26
27
28
29
30