World®’16
PreCon Ed:EnterpriseDataAccess
ValHuber – ConsultingEngineer– CA
D03X105LV
DEVOPS
2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.
Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.
ForInformationalPurposesOnlyTermsofthisPresentation
3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Abstract
ManyorganizationsrelyonEnterpriseApplicationssuchasSalesforce,butneedtointegratesuchdatawithlocallycreateddomain-specificapplications.LearnhowtodothiswithCALiveAPICreator’sconnectivitypackage.
ValHuber
CAConsultingEngineer
4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Agenda
WHYAPIS
WHAT’STHEPROBLEM
SUMMARY
OURAPPROACH
WHEREAREWENOW
CONNECTTOSALESFORCE,JOINWITHLOCALDATA
1
2
3
4
5
6
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
Logic
Integration
Data
API
APIServers– WayMorethanRestEnterprise-classAPIs…NotToys
NestedDocumentsPagination
Optimistic Locking
Therealworkliesbeneaththesurface
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
ClientLogic§ Read/Write§ Display§ MobileAppServices
APILogic- Automated ReactiveLogic
IntegrationLogic§ Webhook Creation§ Webhook Processing§ SalesForce,SAP,…
9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WhereAreWeNow
1. StartLAC3/Start.bat
2. StartChrome– clickbookmark
AlreadyInstalled(JDK,unzip)– toGetStarted…
10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Developers
BusinessUsers
ExistingDatabase
NewDatabase
Create/Customize
API
ReactiveLogic&Security
CustomClientDev
CreateDBServer
DBCoding
ParallelizedDevelopmentActivities
Iterate
Bottom-Up
Top-Down
Code-First
Northwind
HowThreeWaystoStart;StayParallel;Iterate
11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
LabObjectives
§ Configure
§ ConnecttoSalesForce
§ CreateLocalData
§ DefineVirtualForeignKey
§ CustomResourcewithcross-systemJoin
§ TestinRestLab
InstructorDemo
12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CreateSalesForce AccountCreateaDev Account,andObtainTourToken
13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ConfigureDriverJDBCDriver
14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SalesForce DataSourceUsingSalesForce “Dev”Account
15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DefineRelationshipVirtualForeignKey
16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DefineCustomResourceUsingVirtualForeignKey
17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
TestCustomResourceUsingRESTLab
18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
AndLocallyManagedDataCreateDatabasesfromApp
VirtualForeignKeystojoinLocal,EnterpriseData
APIsCanCombineMultipleDBsFreeAppsfromdatalocation,schemanaming
AndMultipleDatabases
IncludingEnterpriseDataCritically,preserveBusinessLogic(notdirectSQLaccess)
APIs– TableStakesfortheAppEconomyWith,AgilitytoCompete
19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
RecommendedSessions
SESSION# TITLE DATE/TIME
D03T20TV APIsandtheAppEconomy 11/16/2016at2:00pm
D03T13TV MythBuster:DatabaseDesignTakesanExpert 11/17/2016at2:00pm
DO3T16TV ReactiveLogicandtheAppEconomy 11/16/2016at3:45pm
Innovation,EmpoweringAgilityfortheAppEconomy
http://www.ca.com/us/trials.html
20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Questions?
21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Stayconnectedatcommunities.ca.com
Thankyou.