#1922 rest-push2 ap-im-v6
-
Upload
jack-carnes -
Category
Software
-
view
380 -
download
3
Transcript of #1922 rest-push2 ap-im-v6
![Page 1: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/1.jpg)
Unleash Your Enterprise Systemswith IBM Integration Bus and API ManagementHIA-1922
Jack Carnes - [email protected] Gavin - [email protected] Hybrid Cloud Integration
![Page 2: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/2.jpg)
Please Note:
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.
• 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: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/3.jpg)
Agenda
• Digital transformation– Two speed IT
• What is API Management?
• REST enables APIs
• REST APIs in IIB
• Push REST service to API Management
• Demo5
![Page 4: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/4.jpg)
Digital Transformation
![Page 5: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/5.jpg)
Uber, the world’s largest taxi company, owns no vehicles. Facebook, the world’s most popular media owner, creates no content. Alibaba, the most valuable retailer, has no inventory. And Airbnb, the world’s largest accommodation provider, owns no real estate. Something interesting is happening.http://techcrunch.com/2015/03/03/in-the-age-of-disintermediation-the-battle-is-all-for-the-customer-interface/#.pgfhdr:o98A
Digital Transformation Timeline
![Page 6: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/6.jpg)
Example of digital disruptor: Ride-sharing service Uber
• The entire user experience is unified on a mobile device– Everything about the service is literally at the customer’s
fingertips
• The service operates with remarkable transparency– Up front, you know when your car will arrive, what type of car it
is, the driver’s name, how many miles you have to travel, and the total cost
• The company has eliminated considerable friction from the process
– For instance, the service is billed automatically to your credit card—no need to fumble for cash or even figure out a tip
• The company had a global strategy from day one– More and more travel is global, and consumers want to use
services they’re familiar with and trust anywhere in the world they go
8
![Page 7: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/7.jpg)
Digital Transformation changes the game
Differentiation based on product/service Individualized market segmentation based
on outside-in listening Emphasis on design and marketing
Differentiation based on ecosystem value Dynamic customer understanding based on
constant collaboration Emphasis on rapid recomposition
Traditional economy Everyone to Everyone (E2E) economy
Differentiating capability
API
API
API
API
API
API
Shifting market power from suppliers to consumers
10
![Page 8: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/8.jpg)
Speed & Agility
Digital Ecosystem
Fast Speed
Integration & ScaleCore
Enterprise
Steady Speed
Digital Transformation through Multi-Speed IT
Digital•Timeframe: Days/Weeks•Scope: Strategic•Sponsor: CMO•Budget: Thousands $•Complexity: Low•Buying behavior: Self service
Enterprise•Timeframe: Months/Years•Scope: Strategic•Sponsor: CIO•Budget: Millions•Complexity: High•Buying behavior: Human engagement
![Page 9: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/9.jpg)
Deploy and Integrate Anywhere
CloudOn Premises
Process Interaction
App Access
Systems of Record Systems of Insight
Cloud Services
Eve
nts
AP
IsS
ecur
ityD
ata Data
IoT
Runtimes
API Mgmt
Event Hub
Gat
eway
SecurityMonitoring & Analytics
Info
Partner
Enterprise Integration and Messaging
Systems of Engagement
An enterprise architecture for multi-speed transformationHow to manage the consumption of APIs across the enterprise?
How to provide self-service for internal & external developers?
How to enforce security at runtime?
How to throttle and provide controlled access?
How to introduce change with new versions?
How do I know who is using my service and how much?
![Page 10: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/10.jpg)
Why are APIs Important?
Websites
Connected Appliances
Partners Websites/Sensors
Internet TVs
Smartphones
Tablets
Game Consoles
Connected Cars
Millions 1993 - 2000
“…in 1993 and 1994 we were deeming the web as the next place for FedEx to be.” -Thomas Wicinski, VP Digital Marketing FedEx
APIs
Trillions 2013+
The way we reach customers has evolved
![Page 11: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/11.jpg)
API Success Requires Addressing Needs of Multiple Stakeholders
API Developer How do I assemble
APIs? How do I manage
security? Will the infrastructure
scale? How do I measure
performance?
App DeveloperWhere do I access APIs?How do I understand the APIs?How do I measure success?
API Product ManagerHow can I rapidly release & update my APIs?How do I publicize my API?How do I measure success?
Operations LeadHow do I manage all the API Environments that are being requested?How can I scale each environment?How can I easily find and fix issues?
![Page 12: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/12.jpg)
Existing Enterprise IT Investments
Exposed as APIs
Self Service Consumed by Developers
To Develop Innovative Apps
Delivering Differentiated Customer Experiences
Unleash Enterprise Investments to Disrupt Competitors
API Economy Supply Chain
TH GSIN
www
![Page 13: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/13.jpg)
What is IBM API Management?
![Page 14: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/14.jpg)
A single, comprehensive solution to design, secure, control, publish, monitor & manage APIs
IBM API ManagementFully on-premise, multi-tenant solution, for API
providers
IBM DataPowerAPI Gateway for security, control, integration & optimized access to a full range of Mobile, Web, API, SOA, B2B & Cloud workloads
On-premise private
Off-premise SaaS
Off-premise dedicated
Hybrid
![Page 15: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/15.jpg)
An API Strategy To…
Securely expose systems of record
Apps and data to Mobile, IoT, & hybrid cloud apps
Publish APIs to expand brand reachTap into developer & partner ecosystems
Enable new business
Monetize existing and new data & algorithms
Speed application development
Via self service library of reusable APIs
![Page 16: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/16.jpg)
Easily manage your APIs• Design, secure, control, publish, monitor & manage
Explore API documentation Provision application keys Self-service experience
Developer Portal API Manager Management Console
Define and manage APIs Explore API usage with analytics Manage API user communities
Provision system resources Monitor runtime health Scale the environment
IBM DataPowerEnforce runtime policies to control API traffic
![Page 17: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/17.jpg)
The API Lifecycle
Share APIs with several developer
communities3
Create, assemble and version an API1
Analyze & Monitor API usage 4
Secure, control, test & scale the APIManage Plans
2
![Page 18: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/18.jpg)
API Developer: Create, Secure & Version APIs• Simple interface accelerates iterative API development & deployment
Intuitively define REST or SOAP APIs by importing Swagger 2.0 or WSDL files
Or discover from System z or service registry (WSRR)
Or rapidly assemble APIs via configuration, not coding
Search for, add custom tags to, and mark favorite APIs for easier discovery
Define
API Developer
Assemble
Meter
SecureDeploy, Test & Debug
Monitor
Scale
Version
![Page 19: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/19.jpg)
Advanced Developer Portal capabilities out of the box
![Page 20: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/20.jpg)
API Provider: “Productize” APIs using Plans
Plans “productize” APIs Multiple APIs and
Resources per Plan Version your Plans Apply Rate Limit by Plan or
Resource Reject calls when limit
reached Introduce API Trial Use
Free plans with limitations can be made available alongside premium plans
For example, a free plan might allow anyone to subscribe and a premium plan might require approval
![Page 21: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/21.jpg)
API Provider: Gain Business Insights
Pinpoint key market fluctuations and find correlations related to your business
Analytics for both API provider and application developer:
Analyze performance of APIs
Enables chargeback or billing for API consumption
![Page 22: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/22.jpg)
App Developer: Register application
Register new application
Request security keys with enhanced privacy
Deferred retrieval of client secret
![Page 23: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/23.jpg)
App Developer: Analyze App Performance
Monitor most active applications and APIs
Developer notifications for reaching rate limit thresholds
![Page 24: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/24.jpg)
IT Admin: Manage Overall Environment*
At-a-glance server utilization metrics
Management & Gateway Server utilization - CPU, Memory, Disk
Usage over time available by drilling down
* Not applicable to SaaS
![Page 25: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/25.jpg)
REST Enables APIs
![Page 26: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/26.jpg)
REST APIs
• Lightweight web service API based on HTTP– Much simpler alternative to SOAP based web services
• Describes a set of resources– Set of operations that can be called on those resources
• Operations – Called from any HTTP client (available for most programming languages nowadays.– Easily called from JavaScript code running in a web browser, or application code running on a
mobile device
32
REST API
MobileappsCloud
appsWeb pages
![Page 27: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/27.jpg)
REST APIs – Swagger
• Swagger specification– Open standard for defining a REST API: http://swagger.io/– Swagger 2.0 can be found at:
https://github.com/swagger-api/swaggerspec/blob/master/versions/2.0.md
• Swagger document – Includes definitions of the resources, operations, and parameters in a REST API
– Can include JSON Schema that describes the structure of the request and response bodies to an operation
– Effectively REST API equivalent of a WSDL document for a SOAP web service
• Open source tooling – Interacts with Swagger documents
– Interacts with REST APIs described by the documents
• Integration Bus supports Swagger 2.0– In order to build a REST API in Integration Bus, you must develop and supply a Swagger 2.0 document that
describes the REST API you are going to build.
34
![Page 28: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/28.jpg)
REST APIs In IIB
![Page 29: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/29.jpg)
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/H
TTP
IBM Integration Bus
TCP
/IP
APIAPIAPIAPI
IBM Integration Bus Accelerates Digital Transformation
37
![Page 30: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/30.jpg)
Why use IBM Integration Bus?IBM Integration Bus delivers enterprises with the capability to provide system connectivity and data transformation spanning heterogeneous IT environments.
38
Universal Scalable
Intelligent Simple
“My organization’s applications run on different hardware and operating systems, and are written in different programming languages.”
“I want to integrate new applications and systems to respond to business needs as fast as possible”
“We want to gain insight and have control over in-flight data for more intelligent business decisions”
“We need a solution that can cope with a wide range of hardware, software and virtualized environments”
![Page 31: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/31.jpg)
Using IIB to provide a REST API
• Introducing IIB’s new REST API first class construct– Provides a simple way to receive JSON / HTTP and expose a
REST API– Create a new REST API in the IIB Toolkit– Drag and drop the REST API to deploy – Administer REST APIs as a first class IIB construct in the Web UI
40
![Page 32: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/32.jpg)
REST API Project
• New REST API Project • Schemaless mapping• Invoke integration directly from programs using an API• Generate JavaScript API from a service• Import Swagger 2.0 definitions, clients can use existing Swagger
tools and projects to retrieve Swagger definitions• Patterns for rapid mobile development
41
![Page 33: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/33.jpg)
REST APIs – new project wizard
43
![Page 34: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/34.jpg)
REST APIs – REST API Description view
45
![Page 35: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/35.jpg)
REST APIs – packaging and deployment
• REST APIs can be packaged into a BAR file and 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.
47
![Page 36: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/36.jpg)
Testing REST Service using Test Client
49
![Page 37: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/37.jpg)
REST APIs – web user interface
50
![Page 38: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/38.jpg)
Push APIs to APIm
![Page 39: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/39.jpg)
Where does IBM APIm and IIB fit?*
• IBM Integration Bus provides universal connectivity
• Makes data from Systems of Record available to Systems of Engagement– Typically accessed via a gateway
appliance when exposed publicly
ConnectedAppliances
Partners Websites/Sensors
Internet TVs
Tablets
GameConsoles
Public Cloud
Analytics
Mainframe Back-officeProcesses
CRM
Services
Databases
Private Cloud
DataPowerGateway
Systems of Record Systems of EngagementDMZ
IBMIntegration
Bus
* Assumes on premise deployment
*
![Page 40: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/40.jpg)
Easy Integration with IBM API Management
• Deployed IIB REST APIs can be pushed to API Management from the IIB Toolkit
– Use IBM API Management to promote and monitor the usage of the REST API
– Secure and authenticate access requests from external applications
• 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
54
![Page 41: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/41.jpg)
Push REST interface to APIm from Integration node view
As an integration developer I can use the IIB Toolkit to create an API and load it into the API Management catalog
without writing any code
Push to APIm
55
![Page 42: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/42.jpg)
Demo
![Page 43: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/43.jpg)
Demo Scenario
Soap UIDatabase
DataPowerGateway
IBMIntegration
Bus
ACMEHR
Swagger JSON
DataPowerConfiguration
WLM Policy
Standard Plan
ACMEHR
PremiumPlan
![Page 44: #1922 rest-push2 ap-im-v6](https://reader035.fdocuments.us/reader035/viewer/2022062522/58856f991a28ab491b8b7343/html5/thumbnails/44.jpg)
Thank YouYour Feedback is Important!
Access the InterConnect 2016 Conference Attendee Portal to complete your session surveys from your
smartphone, laptop or conference kiosk.