22
World ® ’1 6 PreCon Ed: Integration Val Huber, Consulting Engineer, CA D03X103LV DEVOPS

Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

Embed Size (px)

Citation preview

Page 1: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

World®’16

PreCon Ed:Integration

ValHuber,ConsultingEngineer,CA

D03X103LV

DEVOPS

Page 2: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

Page 3: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

Integrationwithon-premisesandpartnersystemsisakeybenefitofAPIservers. APIsnotonlyprovideforomni-channelAppEconomybusiness,buttheyalsoenablepartnerstoself-servetheirowninformation(e.g.,accountinformationsuchasaddressesandcontacts,currentagreementsofrecord,etc).Inthissession,gethands-onexperienceandlearnhowto:

– CreateAPIsthatspanmultipledatabases– ProcessandcreateWebhooks tointegratebetweenon-premise and

partnersystems– fullparticipationintheAppEconomy.

Nopre-knowledgeisrequired. YouwilllearnhowtocreateanAPIserverthatexposesAPIsforpartnersandmobileApps,enforceslogic,createsWebhooks forpartneri integration.

ValHuber

CAConsultingEngineer

Page 4: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

WHYAPIS

WHAT’STHEPROBLEM

OURAPPROACH

WHEREAREWENOW

INTEGRATIONSCENARIOS:DATABASE,SYSTEMS

1

2

3

4

5

SUMMARY6

Page 5: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

APIServers…EnablingtheAppEconomyWiththeAgility toCompete

Web

Mobile

Partners

WebHooks

DBsAPI

Server

OmniChannelBusiness

Shippers,Suppliers

1Integration

3

2

Logic

Page 6: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

APIServers– WayMoreThanRestEnterprise-classAPIs…NotToys

Logic

Integration

DataAndtherealworkishere

NestedDocumentsPaginationOptimisticLockingAPI

Page 7: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

APIServers…fortheAppEconomyConventionalApproachProvides…Stubs?!!

Web

Mobile

Partners

WebHooks

DBsAPI

Server

OmniChannelBusiness

Shippers,Suppliers

1Integration

3

2

LogicRaml,SwaggerStubsRestify Schema(?) YourCode

Goes..Where?

Page 8: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

APIServerAgilityfortheAppEconomy

Web

Mobile

Partners

WebHooks

DBsAPI

Server

OmniChannelBusiness

Shippers,Suppliers

1Integration

3

2

Logic

ReactiveLogic

IntegrationLogic§ Webhook Creation§ Webhook Processing§ SalesForce,SAP,…

APILogic- Automated

ClientLogic§ Read/Write§ Display§ MobileAppServices

Page 9: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

WhereAreWeNow

1. StartLAC3/Start.bat

2. StartChrome– clickbookmark

Alreadyinstalled(JDK,unzip)– togetstarted…

Page 10: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

HowThreewaystostart;stayparallel;iterate

Developers

BusinessUsers

ExistingDatabase

NewDatabase

Create/Customize

API

ReactiveLogic&Security

CustomClientDev

CreateDBServer

DBCoding Parallelized

DevelopmentActivities

Iterate

Bottom-Up

Top-Down

Code-First

Northwind

Page 11: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

IntegrationStrategiesBothStrategiesMakeSense

§ SystemsIntegration– ETL:Extract,TransferandLoad– ForExternalSystems– KeyAspects

§ Mapping/Transformation§ Transport§ Push(“webhook”)vs.Pull§ Scope(incrementalvsmassive)

§ DatabaseIntegration– Multi-DatabaseAPIs– ForInternalSystems– KeyAspects

§ Mapping/Transformation§ Performance

ü Faster

ü NoConsistencyIssues

Page 12: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

LabObjectives

§ DatabaseIntegration:Multi-DatabaseAPIs

§ SystemsIntegration:ProcessPartnerRESTfulRequests

§ SystemsIntegration:SendPartnerRESTfulRequests

FollowalongwiththeInstructor

Page 13: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DatabaseIntegration

DifferentServers

DifferentServerTypes

OptimizedCross-DBJoins

Page 14: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ProcessPartnerRESTfulRequests

Point/clickmappingandtransformation

NestedDocumentModel

ActivatesUnderlyingLogic

Page 15: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ReactiveLogic(triggeredbyPOST)

40XMoreConcise*

Conventional:~500LinesofCode

LiveAPICreator:13Rules

*BasedonCA’sinternaltestingandcustomerinterviews.

Page 16: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

SendPartnerRESTfulRequests

AutomaticObjectModel

Discovery– CodeCompletion

Point/clickmappingandtransformation

Extensibility– LoadableLibraries

Self-ServiceWebhook Registration§ SecurityMakesitSafe§ Webhook Processing

Page 17: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ReactiveLogic

EnableInstantBusinessRelationshipsAPIsShareLogic.Automatically.

APILogicPoint/Click

AutomaticallyInvokedforallAPS

Agility:40XMoreConcise*

Maintenance:automaticallyordered

*BasedonCA’sinternaltestingandcustomerinterviews.

Page 18: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ManagingYourAPIsAgilityfortheAppEconomy

Web

Mobile

Partners

WebHooks

DBsAPI

Server

OmniChannelBusiness

Shippers,Suppliers

Gateway§ Security(SSO)§ Throttling§ Transformation

Portal§ Discovery§ Documentation

Page 19: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

InstantBusinessPoint/ClickWebhook Creation

InstantWebhook Publish

ResourcesAutomateMappingandTransformation

AutomaticLogicReuse

IsThisAgile?StubsforEnterpriseClassAPIs

CodeBusinessLogic

CodeIntegrationLogic

ERPConnectivity

LiveAPICreatorAPIs:Point/Click

Logic:Reactive(40X)*

Integration:DBs,Systems

Connectivity:SalesForce,…

APIServers– IntegrationfortheAppEconomyIdeal:InstantBusinessRelationships

*BasedonCA’sinternaltestingandcustomerinterviews.

Page 20: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

RecommendedSessions

SESSION# TITLE DATE/TIME

DO3T13TV DatabaseDesignTakesanExpert 11/17/2016at02:00pm

DO3T14T DomainLogicRequiresDomain-SpecificCode 11/17/2016at03:00pm

DO3T15TV Myth:LowCodeisaToy 11/17/2016at03:45pm

Innovation,EmpoweringAgilityfortheAppEconomy

http://www.ca.com/us/trials.html

Page 21: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?

Page 22: Pre-Con Ed: CA Live API Creator: How to Integrate Enterprise Data for Mobile Apps

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Thankyou.

Stayconnectedatcommunities.ca.com