Mobil Application and Mainfram Intgration Russll Bonnr IBM 04/11/2015 Sssion MH
Agnda Businss drivrs for th API Economy Mobil, Cloud and Improving consumability and govrnanc Lvraging z Assts as APIs End-to-nd Architctur and Rols z/os Connct and REST nablmnt Dmonstration Discovry of z basd Srvics Summary and Q&A
Intgrat mobil across th Entrpris Mobil tchnology ladrs know thy must intgrat mobil applications with back-nd systms such as IMS & CICS 74% of CIOs say mobil solutions ar part of thir vision for incrasing comptitivnss
APIs ar a path to nw businss opportunitis Businss modls ar volving Branch Toll-fr Wbsit Wb APIs APIs rprsnt a nw, fast-growing channl opportunity By 2018, 68% of all mobil apps will b powrd by API s By 2016, 50% of B2B collaboration will tak plac through Wb APIs Sourcs: Gartnr, Prdicts 2012: Application Dvlopmnt, 4Q, 2011; Gartnr, Govrn Your Srvics and Manag Your APIs with Application Srvics Govrnanc, 4Q 2012; Gartnr, Opn for Businss: Larn to Profit by Opn Data, 1Q 2012
2015 IBM Corporation
77% of th Top 50 apps connct to a backnd srvic
Businss Drivrs for API Managmnt for z Systms IBM z Systms clints hav mad a significant invstmnt ovr a long priod of tim in dvloping many valuabl application assts. Irrspctiv of th starting point, th sam APIs will b ffctiv for all scnarios A. Mobilizing mainfram assts Mobil app rquirs accss to backnd srvics Businss rquirs th ability to publish ths srvics to mobil app dvloprs Businss rquirs th ability to monitor and manag usag of backnd srvics by nw mobil applications B. Cloudifying nw applications Cloud app rquirs accss to backnd srvics Businss rquirs th ability to publish ths srvics to (intrnal and xtrnal) app dvloprs Businss rquirs th ability to monitor and manag usag of backnd srvics by nw cloud applications C. Improving consumability and accss control to xisting assts Businss rquirs controlling workload and gaining visibility for chargback and accountability Businss rquirs agility in modifying xisting assts without having to rgrssion tst th ntir st of applications Quick accss to data trappd in mainfram assts D. Participating in th API Economy Mobil app rquirs accss to backnd srvics Businss rquirs th ability to monitor and manag usag of backnd srvics by nw mobil applications
Businsss ar transforming thmslvs to participat in th API conomy How do you rapidly and scurly xpos your businss to this dvlopr cosystm? IBM API Managmnt Expos businss srvics scurly as APIs to dvlopr communitis, and analyz API usag Provid slf-srvic API portals to xtrnal/intrnal app dvloprs Manag & monitor th ntir API platform Off-prmis On-prmis SaaS privat Off-prmis privat Hybrid
Why API Managmnt? Businss challngs addrssd with APIM in xposing z basd srvics/assts Mobil Applications Cloud APIs Cloud-basd Srvics On-Prmis Entrpris APIs E n t r p ri s S r v i c s CICS IMS WAS TPF Mobil, Cloud and Third-party Applications invoking z Srvics using APIs 1. Consumability of th APIs is Ky: Easir cration and assmbly of API from xisting assts/srvics Visibility of APIs to intrnal and xtrnal dvloprs Easir rgistration (by consuming applications) and st up including managing ntitlmnt 2. Rtaining businss control (.g., nforcing ntitlmnt, accountability/chargback) and gaining businss insight in API invocation Scuring APIs using a scur GW from unwantd xtrnal invocations (mapping to application lvl scurity) and nforcing workload ntitlmnt Businss Monitoring of API accss in gaining businss insight on th us of APIs by xtrnal applications, and for accountability/chargback
Exposing Entrpris Srvics as APIs SOA fforts hav bn drivn by achiving dvloprs productivity gain and nabling rus of functions, i.., focusd on dvlopmnt of srvics. API Managmnt, on th othr hand, is drivn by consumption of ths srvics, i.., improving consumability of ths srvics for both xtrnal and intrnal dvloprs of applications accssing ths APIs, whil also rtaining control by th providrs of ths APIs Improving consumability includs listing APIs in a browsabl/sarchabl catalog, and making it asy to rgistr applications with th right ntitlmnt lvl Rtaining control includs not only nforcing ntitlmnts and managing workloads, but also providing insight basd on accss history and accountability for chargback.
Rols in Thr-tir Architctur for API Cration and Consumption 1. Bob: Dvlopmnt of Entrpris srvics from xisting z assts, making it asy to invok ths applications z application nvironmnts (CICS, IMS, WAS) provids tools and runtims to dvlop and invok Wb and REST basd srvics from applications basd on COBOL and PL/I IT rol (Bob) is knowldgabl about this SW stack 2. Sharon: Dvlopmnt and managmnt of Entrpris APIs for xposing xisting ntrpris srvics Addrssing consumption and govrnanc of APIs Crat an API, discovr a suitabl xisting srvic, and assmbl this API from this srvic 3. Jan: Dvlopmnt of Mobil, Cloud or Third-party Applications consuming APIs Brows catalog and idntify APIs to consum Rgistr an application that will consum a spcific API at a spcifid ntitlmnt lvl Us of dvlopr portal to tst APIs
End-to-End Architctur for Mobil, Cloud and Third-party Applications accssing z Assts/Srvics using APIs Mobil Applications Cloud APIs Accss to systms of rcords and ntrpris data via APIs Cloud-basd Srvics On-Prmis API Managmnt Crat, Publish, Manag & Socializ APIs (IBM API Managmnt) APIM Communication with GW Scurity & Intgration API Gatway (IBM DataPowr Applianc) Entrpris APIs E n t r p ri s S r v i c s CICS IMS WAS TPF 3. Mobil/Cloud App Enablmnt Mobil/Cloud/Third-party Application Dvlopmnt Invoks APIs for accssing SOR 2. Dvlop Entrpris API s API Managmnt Consumability by intrnal and xtrnal dvloprs (cration and look up) Entitlmnt Managmnt (scuring, workload nforcmnt) Usag monitoring & Analytics 1. Dvlop Srvics (Wb or REST) Entrpris Transaction Procssing Srvic Enablmnt Enabls invocation of z applications by rmot applications using standard protocols (WSDL, REST) Convrts SOAP or JSON into application spcific (.g., COBOL, PL/I) data and invoks applications Jan - Mobil app dvlopr Sharon API dvlopr Uss APIs to accss Back-End srvics Dvlops APIs from z basd srvics Bob dvlopr of z basd Srvics Dvlops srvics from CICS, IMS and othr z applications
Lif-cycl of APIs and Srvics API Lif-cycl Srvic Lif-cycl Idntify businss nd for an API Nw asst rquirmnts Idntify a Srvic Consum & Provid fdback by communitis Dfin, Discovr assts & Assmbl an API Consum & provid nw rquirmnts Implmnt a Srvic Asst Discovry Publish to Catalogs/ Dvlopr communitis Tst & Publish an API Intgrat with Businss Procsss Tst, Dploy and Publish a srvic Manag as a product Manag as an asst
Invocation of z Systms basd Srvics API Invocation Crat, Publish, Manag & Socializ APIs (IBM API Managmnt) Scurity & Intgration API Gatway IBM DataPowr Applianc On Prmis API Managmnt Wb Srvics REST Srvics Wb Srvics E n t r p r i s S r v i c s z/os Connct WAS Librty JSON CICS WOLA basd srvics IMS SOAP Gatway z Systms Srvic Dvlopmnt Tool and Enablmnt Runtims Wb Srvics CICS and IMS provids sparat tools and runtims; TPF provids runtim libraris REST/JSON CICS and IMS us common z/os Connct runtim z/os Connct can b stand alon or mbddd
Vry High Lvl Viw of z/os Connct It provids a REST/JSON intrfac handlr on z/os, basd on Librty Profil z/os z/os Logical Partition (LPAR) REST(JSON) 3. z/os Connct 2. WOLA Backnd Systms 1. Librty Profil z/os Mobil Accss 17 3
z/os Connct Mor Dtail It s about gtting REST and JSON into your mainfram nvironmnt in a way that nabls you to bst tak advantag of th assts that xist thr: Whr z/os Connct fits CICS Mobil Ecosystm REST Rprsntational Stat Transfr th us of HTTP URLs that map to a srvic, such as qury account or updat data JSON JavaScript Objct Notation a standard of rprsnting data as a st of nam/valu pairs. This is passd back and forth along with REST rqust/rsponss z/os Connct Librty Profil Srvr Function IBM wrot to run in Librty Profil No charg function providd with licns ntitlmnt to WAS z/os, CICS or IMS IMS Batch Othr DB2* * DB2 support announcd
z/os Connct Summary in On Pictur 1 4 Librty Profil for z/os Data Transform 6 8 CICS 3 RESTful JSON 2 z/os Connct Srvlt srvr.xml Srvic Providrs Intrcptors 5 7 IMS DB2 Batch z/os Connct is softwar function that runs in Librty Profil for z/os. 1 4 2 3 z/os Connct is dscribd and configurd in th Librty srvr.xml fil On part of z/os Connct is a srvlt that runs in Librty Profil z/os. A Srvic Providr is softwar that provids th connctivity to th backnd systm z/os Connct is dsignd to accpt RESTful URIs with JSON data payloads 6 rquird by backnd 5 z/os Connct provids th ability to transform JSON to th layout 7 8 Intrcptors ar callout points whr softwar can b invokd to do things such as SAF authorization and SMF activity rcording Backnd systms supportd ar CICS, IMS, Batch, and DB2 (inplan)
What is Srvic Discovry? Idntifying an xisting srvic for prforming a spcific intndd businss function, and gtting dtaild dfinition of th srvic 1. Idntifying: Sarching, browsing, undrstanding and vntually, slcting a srvic from a st of srvics Qurying to rtriv a list of matching srvics Browsing information on rtrivd srvics Gtting additional dtails as ncssary in undrstanding a srvic Slcting a srvic whn a srvic is dmd a good match 2. Gtting dtaild srvic dfinition: Rtriving various dtails of a slctd srvic Srvic schma and dscription (.g., WSDL or JSON) for API dfinition Gtting additional tchnical dtails for API assmbly including dtails on runtim invocation and scurity protocols
Why is Discovring a Matching Srvic Challnging? Idntifying a srvic or cod for rus Nd to nsur that th cod prforms th intndd functions for th consuming application A good srvic documntation nds to includ not just th tchnical dtails on th intrfac, but also th smantics of th trms, constraints on us, and dscription of businss functions it prforms Evn for cod rus by th sam dvlopmnt organization, nds to look back at th associatd businss rquirmnts, unlss ky information is codifid as associatd businss mtadata,.g., businss classification of transactions, such as Paymnt, crdit, tc.
Discovry and Invocation of z Systms basd Srvics API Invocation Crat, Publish, Manag & Socializ APIs (IBM API Managmnt) Scurity & Intgration API Gatway IBM DataPowr Applianc On Prmis API Managmnt Srvic Dvlopmnt Tool and Enablmnt Runtims Wb Srvics Wb Srvics Discovry srvics REST Srvics Wb Srvics CICS CICS and IMS provids sparat tools and runtims; TPF provids runtim libraris REST/JSON CICS and IMS us common z/os Connct runtim E n t r p r i s S r v i c s z/os Connct WAS Librty JSON NEW NEW CICS WOLA basd srvics IMS SOAP Gatway z Systm Discovry of z Srvics for API Dvlopmnt 1. Gt a list of dployd srvics (Srvic Idntification) - Filtr basd on tchnical and businss srvic attributs 2. Gt schma for a spcific srvic (API Dfinition) 3. Gt additional dploymnt dtails for a srvic (API Assmbly) - E.g., scurity protocol support, invocation uri
APIM and z Systms Srvic Discovry API Managmnt 1. Discovr z SOR z/os Connct (IMS, tc..) Systm z Dvlopmnt Tim Run Tim Cloud / Blumix apps Mobil apps Wb apps 2. Crat API API API API REST Srvic REST Srvic REST Srvic ES IMS SOAP Gatway SOAP Srvic SOAP Srvic SOAP Srvic Othrs : IMS tc
Stp 1: Dfin Srvic Rgistry in APIM Add SOAP Gatway as a custom rgistry in APIM Spcify host, port and th contxt root of th SOAP Gatway srvic rgistry Tst and sav connction
Stp 2: Discovr, sarch and add API for z Systm srvics 2a. Spcify txt to sarch for spcific srvic or lav blank for all srvics Click icon to Sarch 2c. Slct th dsird srvic to crat API 2b. A list of srvic containing th sarch txt IMS is rturnd With th SOAP Gatway rgistry slctd, discovr srvics by clicking th sarch icon You can spcify a txt string to sarch for spcific srvic. Or lav th sarch fild blank to rtriv all srvics. Onc th list of matching srvics rturnd, slct chck box for th dsird srvic to crat API.
Stp 3: API for z Srvic is cratd A nw API is cratd for th IMS SOAP srvic. It is addd to th list of APIs managd by APIM APIs can b publishd and mak visibl publicly for intrnal or xtrnal usrs
Summary Th "API conomy has changd how dvloprs think about building apps, and how organizations dploy softwar in th cloud: Mobil tchnology ladrs know thy must intgrat mobil applications with back-nd systms By 2018, 68% of all mobil apps will b powrd by API s Managing APIs is ssntial for: Enabling z Systms assts for mobil Improving consumability and accss control to xisting assts Participating in th API Economy
Rlatd YouTub Vidos z Systms Mobil Ovrviw: https://www.youtub.com/watch?v=wygafj6mkf8 CICS Transaction Gatway: https://www.youtub.com/watch?v=vxgnak61ycs&list=pljxiwnrncsg- trgtkb97rr_4qt89ywajx CICS Mobil Fatur Pack: https://www.youtub.com/watch?v=sqtlm1jxpbi z/os Connct: https://www.youtub.com/watch?v=yioo1iuvcdc IBM Intgration Bus: https://www.youtub.com/watch?v=osupggmxm18&list=ploba5cuqhfmscrpnqqwmw ymvlbtayh-zu
Thank You
This is th last slid in th dck Sssion fdback Plas submit your fdback at http://confrncs.gs.org.uk/fdback Sssion is MH 31