Open Access to SOR - IMS UG June 2015 Tokyo

61
Haley Fung IMS SOA Technical Lead IMS Mobile and APIM Development Lead [email protected] Open Access to your IMS System of Record IMS Tokyo RUG 2015 *

Transcript of Open Access to SOR - IMS UG June 2015 Tokyo

Haley FungIMS SOA Technical LeadIMS Mobile and APIM Development [email protected]

Open Access to your IMS System of Record

IMS Tokyo RUG 2015

*

2

IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s sole discretion. Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract. The development, release, and timing of any future features or functionality described for our products remains at our sole discretion.

IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of other IBM trademarks is available on the web at http://www.ibm.com/legal/copytrade.shtml

Other company, product, or service names may be trademarks or service marks of others.

THE INFORMATION CONTAINED IN THIS PRESENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. WHILE EFFORTS WERE MADE TO VERIFY THE COMPLETENESS AND ACCURACY OF THE INFORMATION CONTAINED IN THIS PRESENTATION, IT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. IN ADDITION, THIS INFORMATION IS BASED ON IBM’S CURRENT PRODUCT PLANS AND STRATEGY, WHICH ARE SUBJECT TO CHANGE BY IBM WITHOUT NOTICE. IBM SHALL NOT BE RESPONSIBLE FOR ANY DAMAGES ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO, THIS PRESENTATION OR ANY OTHER DOCUMENTATION. NOTHING CONTAINED IN THIS PRESENTATION IS INTENDED TO, NOR SHALL HAVE THE EFFECT OF, CREATING ANY WARRANTIES OR REPRESENTATIONS FROM IBM (OR ITS SUPPLIERS OR LICENSORS), OR ALTERING THE TERMS AND CONDITIONS OF ANY AGREEMENT OR LICENSE GOVERNING THE USE OF IBM PRODUCTS OR SOFTWARE.

© Copyright International Business Machines Corporation 2015. All rights reserved.

Trademarks, copyrights, disclaimers

Agenda

� IMS 14 ICAL Control Data and SOAP Gateway user requirements

� IMS Mobile and API Management

� Management Console

3

IMS Technical Symposium 2015

IMS 14 ICAL Control Data

5

IMS 14 ICAL Control Data

� User requirement– Allow an additional parameter in the application call list for the DL/I ICAL to pass control

data items to external clients– The control data area may contain any type of user-provided control data

� Business Value– Provide the flexibility for the ICAL user to pass additional information to external clients

in additional to the payload data

Requirement: SOAP Gateway user requirements for ICAL control data

� Support user-provided control data for IMS synchronous callout with SOAP Gateway– Customization of SOAP Gateway outbound message XML header

� Ability to inject installation-specific data into the header of outbound messages, e.g. Security Context, Logging Context, etc.

– Support of multiple endpoints� Different WSDL:PORT specifications in a single WSDL file, e.g. some are enabled for SSL and

some are not.

– Allow overrides of WSDL operations� Overrides destination in the WSDL and converter program name� Relieve the issue based on limited number of OTMA descriptors by allow overrides

– Flexible URL for callout out web services� Part of the URL can be based on runtime input values, for example:� hostname:port/xxx/services and hostname:port/yyy/services

6

IMS Technical Symposium 2015

IMS Mobile, API Management and Mobile/Cloud application

Mobile and API

8

74% of CIOs say mobile solutions are part of their vision for increasing competitiveness

Grow revenues…… While reducing overhead

“$7bn worth of items on eBay through APIs”Mark Carges (Ebay CTO)

The API which has easily 10 times more traffic then the website, has been really very important to us.”Biz Stone (Co-founder, Twitter)

“The adoption of Amazon’s Web services is currently driving more network activity then everything Amazon does through their traditional web sites.”Jeff Bar (Amazon evangelist) / Dion Hinchcliffe (Journalist)

API are self-discoverable services on the web that can be easily consumed by mobile and cloud applications.

Mobile and API

