api gateway nie
play

API Gateway @ NIE By Benny Lam & Devi Arputharajan, NIE ACIS - PowerPoint PPT Presentation

Restricted API Gateway @ NIE By Benny Lam & Devi Arputharajan, NIE ACIS Restricted Agenda What is an API? API economy What problem does it solve? Various types of API gateway NIE high level deployment Demo using NIE


  1. Restricted API Gateway @ NIE By Benny Lam & Devi Arputharajan, NIE ACIS

  2. Restricted Agenda • What is an API? • API economy • What problem does it solve? • Various types of API gateway • NIE high level deployment • Demo using NIE API gw • QnA

  3. Restricted What is API?

  4. Restricted API economy

  5. Restricted

  6. Restricted Types of API • Three types of APIs : – Open APIs: these APIs are publicly available on the web. They are made available to all developers through a simple online contract. – Semi-open APIs: these APIs are accessible to a limited number of partners selected by the company. – Closed APIs: these APIs are for the company's internal operations; their use is reserved for internal developers.

  7. Restricted What problem does a gateway solve? • Abstraction of backend servers – Facade pattern • BFF pattern – Backend for Frontend pattern • Micro-services • Single entry point for integration • Policy management • Service bus

  8. Restricted API facade pattern • Simple interface to a complex system • Future-proof your systems • Hiding the internal implementation (abstraction)

  9. Restricted BFF pattern • https://microservices.io/patter ns/apigateway.html • A layer of BFF services that mesh up the next layer of micro-services • One BFF per mobile experience • Provides Optimal call for each client

  10. Restricted Micro-services architecture • An architectural style that structures an application as a collection of loosely coupled service

  11. Restricted Monolithic Architecture

  12. Restricted Micro services architecture

  13. Restricted

  14. Restricted API policies • Access restriction policies – Parameters type check – Restrict caller IP – Authorization protocol (OAUTH, SAML) – Limit call rate (throttling) • Authentication policy – Cert verification • Advance flow • Caching • Transformational – Conversion of JSON to XML

  15. Restricted Enterprise Service Bus • Integrate systems by a communication bus • Decouples systems from each other, communicate without knowledge of other systems on the bus. • Move away from point-to- point integration, which is hard to manage over time

  16. Restricted 2 main differences • APIs are consumption-centric, whereas services exposed through ESB are exposure/reuse focused. • The logic for “orchestration” is not a significant driver for the API layer

  17. Confidential full API Lifecycle management Gartner Magic Quadrant for

  18. Restricted Enterprise API gateway • Feature rich • On premise or on cloud

  19. Restricted Cloud-base API gateways • Pay as you go • Important abstraction component of cloud architecture

  20. Restricted Open source Gateway • Open source version alternative • Up and coming niche player – Kong build on Nginx (high performance load balancer)

  21. Restricted API management Design Monetization Development Analysis Security Monitoring Publishing Scalability

  22. Restricted API journey timeline Jan 2016 May 2016 Aug 2016 Dec 2016 Mobile POC done API Procurement April 2017 Sept 2017 architecture for Mulesoft awareness using bulk Production APIs review revamp and CA workshop tender

  23. Restricted NIE API deployment

  24. Restricted

  25. Restricted Publish an API in Gateway

  26. Restricted Use Case  To Publish “ CourseList ” API from StudentService application in Gateway.  Apply Policies  Audit log  Protect URL from SQL Attack

  27. Restricted Gateway IDE

  28. Restricted Publish API

  29. Restricted Publish API

  30. Restricted Publish API https://apigw.sg/CourseList https://StudentServices.edu.sg/Course/CourseList

  31. Restricted

  32. Restricted NIE Mobile App Consuming APIs via Gateway

  33. Mobile Applications Functions Login Access Matrix (product) News Portal API (java) Gate way Course, Exam Student Service (.Net) Car Park Car Park (PHP)

  34. Restricted Gateway Policies  Caching  Throttling

  35. Restricted Caching Gateway can cache the response from API for a “user defined period” of time.

  36. Restricted Eg: Cache Response for 5 secs Secs 1 Response is cached First call to API and returned 2 Subsequent Response from Cache Calls . . . . . . . 6 Response from Cache Hits the server after 5 7 Secs

  37. Restricted Throttling Gateway helps to regulate the rate at which the request is processed per unit time

  38. Restricted Throttling

  39. Restricted Database API

  40. Restricted Database API

  41. Restricted Database API

  42. Restricted Database API

  43. Restricted

  44. Restricted People, Process, No one Product size fits all Start Small Successful API implementation

  45. Restricted

  46. Restricted

Recommend


More recommend