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

Preview:

Citation preview

World®’16

PreCon Ed:Integration

ValHuber,ConsultingEngineer,CA

D03X103LV

DEVOPS

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

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

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

WHYAPIS

WHAT’STHEPROBLEM

OURAPPROACH

WHEREAREWENOW

INTEGRATIONSCENARIOS:DATABASE,SYSTEMS

1

2

3

4

5

SUMMARY6

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

APIServers…EnablingtheAppEconomyWiththeAgility toCompete

Web

Mobile

Partners

WebHooks

DBsAPI

Server

OmniChannelBusiness

Shippers,Suppliers

1Integration

3

2

Logic

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

APIServers– WayMoreThanRestEnterprise-classAPIs…NotToys

Logic

Integration

DataAndtherealworkishere

NestedDocumentsPaginationOptimisticLockingAPI

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?

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

9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

WhereAreWeNow

1. StartLAC3/Start.bat

2. StartChrome– clickbookmark

Alreadyinstalled(JDK,unzip)– togetstarted…

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

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

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

LabObjectives

§ DatabaseIntegration:Multi-DatabaseAPIs

§ SystemsIntegration:ProcessPartnerRESTfulRequests

§ SystemsIntegration:SendPartnerRESTfulRequests

FollowalongwiththeInstructor

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DatabaseIntegration

DifferentServers

DifferentServerTypes

OptimizedCross-DBJoins

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ProcessPartnerRESTfulRequests

Point/clickmappingandtransformation

NestedDocumentModel

ActivatesUnderlyingLogic

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ReactiveLogic(triggeredbyPOST)

40XMoreConcise*

Conventional:~500LinesofCode

LiveAPICreator:13Rules

*BasedonCA’sinternaltestingandcustomerinterviews.

16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

SendPartnerRESTfulRequests

AutomaticObjectModel

Discovery– CodeCompletion

Point/clickmappingandtransformation

Extensibility– LoadableLibraries

Self-ServiceWebhook Registration§ SecurityMakesitSafe§ Webhook Processing

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ReactiveLogic

EnableInstantBusinessRelationshipsAPIsShareLogic.Automatically.

APILogicPoint/Click

AutomaticallyInvokedforallAPS

Agility:40XMoreConcise*

Maintenance:automaticallyordered

*BasedonCA’sinternaltestingandcustomerinterviews.

18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ManagingYourAPIsAgilityfortheAppEconomy

Web

Mobile

Partners

WebHooks

DBsAPI

Server

OmniChannelBusiness

Shippers,Suppliers

Gateway§ Security(SSO)§ Throttling§ Transformation

Portal§ Discovery§ Documentation

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.

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

21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Thankyou.

Stayconnectedatcommunities.ca.com

Recommended