devops dday - streamline devops workflows with apis
TRANSCRIPT
© Restlet 2016
x
© Restlet 2016
Jérôme LouvelAbout Jérôme Louvel
• Founder & CTO of Restlet, API platform provider
• Launched Restlet Framework, first REST framework in 2005
• Contributor to “RESTful Web Services” (O’Reilly, 2007)
• Member of the JAX-RS 1.0 expert group (2007 - 2009)
• Co-author of “Restlet in Action” (Manning, 2012)
• InfoQ editor covering Web APIs since 2014
© Restlet 2016
API Use Cases
API centricsoftware
Mobile app backend
IoTbackend
Micro service
Web app backend
Social botbackend
Partner API
gateway
PublicAPI
gateway
Automatedworkflow
© Restlet 2016
API Project Approaches
Cont
ract
-driv
en
Code-driven
Behavior-driven
Data-drivenSe
rvice
-driv
en
APIProject
Test-driven
© Restlet 2016
1 | Code-first & Back-end Driven
Back-end team
Front-end teams
API
Impl
SDK
ClientA
SDK
ClientB
...
...3
1
2
© Restlet 2016
2 | API-first & Back-end Driven
Back-end team
Front-end teams
Impl
SDK
ClientA
SDK
ClientB
...
...2
1Mock
2
API
© Restlet 2016
3 | Collaborative API-first
Back-end team
Front-end teams
Impl
SDK
ClientA
SDK
ClientB
...
...2
1Mock
2
API
© Restlet 2016
Behavior Driven API Development (BDD)
CraftAPI
Specify API behavior
ImplementAPI
DeployAPI
QA Testerwrite test scenarios
write test steps
Software Developerdeploy server mockpass test scenarios
Software Developergenerate client SDK
implement client
Product Ownerverify expected behavior
write new user stories
Product Ownerdefine expected behavior
write user stories
Software Developerdesign API contract
define client requests
Software Developergenerate server skeleton
implement server
Technical Writerdocument user storiesdocument API contract
© Restlet 2016
x
© Restlet 2016
Filip KolarikAbout Filip Kolarik
• Founder and creator of DHC - a tool for API testing
• API evangelist, lecturer, researcher
• Senior API enthusiast at Restlet since 2015
© Restlet 2016
x
© Restlet 2016
• API Testing & Discovery
• Automated API Testing
• API Design
Part 2 - Demo & Workshop