Consumer Driven Contract and Your Microservices Architecture

Download Consumer Driven Contract and Your Microservices Architecture

Post on 09-Jan-2017

330 views

Category:

Technology

4 download

TRANSCRIPT

<p>JSUG SpringOne Platform 2016 Consumer Driven Contract and Your Microservices ArchitectureYusuke Ikeda / @yukungCyberAgent, Inc.</p> <p>CyberAgent, Inc. All Rights Reserved</p> <p>@yukungAmeba API ElasticSearch v0.19 ElasticSearch(0.19)</p> <p>Java Groovy About me</p> <p>SpringOne SpringOne Platform 2016 SpringOne Platform 2016 SpringOne Platform 2016 2</p> <p>CyberAgent, Inc. All Rights Reserved</p> <p>#</p> <p>Consumer Driven Contract</p> <p>CyberAgent, Inc. All Rights Reserved</p> <p>#</p> <p>Consumer Driven Contract http://martinfowler.com/articles/consumerDrivenContracts.html</p> <p>Consumer Driven Contract Consumer () Producer () Contract Producer Consumer (Contract ) Producer - Consumer </p> <p>ProducerAPI ConsumerProducer API ContractProducer Consumer API Consumer Driven ContractConsumer Producer API TDD</p> <p>CyberAgent, Inc. All Rights Reserved</p> <p>#</p> <p>CDC ConsumerProducerFeature</p> <p>DEMO</p> <p>CyberAgent, Inc. All Rights Reserved</p> <p>#</p> <p>Summary</p> <p>CyberAgent, Inc. All Rights Reserved</p> <p>#</p> <p>SummarySpring Cloud Contract Consumer Driven Contract Consumer Producer API Producer Producer Stub Consumer Stub </p> <p>Summary - Consumer flow 1ConsumerTDD - API Producer cloneclone Producer Contract stub installConsumer Stub Runner offline mode Producer Stub Stub Runner API Red - Green - Refactor Contract PR Producer </p> <p>ProducerPR PR Application Stub JAR Summary - Producer flow</p> <p>ConsumerProducer Stub Stub Runner offline mode Stub Repository URL Stub Runner Producer API Summary - Consumer flow 2</p> <p>Contract Consumer Producer statically typed DSL Contract Stub Runnner - Stub Nexus/Artifactory Spring Cloud Integration - Integration Test Discovery Service Spring Cloud Contract Verifier </p> <p>Learn moreSpring Cloud Contract (Official Document)Consumer-Driven Contracts Design Pattern: (Cookpad tech blog)Consumer Driven Contracts REST API/ (by @making)Demo source codehttps://github.com/yukung/springone-cdc-consumerhttps://github.com/yukung/springone-cdc-producerThank you for your attention!</p>

Recommended

View more >