� How can I make my zSystems-based System of Records available for mobile consumption?

� How can I turn my enterprise system services as web APIs for new business opportunities?

� How can I manage and govern APIs with controlled access and charge back?

� How can I easily build a cloud or mobile application to consume enterprise web APIs in an open and standard way?

9

Enterprise Service and API enablement

Service Discovery and API Management

API Consumption from Mobile and Cloud

Cloud APIs

Others

Cloud-based Services

CICSIMSWASTPF

APIs, management and governance

Mobile/Cloud Enablement

Enterprise API Development

System z Service Development

Enterprise APIs

On-Premise APIs

Enterprise Services

Services

API Management

System z

Mobile Applications

System of Engagement System of Record

System z Service DeveloperDevelop SOAP or REST services for IMS, CICS, other z apps

API DeveloperDevelop Enterprise APIs from z services

Mobile Developer Use API to access z services

Shavon BobJane

Mobile/Cloud/Third-party Application Development- Invokes APIs for accessing SOR (System of Record)

API Management- Consumable by internal and external developers (creation and look up)- Entitlement Management (securing, workload enforcement) - Usage monitoring & Analytics

Service Enablement- Enables invocation of z applications by remote applications using standard protocols (WSDL, REST) - Converts SOAP or JSON into application specific (e.g., COBOL, PL/I) data and invokes applications

2. Service Discovery and API Management

3. API Consumption from Mobile and Cloud

Cloud APIs

Others

Cloud-based Services

CICSIMSWASTPF

Mobile/Cloud Enablement

Enterprise API Development

System z Service Development

Enterprise APIs

On-Premise APIs

Enterprise Services

Services

API Management

System z

Mobile Applications

System of Engagement System of Record

BobShavonJane

1. Enterprise Service and API enablement

IMS transactions as Enterprise Services

� Today, IMS transactions can be invoke as SOAP or REST services without IMS application change

– IMS transactions as SOAP services with Enterprise Suite SOAP Gateway– IMS also provides SOAP/REST capability with Websphere and Datapower– NEW: IMS transactions as REST services with z/OS Connect and IMS Mobile Feature Pack

z/OS

IMSMobile apps

Web / Cloud apps

SOAP Gateway

z/OS Connect with IMS Mobile Feature Pack

Datapower

Websphereservers

SOAP

REST

SOAP/ REST

SOAP/ REST

NEW

IMS Mobile

� The IMS mobile strategy provides a strategic and dependable mobile foundation

� Expands IMS ecosystem via delivery of mobile infrastructure

� IMS Mobile Feature Pack (Enterprise Suite 3.1 GA June 2014)– Offer an integrated platform for full discovery, modeling, deployment and execution of

IMS transaction assets for mobile consumption– REST interface with JSON wire protocol– A singular approach for System z clients using WAS, CICS, IMS and DB2 using z/OS

Connect

IMS Mobile Feature Pack

� Enable mobile and cloud clients to access IMS transactions as REST/JSON services– Transform REST/JSON request to COBOL bytes and transform response back to JSON– No change to IMS applications

� Tooling: IMS Explorer for Development to easily create RESTful services from existing IMS transactions

� Runtime: Leverage z/OS Connect and WebSphere Application Server for z/OS Liberty Profile in two package offerings:

– IMS Mobile Feature Pack with embedded z/OS Connect and WAS Liberty Profile– IMS Mobile Feature Pack as a feature installable on top of existing WAS Liberty Profile

Once published, those services are hosted by IMS Mobile for discovery by mobile and cloud application developers

14

NEW! Enterprise Suite 3.1GA 6/2014

IMS Mobile Feature Pack

15

Enable mobile and cloud clients to access IMS transactions as REST/JSON services

z/OS Connect� IBM WebSphere Liberty z/OS Connect – Shipped with WAS, CICS, and IMS

� Unifies z/OS connectors – a common solutions for mobile, cloud, and web

