Pre-Con Ed: CA Live API Creator: How to Create, Deploy, Secure and Scale an Enterprise API in 30...

Preview:

Citation preview

World®’16

PreCon Ed:CreateanAPIin30MinutesValHuber,ConsultingEngineer,CA

D03X100LV

DEVOPS

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

EveryonetalksaboutAPIsandhowtheycantransformabusiness.ButwherearetheseAPIssupposedtocomefrom?ThestateoftheartforAPIcreationisstilloverwhelminglycode-intensive,andthereforeslow,expensiveanderror-prone.Formanytypesofenterprisesystems,thereisa(much)betterway.Inthissession,youwilllearn:

§ Howtocreateanenterprise-classAPIfromscratchusingCALiveAPICreatorinjustafewminutes

§ Howtocombinepre-defineddatasources,suchasOracle,SQLServerandSalesforce,withcustomdatabasesandarbitrarydata

§ HowtoshapeyourAPIandgiveitsomelogicandsecurity

§ HowtomakeyourAPIavailableatenterprisescale

§ And,becausenothinginthislifeisfixed:- HowtoupdatethisAPIinnotimeflat

Thisisapracticalsession:everythingwillbecookedlivebeforeyoureyes.Nocheating!Attheendofthesession,you'llbegivenanevaluationcopyofCALiveAPICreatorsothatyoucantryitinyourownbusiness.IfyoustillthinkcreatinganAPIisdifficult,thismaybethesessionforyou.

ValHuber

CATechnologiesConsultingEngineer

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

WHYAPIS

WHAT’STHEPROBLEM

OURAPPROACH

WHEREAREWENOW

TODO:ENTERPRISE-CLASSAPI FORNORTHWIND

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

Logic

Integration

Data

APIServers– WayMoreThanRestEnterprise-classAPIs…NotToys

Therealworkliesbeneaththesurface

NestedDocumentsPaginationOptimisticLockingAPI

7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

APIServers…fortheAppEconomyConventionalApproachProvides…Stubs?!!

Web

Mobile

Partners

WebHooks

DBsAPI

Server

OmniChannelBusiness

Shippers,Suppliers

1Integration

3

2

LogicRaml,SwaggerStubsRestify Schema(?)

YourCodeGoes..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§ NestedDocumentModel§ MappingandTransformationLogic§ Pagination,OptimisticLocking§ GeneratedKeyHandling§ Extensible– tags,JavaScript§ SharedServerLogicInvocation

ReactiveLogic§ Multi-TableDerivationsandValidations§ Row/ColumnSecurity§ Extensible– JavaScript,Libraries§ AutomaticObjectModel

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 Parallelized

DevelopmentActivities

Iterate

Bottom-Up

Top-Down

Code-First

Northwind

HowThreewaystostart;stayparallel;iterate

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

LabObjectives

§ CreateAPIfromExistingDatabase(Northwind:norules)

§ VerifyOperational

§ VerifyDocumentation

§ DataExplorer– DataMaintenanceApp

§ CustomResource– NestedDocumentResults

§ ReactiveLogic,Security

FollowalongwiththeInstructor

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

StrategicBusinessAdvantage

CompeteintheAppEconomy

AgilityAChallenge

APIServices:NestedDocuments,Pagination…

Logic,Security:MajorEffort

LiveAPICreatorEnterpriseAgilityPoint/ClickAPIs

EnterpriseClassServices

ReactiveLogic

JavaScriptExtensibility

APIs– RequiredfortheAppEconomyMobile,PartnerIntegration,SystemsIntegration,HeterogeneousDataAccess

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

RecommendedSessions

SESSION# TITLE DATE/TIME

DO3T20TV APIsandtheAppEconomy 11/16/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

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Thankyou.

Stayconnectedatcommunities.ca.com

Recommended