Il Mainframe e il paradigma dell enterprise mobility Carlo Ferrarini carlo_ferrarini@it.ibm.com zsystems Hybrid Cloud
Agenda Exposing enterprise assets in the API Economy Era Deliver natural APIs from zsystems with z/os Connect EE Create, Run, and APIs with API Connect 2
Exposing Enterprise assets Exposed as APIs To create Innovative Apps Existing Enterprise IT Investments Self Service Consumed by Developers 2016 IBM Corporation Page 3
Already Have APIs? Service Service ESB ESB Companies already have web services, which can be exposed as APIs Software vendors are adding API support to existing products to pass through data from a system of record unchanged; aka s Vs. Added ment & Security to protect enterprise assets s should be managed and secured to protect enterprise systems: Where are they published? Which developers can discover them? Which applications can access them? How frequently? At what cost? Etc
System & Interaction APIs s: APIs that pass through data from a system of record www TH IN GS Interaction APIs: Invoke one or more s or data sources, and manipulate the returned data with new logic Promote consumption across new applications Interaction API App MicroService Service ESB
APIs, RESTful and JSON APIs (Application Programming Interfaces) have been around for a long time! Java RMI, JMS, SQL calls In this API economy world, it is almost always REST with JSON payloads A little on REST (Representational State Transfer) and JSON (JavaScript Object Notation) POST GET PUT /account /account/1234 /account/1234 + (JSON with Fred s information) + (JSON with amount of deposit) HTTP URI conveys the resource to be acted upon; i.e. Fred s account with number 1234 HTTP Verb conveys the method against the resources; i.e. POST is for create, GET is for read, etc HTTP body containing JSON carrying the specific data for the action (HTTP verb) against the resource (HTTP URI)
IBM z/os ConnectEnterprise Edition 10,000ft conceptual view TH GS IN www Discovery CICS IMS z/os REST API consumers Create and deliver natural REST APIs for z Systems assets in a unified manner across z/os subsystems with integrated auditing, security and scalability DB2 1 WAS MQ 1 1 Statement of Direction
IBM z/os Connect Enterprise Edition Component view what comes in the box API composition tooling for Eclipse Create API packages and iteratively deploy for testing z/os Connect dedicated Liberty z/os Connect product feature V2.0 service provider features WOLA Angel The Liberty angel runtime is included with z/os Connect EE Provides authorized services WOLA service provider is included as a Liberty feature in the z/os Connect EE product (+ the base WOLA feature) API deployment scriptable interface Automate deployment of API packages with target-specific customizations REST client REST client service provider allows integration of REST services, using z/os Connect as a proxy SMF89 registration & usage records
IBM z/os Connect Enterprise Edition Component view extending z/os Connect EE API composition tooling for Eclipse Create API packages and iteratively deploy for testing API deployment scriptable interface Automate deployment of API packages with target-specific customizations z/os Connect dedicated Liberty z/os Connect product feature V2.0 service provider features WOLA REST client Extra SPs Angel IMS Enterprise Suite 3.2.1 includes IMS Mobile Feature Pack for z/os Connect Enterprise Edition The Liberty angel runtime is included with z/os Connect EE Provides authorized services WOLA service provider REST client service provider CICS, MQ, DB2 plan to ship further service provider implementations for deployment with z/os Connect EE SMF89 registration & usage records
API mapping model IBM z/os Connect Enterprise Edition API requests API packages, mapping and transformation Consumer view /myapi/resource/{id} HTTP Headers + JSON Consumers can use SWAGGER to generate API client code POST GET PUT DELETE z/os Connect EE V2 JSON / SoR xforms Create-service Read-service Update-service Delete-service API package SoR z-asset A z-asset B z-asset C Discover APIs with SWAGGER description Export API (.aar) Import (.sar) Service archive z/os Connect EE API editor SoR-specific utilities containing e.g. CICS WSBind, IMS meta-data
Demo z/os Connect 2016 IBM Corporation Page 11
API Connect Powers Digital Applications Create Run and existing or s, regardless of back end language or technology Microservice App Create Run Interaction API IBM z Create, Run, and new Interaction APIs Or ESB Create, Run, and new Microservices in Node.js or Java Web Service
API Connect: An Integrated Experience across the API Lifecycle All components are integrated and aware of each other; Changes in one stage of the API lifecycle are automatically reflected in other components of API Connect Advanced Developer Portal API r Gateway { API } Deploy, monitor & scale components together for optimal performance API Spec Microservice App Runtime r Unified user experience across the API lifecycle Runtime Or
IBM API Connect: Capabilities Delivered Rapid model-driven API creation Datasource to API mapping automation Standards-based visual API spec creation in Swagger 2.0 Local API creation and testing On-cloud & on-premises staging of APIs, Plans & Products Create Run Node.js & Java Microservice runtime Node.js & Java integrated runtime management Enterprise HA & scaling On-cloud & on-premises staging of Microservice applications Policy enforcement Enterprise security Quota management & rate limiting Content-based routing Response caching, load-balancing and offload processing Message format & transport protocol mediation API discovery API, Plan & Product policy creation API, Plan & Product lifecycle mgmt. Self-service, customizable, developer portal Advanced Analytics Subscription & community mgmt.
IBM API Connect: Where does it fit? APIC managed Microservices Traffic Consumer (Systems of Engagement) Provider (Systems of Record) External App Developer Mobile & Web Apps Partner App Developer Internal App Developer Business Partner Apps API Discovery API, Plan, Product, Policy Creation API, Plan, Product Version & Lifecycle ment Self-service App Developer Portal API Monitoring & Analytics Subscription & Community ment Create & Run (Node / Java) Develop & Compose Microservices Connect Microservices to data sources Build, deploy, scale Microservices Monitor & debug Microservices Unified Node & Java Runtime Mgmt Data Store Cloud Service API Gateway Enterprise Internal Apps Internet of Things API Policy Enforcement Enterprise Security Traffic control & mediation Workload optimization Monitoring/Analytics Collection API Traffic Application Server ESB / Middleware Deployment Options: Bluemix Public, Bluemix Dedicated On Premises or Customer Cloud z System / Legacy Apps
Demo - API Connect & z/os Connect 2016 IBM Corporation Page 16