� Simplified integration – Hide complexity of connecting to z/OS using REST

16

Cloud-based Services Enterprise

SystemsIntegration

EnterpriseApplications

EnterpriseData

On-Premise Enterprise APIs Enterprise Transaction Processing

IBM WebSphere

Liberty z/OS Connect

CICS,IMS

Batch,WAS

Cloud APIs

Mobile-Optimized APIs

Systems of Engagement Systems of Record

IMS SPIMS SP

CICS SP

CICS SP

Batch SP

Batch SP

WAS SP

WAS SP

Enable IMS Transactions as REST Services

17

� Using IMS Explorer (E4D), resources that comprise a service are defined and stored seamlessly on the IMS Mobile Server

� Unit testing an IMS Mobile service using E4D is easy and does not require knowledge of JSON

Unit test REST services

2. Service Discovery and API Management

3. API Consumption from Mobile and Cloud

BobShavonJane

1. Enterprise Service and API enablement

Cloud APIs

Others

Cloud-based Services

CICSIMSWASTPF

APIs, management and governance

Mobile/Cloud Enablement

Enterprise API Development

System z Service Development

Enterprise APIs

On-Premise APIs

Enterprise Services

Services

API Management

System z

Mobile Applications

System of Engagement System of Record

On-premiseprivate

Off-premiseSaaS

Off-premiseprivate

Hybrid

Provide self-service API portals to external/internal app developers

Expose business services securely as APIs to developer communities, and analyze API usage

Manage & monitor the entire API platform

Businesses are transforming themselves to participate in the API economy

How do you rapidly and securely expose your business to this

developer ecosystem?

Creating new opportunities by extending customer “reach” by exposing z based core business functions as APIs

Share with

developers3

Create, assemble

and define an API

1

Manage growth &

analyze results

4

Secure & scale

the API

2

1. Defining APIs - Discovering existing services- Adding and importing service

definition- API assembly definition- Testing API definition

2. API Entitlement- Definition of entitlement levels and

rate limits 3. API Security

- Basic authentication, Certificate, OAuth, etc.4. Versioning and promoting APIs

1. Registration and sign in - Configurable Home page and sign

up page2. API documentation- List of APIs, and resources for each

API

3. Registration of a consuming application

- Generation of app id, app secret- Selection of entitlement level for an

API to be consumed- Testing and using APIs- Measuring your API usage -

dashboard

IBM API Management:“A Complete API Management Solution”

IBM API Management with z Systems services discovery

� IBM API Management provides custom registry function for discovering z Systems services

– SOAP services on IMS, etc…– REST services on z/OS Connect

� IMS and API Management– Discover existing IMS SOAP Gateway services

� APIM 3.0.1 or later� Enterprise Suite SOAP Gateway 3.1.0.3 or later� Enterprise Suite SOAP Gateway SOAP Service Technology Preview code

– Discover REST services on IMS Mobile Feature Pack and z/OS Connect� APIM 3.0.4 or later� Mobile Feature Pack with APAR PI34698

Define Service Registry in APIM

� Add SOAP Gateway or IMS Mobile Feature Pack as a custom registry in APIM

� Specify host, port and the context root of the service registry

� Test and save connection

� With the IMS Mobile or SOAP Gateway registry selected, discover services by clicking the search icon

� You can specify a text string to search for specific service. Or leave the search field blank to retrieve all services.

� Once the list of matching services returned, select check box for the desired service to create API.

2b. A list of service containing the search text “IMS” is returned

2c. Select the desired service to create API

2a. Specify text to search for specific service or leave blank for

all services Click icon to Search

Discover, search and add API for z System services

API for z System service is created

� A new API is created for the IMS SOAP or REST service. It is added to the list of APIs managed by APIM

� APIs can be published and make visible publicly for internal or external users

Cloud APIs

Others

Cloud-based Services

CICSIMSWASTPF

Mobile/Cloud Enablement

Enterprise API Development

System z Service Development

Enterprise APIs

