ham-1032 combining the power of ibm api management and … · ham-1032 combining the power of ibm...

33
HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services Carsten Börnert – IBM UK Lab Services

Upload: others

Post on 22-May-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus

Ulas Cubuk – IBM UK Lab Services Carsten Börnert – IBM UK Lab Services

Page 2: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Please Note:

1

• 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. • Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual

throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user’s job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.

Page 3: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Agenda

• Introduction to API Connect and IBM Integration Bus • How to use APIM / API Connect with IBM Integration Bus

• Expose REST APIs from IIB • Expose IIB Integration Services • Use Interaction APIs to combine System APIs

• Summary

2

Page 4: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Introduction to API Connect and IBM Integration Bus

Page 5: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

IBM Integration Bus - Overview

• ESB that connects Systems of Record and Systems of Interaction using

• Integration Services • REST APIs • Applications

• Integration platform • Extensive support for formats and protocols • Extensive support for standards • Built-in support for enterprise applications

• Range of deployment options from on-premise to on-cloud

4

Page 6: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Batch Apps Data Process Packaged App (SAP, PeopleSoft)

Adapter

SO

AP

/HTTP

OD

BC

/JDB

C

MQ

/ JMS

Legacy (CICS / IMS / Z)

File

External Services

RE

ST

/HTTP

IBM Integration Bus

TC

P/IP

API API API API

IBM Integration Bus Accelerates Digital Transformation

5

Page 7: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

IBM API Management v4

design, secure, control, publish, monitor & manage APIs

6

API Manager Define and manage APIs

Explore API usage with analytics

Manage API user communities

Management Console Provision system resources

Monitor runtime health

Scale the environment

Explore API documentation

Provision application keys

Self-service experience

Developer Portal

API Gateway (IBM DataPower)

Enforce runtime policies to control API traffic

Page 8: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Gateway API Manager

Advanced Developer

Portal

Runtime Manager

Or

Microservice App

Runtime

{ API }

API Spec

API Connect v5

Create. Run. Manage. Secure.

Announce 2/16/2016

GA 3/15/2016

Version 5.0

Page 9: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

IBM API Connect: Capabilities Delivered

• API discovery • API, Plan & Product policy creation • API, Plan & Product lifecycle mgmt. • Self-service, customizable,

developer portal • Advanced Analytics • Subscription & community mgmt.

• Policy enforcement • Enterprise security • Quota management & rate limiting • Content-based routing • Response caching, load-balancing

and offload processing • Message format & transport

protocol mediation

• 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

• Node.js & Java Microservice runtime

• Node.js & Java integrated runtime management

• Enterprise HA & scaling • On-cloud & on-premises staging of

Microservice applications Create Run

Manage Secure

Page 10: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Using API Management/Connect with IBM Integration Bus

Page 11: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Different use cases

1. Expose REST APIs from IIB

2. Expose Integration Services from IIB

3. Use Interaction APIs to combine System APIs

10

Page 12: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Expose a REST API from IBM Integration Bus

• Introducing IIB’s new REST API first class construct • Provides a simple way to receive JSON / HTTP and

expose a REST API • Import Swagger 2.0 definitions, clients can use existing

Swagger tools and projects to retrieve Swagger definitions • Create a new REST API in the IIB Toolkit without having to

import a Swagger file (beta) • Administer REST APIs as a first class IIB construct in the

Web UI

11

Page 13: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Simple workflow to implement an API in IIB

1. Import swagger definition into Toolkit 2. Select operation to implement 3. Complete the generated skeleton with standard IIB development

tools 4. Unit test with integrated runtime 5. Package & Deploy 6. Push to API Management

Page 14: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

• Wizard driven • Import Swagger definition • Select resources and operations

Workflow steps (1)

Page 15: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

• Select operations to implement • Add error and timeout handling

Workflow steps (2)

Page 16: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

• Add implementation for operation using standard IIB Development tools

• Unit test in integrated Test Node

Workflow steps (3 - 4)

Page 17: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Workflow steps (5)

• REST APIs can be deployed to an integration server using any of the standard mechanisms – either the Integration Toolkit, the command line, or the Integration Java API.

• Once deployed, a REST API appears in the Integration Toolkit and web administration interface as a REST API, under a new REST APIs category.

16

Page 18: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Easy Integration with IBM API Management

• Deployed IIB REST APIs can be pushed to API Management from the IIB Toolkit

• In IBM APIM, begin by ensuring you have:

– A registered organization and email address for the API owner for logging in to the IBM API Management console

– A sandbox environment defined, and network connectivity

• The IIB REST API is identified by the API Management server using the Swagger Title – REST API is created if it is a new definition

– If it already exists, then the latest revision

is replaced

17

Page 19: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Workflow steps (6)

18

Page 20: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Expose existing IIB Integration Service

19

Integration Services • First class IIB construct for Web

Services • Consistent representation in Toolkit

and WebUI • Imports/Creates WSDL

Page 21: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Simple workflow to proxy a SOAP (Integration) Service

1. Create API in API Management • Import WSDL

2. Configure API • Description • Security • Properties • Implementation

3. Create Plan • Define SLA • Add API operations

4. Publish 20

Page 22: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Workflow steps (1)

21

Create API • Import WSDL

• Add Service

Page 23: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Workflow steps (2)

Configure API

• Description

• Security • Properties • Implementation

22

Page 24: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Workflow steps (3)

23

Create Plan • Create plan

• Define rate limit

• Add operations

Page 25: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Workflow steps (4)

24

Publish • Stage plan

• Select environment

(Sandbox)

Page 26: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Use Interaction APIs to combine System APIs

Interaction APIs

• Invoke one or more System APIs

