Oracle Code Capgemini: API management & microservices a match made in heaven

866 views

Published on

Oracle Code London presentation by Capgemini Luis Weir and Phil Wilkins. Talking about API management relation to microservices, evolution of API gateways and why should developers care about APIs

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
866
On SlideShare
0
From Embeds
0
Number of Embeds
444
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Oracle Code Capgemini: API management & microservices a match made in heaven

  1. 1. { "presentation": { "title” : ”APIM & Microservices – a match made in heaven", "location” : ”London", “date” : “2017-04-20”, "event": "#OracleCode”, ”downloadUrl” : “https://tinyurl.com/ocode-apim-ms” } }
  2. 2. 2Copyright © Capgemini and Sogeti 2017. All Rights Reserved About us Luis Weir Oracle Ace Director – Chief Architect at Capgemini UK Phil Wilkins Oracle Ace Associate – Senior Consultant at Capgemini UK luis.weir@capgemini.com uk.linkedin.com/in/lweir @luisw19 http://www.soa4u.co.uk phil.wilkins@capgemini.com uk.linkedin.com/in/PhilWilkins @PhilAtCapgemini oracle-integration.cloud & blog.mp3monster.org 2nd Place 1st OTN Cloud Hackathon June, 2016 Cloud Contribution Award PaaS Community March, 2016 Best New UK Speaker UKOUG December,2016 API Contribution Award PaaS Community April, 2017 Supported the development of a variety of books Packt – Erl et al Articles published in a range of Journals Published 1st Oracle iPaaS Book Implementing ICS PaaS Community Jan, 2017 TOGAF 9 Certified 2013
  3. 3. 3Copyright © Capgemini and Sogeti 2017. All Rights Reserved Agenda §Context §Evolution of APIs and services platforms + sample architectures §Demo
  4. 4. 4Copyright © Capgemini and Sogeti 2017. All Rights Reserved What is the approximate number of publicly available APIs? 4 § API growth in the enterprise exponential § API accelerated growth will continue: • Partner integration APIs • B2C APIs • Enterprise mobility APIs • IoT APIs Growth In [Public] Web APIs Since 2005 Programmable Web 1 186 299 438 593 865 12631546 2026 2418 3422 5018 7182 9011 10302 15345 17067 0 1500 3000 4500 6000 7500 9000 10500 12000 13500 15000 16500 18000 APICount Month Fastest Growing Web API (%) Categories -6 months Programmable Web Financial, 70 Enterprise, 66 Backend, 52 Messaging, 43 Advertising, 43 Government, 38 Mapping, 35 Science, 31 Social, 28
  5. 5. 5Copyright © Capgemini and Sogeti 2017. All Rights Reserved Why should a business care about APIs? Why should you care? 60% Salesforce.com has a marketplace (App Exchange) for apps created by its partners that work on its platform; they now number more than 300 partners. 90% Expedia’s APIs allow people using third- party websites to tap its functionality in order to book flights, cars, and hotels. The GoPro Developer Program provides toolkits, APIs, technical information and support to enable companies to incorporate GoPro connectivity into their products. In a thought market, Go-pro is looking at APIs enabled digital engagement (i.e. user generated content) as means to deliver value-add. ref: https://hbr.org/2015/01/the-strategic-value-of-apis 60% eBay to list its auctions on other websites, get bidder information about sold items, collect feedback on transactions, and list new items for sale — all of which give additional exposure to eBay items and increase revenue.
  6. 6. 6Copyright © Capgemini and Sogeti 2017. All Rights Reserved APIs are great ……But can result in a lot of ad-hoc mess if APIs are not managed…
  7. 7. 7Copyright © Capgemini and Sogeti 2017. All Rights Reserved API management Planning Design Implementation Publication Operation Consumption Maintenance Retirement API delivers the processes and platforms required to implement enterprise-grade APIs but also manage the communities around it.
  8. 8. 8Copyright © Capgemini and Sogeti 2017. All Rights Reserved The technology industry has realised the value. 8
  9. 9. 9Copyright © Capgemini and Sogeti 2017. All Rights Reserved What is a Microservice? Functional decomposition of systems into manageable and independently deployable components, Microservice Architectures by Dr. Andreas Schroeder (http://bit.ly/1TOGZK8) “Loosely coupled service oriented architecture with bounded context”, – Adrian Cockcroft, April 2015
  10. 10. 10Copyright © Capgemini and Sogeti 2017. All Rights Reserved Microservices Stack à What’s different? Modern Monolith Any Hardware Hardware Resources Host OS Hypervisor (type 1 or 2) Guest OS (VMs) Bin/Libs (MREs, Interpreters, etc) Application Server Application (ie. ESB, SCA engines) Service Implementation Container Engine Relational Database Legacy Monolith Mainframe (ie IBM System Z, S/360) Storage (ie. DB2, IMS/DB) Hypervisor (ie. PR/SM –Type 1) Hardware Resources (ie. DADB, IDMS,IEDN) Operating System (ie. z/OS, z/VSE) Batch Services (ie JCL,JES,3rd p.) Application Services (ie. CICS) Microservice Architecture Any Hardware Hardware Resources Host OS Guest OS (VMs) Scala Java Ruby Node Jolie Service Implementation Container Engine Bin/Libs Bin/LibsBin/LibsBin/Libs Container Engine Bin/Libs Hypervisor (type 1 or 2) Mongo Cassandra Oracle HBase Neo4j API Micro-gateways
  11. 11. 11Copyright © Capgemini and Sogeti 2017. All Rights Reserved The three aspects of Microservices Architecture OrganisationalTechnical Architectural
  12. 12. 12Copyright © Capgemini and Sogeti 2017. All Rights Reserved The three aspects of Microservices Architecture Deployed independentlyRun on its own process Scales independentlyIsolates faults Is stateless Owns its data Technical You build it you run itOrganisational Small teams Teams organized around business capabilities Products not projects Culture of automation Decentralised governance Architectural Single responsibilityBounded context ChoreographedAPI gateways Polyglot Smart endpoint and dump pipe
  13. 13. 13Copyright © Capgemini and Sogeti 2017. All Rights Reserved API gateways evolution Timeline HTTP Reverse Proxy’s Generation Zero The ESB § Data in monoliths § Cloud?? § All about ESB’s § SOA governance in its infancy § Service gateways as thin layer § Reverse HTTP proxies for external access § Very early adoption of cloud (mainly by SMBs) ESB DMZ SSL WS-Security Service Gateways SSL 2002-2005 XMLXML XML DMZ 2014-2017 3rd Generation APIs everywhere {API} {API} {API} {API} {API} {API} {API} {API} Micro Gateway Micro Gateway Micro Gateway API Management Micro Gateway SOA Micro Gateways Microservices Micro Gateways Micro Gateway § Data fully federated § Centre of gravity moves to cloud § Proliferation of {REST} APIs § REST/JSON taking over SOAP/XML § Microservices gain momentum § Docker containers to package & deploy § API management changes shape § The API Micro Gateway is born § Event-loop (non-blocking I/O) based app servers § API management as an enterprise discipline § IoT gaining momentum {JSON} {JSON} {JSON} {JSON} {JSON} {JSON} {JSON} 2nd Generation REST & API Gateways SSL SSL API Management 2011-2013 WS-Security SOA Web Service Management SCA RulesBPELWS-* ESB BAM Adapters BPMN WS-S § Data becoming federated § Enterprise embraces cloud applications § Raise of API management pure-plays § SaaS adoption starts to gain momentum § API Management add-ons to 1st Gen § REST APIs become very popular § API Gateways for SaaS integration § SOA governance less popular § Microservices gaining popularity § IoT early days {API} {API} {API} XML XML DMZ {JSON}{JSON} 1st Generation XML Appliances {API} 2006-2010 XML Appliances (1st Gen API Gateway) DMZ WS-Security WS-Security SOA Service Gateways SCA RulesBPELWS-* ESB BAM Adapters BPMN SOA Governance § Data in monoliths § Early days of cloud (mainly SMB) § All about SOA and SOA Governance § SCA published (OER, UDDI, etc) § SOA Governance (Enterprise Repositories, UDDI’s, monitoring and management) § XML appliances gain popularity § Cloud on the radar for large enterprises § First web (REST) APIs XMLXML XML {JSON}
  14. 14. 14Copyright © Capgemini and Sogeti 2017. All Rights Reserved API Reference Architecture SaaS API Applications Finance SCM Legacy, etc CX HCM [Managed] Business APIs Single Purpose APIs Utility APIs Identity Logging Error Handing Notifications Management Design & Development Portals Policy Definition Lifecycle Management Runtime Analytics User Management SYSTEMS OF ENGAGEMENT Special Purpose APIs Presentation APIs Partner [B2B] APIsPublic [Consumer] APIs Microservices SYSTEMS OF RECORDS SYSTEMS OF INNOVATION SYSTEMSOFENABLEMENT $ API System APIs System APIs System APIs System APIs System APIs Message Pipe
  15. 15. 15Copyright © Capgemini and Sogeti 2017. All Rights Reserved Solution Architecture Order & Fulfillment Domain Customer Relations Domain ERP Domain (P2C, R2C, HR, GL, Billing, etc.) API Gateway(s) Bounded Context Bounded Context Message Pipe Mobile Apps Adapter Adapter Contac t Custome r Shipment Order Product Web Apps Applications Async Communication Sync Communication Managed API Microservice Monolith Service ChoreographyBounded Context
  16. 16. 16Copyright © Capgemini and Sogeti 2017. All Rights Reserved CDN (i.e. AKAMI) Cloud On-premises Oracle API Platform Implementation Architecture External Firewall Internal Firewall External API Gateway Internal API Gateway Internet ProxyExternal API Gateway Internal API Gateway Existing SOA Infrastructure API Applications & Microservices External Load Balancer External Load Balancer Registry Register, de- register, health check, etc Get endpoints IP i.e. ADFS/LDAP IP i.e. ADFS/LDAP PaaS DBaaS iPaaS ExternalAPI Gateway ExternalAPI Gateway LoadBalancer Identity as a Service SaaS CloudFirewall External Load Balancer LG Cloud APIApplications& Microservices § Sends stats § Pulls deployments Cloud PaaS Management ConsoleDeveloper Portal API Platform Discover, Try, Use Application Developers API Platform Admins Install, manage gateways, manage users & grants API Designers & Developers Publish & discover, manage, monitor APIs LG = Logical gateway SP = Single purpose IP = Identity provider Business API Business API Mobile App LG Ext. LG Int.
  17. 17. 17Copyright © Capgemini and Sogeti 2017. All Rights Reserved API consumers Docker Engine Microservice API container Node.js Framework Orders System [REST] API Mongo DB Mongo container /orders?date=xx&customer=yy [GET/POST] /orders/{order id} [GET/PUT/DELETE] API Gateway Orders Business API /orders?date=xx&customer=yy [GET/POST] /orders/{order id} [GET/PUT/DELETE] AuthN Limits Route Validate API-Key Respond https:443, 4443 http:3000 Download from: https://github.com/luisw19/node Or create docker-compose.yml: version: '2' services: order_api: #Uncomment if you wish to build from source code #build: ./orders_api image: luisw19/orders_api depends_on: - mongo_db ports: - "3000:3000" command: npm start links: - mongo_db mongo_db: image: mongo:3.2.9 Demo: Architecture Cloud PaaS Management ConsoleDeveloper Portal API Platform Phone-home
  18. 18. 18Copyright © Capgemini and Sogeti 2017. All Rights Reserved Demo: API {First} Design APIM Designer Portal 8) Feedback 13) Evaluates 14) No changes 7) Evaluates 5) Creates API definition 12) Submits final definition (Github pull request) 9) Updates definition 4) Opens API editor 1) Enters APIM Dev Portal 2) Searches API catalogue 3) No match 11) Thumbs up! 10) Evaluates Assertions checks Assertions checks 15) Set-up continuous test 6) Creates mockup & shares URL > Dredd, Circle CI 16) Implements API 17) Requests deploy 18) Gets request 19) Approves API Gateway API Gateway DMZ API Gateway Management Console API Platform Cloud API Designer API Developer API Consumer Developer Architects API Developers API Gateway Admin Developer Portal API Platform Cloud
  19. 19. 19Copyright © Capgemini and Sogeti 2017. All Rights Reserved Summary § APIs bring tangible value to businesses • And like doors, APIs are of different type, shapes and forms § Microservices Architecture provide a robust/lightweight/scalable/decoupled way to implement APIs • There are 3 aspects to microservices: architectural, technical, organisational • Bounded Context helps shape microservice scope & definition § 3rd generation API platforms are microservice oriented and hybrid – not monolithic § Oracle API Platform Cloud Service (to be released very soon!) + APIary deliver a pure play 3rd gen platform § Using APIary for API-first brings agility and simplifies process of designing APIs and Microservices
  20. 20. 20Copyright © Capgemini and Sogeti 2017. All Rights Reserved API gateways evolution – comparison (independent view) Timeline HTTP Reverse Proxy’s Generation Zero The ESB ESB DMZ SSL WS-Security Service Gateways SSL 2002-2005 XMLXML XML DMZ 2014-2017 3rd Generation APIs everywhere {API} {API} {API} {API} {API} {API} {API} {API} Micro Gateway Micro Gateway Micro Gateway API Management Micro Gateway SOA Micro Gateways Microservices Micro Gateways Micro Gateway {JSON} {JSON} {JSON} {JSON} {JSON} {JSON} {JSON} 2nd Generation REST & API Gateways SSL SSL API Management 2011-2013 WS-Security SOA Web Service Management SCA RulesBPELWS-* ESB BAM Adapters BPMN WS-S {API} {API} {API} XML XML DMZ {JSON}{JSON} 1st Generation XML Appliances {API} 2006-2010 XML Appliances (1st Gen API Gateway) DMZ WS-Security WS-Security SOA Service Gateways SCA RulesBPELWS-* ESB BAM Adapters BPMN SOA Governance XMLXML XML {JSON} API Platform
  21. 21. The information contained in this presentation is proprietary. Copyright © 2016 Capgemini and Sogeti. All rights reserved. Rightshore® is a trademark belonging to Capgemini. www.capgemini.com www.sogeti.com About Capgemini and Sogeti With more than 180,000 people in over 40 countries, Capgemini is a global leader in consulting, technology and outsourcing services. The Group reported 2015 global revenues of EUR 11.9 billion. Together with its clients, Capgemini creates and delivers business, technology and digital solutions that fit their needs, enabling them to achieve innovation and competitiveness. A deeply multicultural organization, Capgemini has developed its own way of working, the Collaborative Business Experience™, and draws on Rightshore®, its worldwide delivery model. Learn more about us at www.capgemini.com. Sogeti is a leading provider of technology and software testing, specializing in Application, Infrastructure and Engineering Services. Sogeti offers cutting-edge solutions around Testing, Business Intelligence & Analytics, Mobile, Cloud and Cyber Security. Sogeti brings together more than 23,000 professionals in 15 countries and has a strong local presence in over 100 locations in Europe, USA and India. Sogeti is a wholly-owned subsidiary of Cap Gemini S.A., listed on the Paris Stock Exchange.
  22. 22. 22Copyright © Capgemini and Sogeti 2017. All Rights Reserved Capgemini & Oracle Alliance and Strategic Partnership § Oracle Diamond Partner (highest partnership level with less than 10 companies at this level) § Oracle Cloud Managed Service Provider (*New!) partner – only a handful of SI’s § Only Global SI to be accredited as Oracle Authorized Education Center § Part of Beta programmes for: § API platform § Integration cloud § Process cloud § Oracle Self-Service Automation § Oracle IoT Cloud § Oracle Mobile Cloud § Over 300 certified consultants § One of few diamond partners § Continuous investments in cloud accelerators such as: § API management § iPaaS § Chat bot's § BPM § SOA § Real experts and thought leaders including: § 4 published Oracle books: § 2013: Oracle SOA Governance Implementation § 2015: Oracle API Management Implementation § 2016: Oracle Case Management Solutions § 2017: Implementing Cloud service § Soon: Enterprise API Management! § 5 Oracle Aces: 2 Directors, 2 Aces, 1 Ace Associate Key Differentiators § 2016 – Oracle Specialized Partner of the Year: Industry § 2016 – Oracle University Partner of the Year § 2016 – BPM and Cloud community awards § 2015 – Oracle Customer Support Services Partner of the Year § 2011 – Global Partner of the Year Award for Oracle Applications § 2012 – Fusion Middleware partner of the year § 2010 – Partner of the year for Oracle Fusion Middleware § 2010 – 2010 EMEA Industry Partner of the Year § 2010 – Oracle Customer Services Partner of The Year § 2009 – Oracle Customer Services Partner of The Year § 2008 – Oracle Customer Services Partner of The Year Awards and Recognition Reference Implementations

×