On-Premise APIs

Enterprise Services

Services

API Management

System z

Mobile Applications

System of Engagement System of Record

2. Service Discovery and API Management

3. API Consumption from Mobile and Cloud

BobShavonJane

1. Enterprise Service and API enablement

API Consumption

� Once an API is created for the Enterprise service, it can consumed in a standard way by any of the following applications:

– Web application– Cloud application (e.g. IBM Bluemix)– Mobile application (e.g. iOS or Android with IBM MobileFirst)

27

29

Bluemix – Mobile/Cloud applications

IBM API Management and Bluemix� IBM API Management integrates with Bluemix to enable

Bluemix developer to discover APIs in APIM

30

• APIs in APIM can be published and accessible by Bluemixapplications as Custom APIs

IBM Mobile First Platform architectureformerly known as Worklight

Worklight Studio

HTML5, Hybrid, and Native Coding

Optimization Framework

Integrated Device SDKs

3rd-Party Library Integration

Bu

ild E

ng

ine

Pub

lic a

nd P

riva

te A

pp S

tore

s

BlackberrySDK

AndroidSDK

iOS SDK

WindowsSDK

Java ME

Windows 8

1Includes Adapters with support for SAP, SOAP, REST, SQL, JMS,CASTIRON, LDAP & more

Enable mobile devices to connect to IMS Mobile Feature Pack to invoke IMS services and APIs using REST

Mobile app based on IMS REST service

32

System z

IMS Mobile Feature Pack

IMS services

Show50Contacts

phonebookDisplay

phonebookAdd

phonebookUpdate

phonebookDelete

Worklight Server

HTTP Adapter

Show50Contact()

BrowseContact()

CreateContact()

UpdateContact()

DeleteContact()

REST / JSON

Sample screens showing a iOS application calling IMS IVTNO transactions

33

Show50Contacts()

BrowseContact()UpdateContact()

CreateContact()

BrowseContact() DeleteContact()

More information – Mobile� Mobile Feature Pack documentation:

http://www-01.ibm.com/support/knowledgecenter/SS9NWR_3.1.0/ com.ibm.ims.mobile31.doc/mobile_intro.htm

� MobileFirst Platform – Getting Started: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started/

� Technical article on IMS Mobile solution:https://www-304.ibm.com/connections/blogs/systemz/entry/ ibm_announces_mobile_solution_for_accessing_ims_assets_using_rest_and_json?lang=en_us

� Bluemix: http://www.bluemix.net

� IBM API Management: http://www-03.ibm.com/software/products/en/api-management-family

35

Call to Action

� Leverage existing z assets by exposing as APIs� Reach out to z asset owners in exploring scenarios around the three entry points

1. Reach new customers and markets with new applications and solutions accessing core business functions, through business partners

2. Improve experience of existing customers and/or deliver new services with Mobile applications

3. Gain more business control and insight over access to the enterprise services, while improving consumability and simplifying access to z assets

� Team up with enterprise architects and z architects - both from the customer side and IBM – for designing an end-to-end solution architecture

� Work with IBM through POC� Use IBM APIM and z product capabilities in developing API based solution

� Identify/define incremental business scenarios, and try out through POCs

IMS Technical Symposium 2015

Management Console

IBM Management Console for IMS and DB2 for z/OS 1.1

� Provide a single, holistic easy-to use web-based interface

– Provide a complete picture of IMS systems, databases, IMS Connect as well as DB2

– Access from anywhere via the Internet using standard web browsers (zero-install)

– Now available as a separate no-charge product (5655-TAC)

– Continue to extend integration to other Tools and DB2

– Reduced time for problem identification and resolution through tight integration with IMS and DB2 Autonomics

37

Database Healthand Autonomics

Integrated Help

Global Visualization

IMS Dashboards

� Enterprise System View– IMS Resource and IMSPlex discovery– Hierarchical representation starting from the

SYSPLEX to the IMS Resources

� Enterprise Search– Search across the entire enterprise