• Manipulate data • Change data format • Add new logic • Promote reuse

across new applications

25

Web Service

System API

Manage Secure

REST API

System API

Manage Secure

Interaction API

Manage Secure

Create Run

Page 27: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Summary

Page 28: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Services or APIs? – Services with APIs

Services APIs

Business function, coarse grained, discrete task in a process

Business resource, atomic, simple, cacheable

Share business capability across the enterprise Extend functionality, crowdsourcing

Integration between heterogeneous applications Consumable by heterogeneous clients

Share and reuse assets in enterprise Grow ecosystem with maximum reach, maximum access,

Consolidate redundant functionality Enable functionality to evolve

Adhere to common enterprise standards Flexible, low barrier of entry, lightweight

Enterprise /inter-enterprise domain Extra enterprise, Internet of Things

Implementation focus Interface focus

Provider focus Consumer focus

Similar distinction between System APIs vs Interaction APIs

Page 29: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Already Have APIs?

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 System APIs

System API System API

ESB

Web Service

System API

Added Management & Security to protect enterprise assets

System APIs 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?

Vs.

Web Service

System API

Manage Secure

System API

Manage Secure

System API

ESB

Manage Secure

Page 30: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

IBM Integration Bus API Connect Consumer (Systems of Engagement)

Business Partner Apps

Internet of Things

Enterprise Internal Apps

Mobile & Web Apps

Secure API Policy Enforcement

Security & Control Connectivity & Scale

Monitoring/Analytics Collection

Manage API Discovery, API Policy

Management Lifecycle Mgmt & Governance

Self-service App Developer Portal Monitoring & Analytics

Build & Run: System APIs

Develop & Compose APIs based on Swagger Specs,

Develop and Compose Integration Services,

Implement using any data source and data formats. Publish new APIs to API

Connect, Deploy and Scale

z System / Legacy Apps

Provider (Systems of Record)

Application

Data (SQL, NoSQL, other)

Build & Run: Microservices, Interaction APIs

Create and Model API, Consume System API,

Connect API to other data sources, Run & Scale

API Connect & IBM Integration Bus

Page 31: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Notices and Disclaimers

30

Copyright © 2016 by International Business Machines Corporation (IBM). No part of this document may be reproduced or transmitted in any form without written permission from IBM.

U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM.

Information in these presentations (including information relating to products that have not yet been announced by IBM) has been reviewed for accuracy as of the date of initial publication and could include unintentional technical or typographical errors. IBM shall have no responsibility to update this information. THIS DOCUMENT IS DISTRIBUTED "AS IS" WITHOUT ANY WARRANTY, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL IBM BE LIABLE FOR ANY DAMAGE ARISING FROM THE USE OF THIS INFORMATION, INCLUDING BUT NOT LIMITED TO, LOSS OF DATA, BUSINESS INTERRUPTION, LOSS OF PROFIT OR LOSS OF OPPORTUNITY. IBM products and services are warranted according to the terms and conditions of the agreements under which they are provided.

Any statements regarding IBM's future direction, intent or product plans are subject to change or withdrawal without notice.

Performance data contained herein was generally obtained in a controlled, isolated environments. Customer examples are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual performance, cost, savings or other results in other operating environments may vary.

References in this document to IBM products, programs, or services does not imply that IBM intends to make such products, programs or services available in all countries in which IBM operates or does business.

Workshops, sessions and associated materials may have been prepared by independent session speakers, and do not necessarily reflect the views of IBM. All materials and discussions are provided for informational purposes only, and are neither intended to, nor shall constitute legal or other guidance or advice to any individual participant or their specific situation.

It is the customer’s responsibility to insure its own compliance with legal requirements and to obtain advice of competent legal counsel as to the identification and interpretation of any relevant laws and regulatory requirements that may affect the customer’s business and any actions the customer may need to take to comply with such laws. IBM does not provide legal advice or represent or warrant that its services or products will ensure that the customer is in compliance with any law

Page 32: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Notices and Disclaimers Con’t.

31

Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products in connection with this publication and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. IBM does not warrant the quality of any third-party products, or the ability of any such third-party products to interoperate with IBM’s products. IBM EXPRESSLY DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

The provision of the information contained h erein is not intended to, and does not, grant any right or license under any IBM patents, copyrights, trademarks or other intellectual property right.

IBM, the IBM logo, ibm.com, Aspera®, Bluemix, Blueworks Live, CICS, Clearcase, Cognos®, DOORS®, Emptoris®, Enterprise Document Management System™, FASP®, FileNet®, Global Business Services ®, Global Technology Services ®, IBM ExperienceOne™, IBM SmartCloud®, IBM Social Business®, Information on Demand, ILOG, Maximo®, MQIntegrator®, MQSeries®, Netcool®, OMEGAMON, OpenPower, PureAnalytics™, PureApplication®, pureCluster™, PureCoverage®, PureData®, PureExperience®, PureFlex®, pureQuery®, pureScale®, PureSystems®, QRadar®, Rational®, Rhapsody®, Smarter Commerce®, SoDA, SPSS, Sterling Commerce®, StoredIQ, Tealeaf®, Tivoli®, Trusteer®, Unica®, urban{code}®, Watson, WebSphere®, Worklight®, X-Force® and System z® Z/OS, are trademarks of International Business Machines Corporation, registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at: www.ibm.com/legal/copytrade.shtml.

Page 33: HAM-1032 Combining the Power of IBM API Management and … · HAM-1032 Combining the Power of IBM API Management and IBM Integration Bus Ulas Cubuk – IBM UK Lab Services . Carsten

Thank You Your Feedback is Important!

Access the InterConnect 2016 Conference Attendee Portal to complete your session surveys from your

smartphone, laptop or conference kiosk.