� Visual Status– Quickly see the status by color for IMS

Resources– Hover and click status for reason codes and

corrective actions

� Filter IMS Resources

� Manage IMS Resources� Start and stop IMS Resources� Multi-select IMS Resources to manage

and update

� Resource Relationships� View IMS resource relationships� At a glance, understand why a

transaction is having a problem

� Customize� Change the column attribute defaults

� Command Console� Submit IMS commands

� IMS Connect and IMS dashboard

38

Discovery

� Minimal configuration � Create an Environment

� Add IMS Connects� Discovery

� IMSPlexes� IMSPlex Members� IMS Connect� IMS � Transactions� Databases� Programs� Routing Codes

39

Discovering.... IMS

Configuration

Discovered PLEX1 & PLEX2

Define Environment

Configure IMS Connect

40

Discovering.... IMS

Discovering

Discovering Resources

41

42

Enterprise View

• Hierarchical view of IMS Resources

• Logically grouped and auto discovered

• Quickly navigate from one resource to another

• Search discovered resources by name• Transactions• Programs• Routing Codes• Databases

• Type-ahead search• Visually display resource location

• SYSPLEX > IMSPlex > IMS

Enterprise Search

43

• View IMS statuses at-a-glance• Start and stop

• Transactions, Programs, Routing Codes, Databases• Start/Stop communication link

• IMSPlex, Datastore, Ports, ODBM, Remote IMS Connect • Update resources graphically

• Batch and single mode• Help panels for reason codes and corrective actions• Filter displayed results

Manage IMS

Start Communication

Stop Communication

Stop Transaction

Start Transaction

44

Manage IMS – Database

Multi-select

Interactive

45

Manage IMS – Resource View

Multi-select

Enterprise Search

Visual Status

Manage Resources

46

47

Integrated Help / Education

Integrated help educates new and experienced DBAs on database concepts and how to interpret charts

• Hover help• Status by color• Help panels

Manage IMS - HelpStatus

Help Panel

Hover Help

48

• Visually see how resources are related� Which database is this program accessing?

• Visually see how communication is established for IMS and IMS Connect� Which ODBM is connected to IMS?� Which ODBM is connected to IMS Connect?� More.....

� Remote IMS Connect� RECON's� Datastores� Ports� XCF Groups� Regions.....

TransDatabase Routing Codes

IMS IMSIMS

IMS IMSIMS

Programs

IMS Resource Relationships

49

Resource Relationship - Transaction

Databases

Transaction Program Routing Code

50

Resource Relationship – IMS Connect

IMS Connect Datastores Ports

IMSPlexes ODBMRemote IMS Connect

51

Resource Relationship – IMS

IMS 2 XCF Group Structures

ODMB Regions RECON

IMS 2

52

53

Messages and Commands Displayed

Dynamic Resource DetectionTabbed Results

Command HistoryEnterprise Command Routing

Print Results54

IMS Command Console – Text View

Grid View

Filtering

55

IMS Command Console – Grid View

Version Specific Attributes

Batch Support

Single Edit

56

Update Resources

Transaction in IMS1 & IMS2

IMSPlex Level Resources

Transactions, Programs, Routing Codes, Databases

57

View Resources from the IMSPlex

Filtered by Commit Mode

58

Filtering Results

Autonomics

� …the essence of autonomic computing is system self-management, delivering better system behavior and freeing administrators from low-level task management.

� Autonomics– Automate the routine collection of data– Automate the simple analysis of this data– Automate the obvious decisions based off this analysis– Automate the straight-forward execution of decisions

� More Autonomics and additional capabilities will be covered in the Tools session

59

More information – Management Console

� IBM Management Console for IMS and DB2 for z/OS documentation:http://www-03.ibm.com/software/products/en/management-console-for-ims-and-db2-for-zos

Summary

� IMS continues to be enhanced and provide new solutions that address the business and technical challenges that continue to evolve on a day to day basis

� Questions?

61