15
World ® ’1 6 PreCon Ed: Create an API in 30 Minutes Val Huber, Consulting Engineer, CA D03X100LV DEVOPS

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

Embed Size (px)

Citation preview

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

World®’16

PreCon Ed:CreateanAPIin30MinutesValHuber,ConsultingEngineer,CA

D03X100LV

DEVOPS

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

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 Create, Deploy, Secure and Scale an Enterprise API in 30 Minutes

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

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

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

WHYAPIS

WHAT’STHEPROBLEM

OURAPPROACH

WHEREAREWENOW

TODO:ENTERPRISE-CLASSAPI FORNORTHWIND

1

2

3

4

5

SUMMARY6

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

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 Create, Deploy, Secure and Scale an Enterprise API in 30 Minutes

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Logic

Integration

Data

APIServers– WayMoreThanRestEnterprise-classAPIs…NotToys

Therealworkliesbeneaththesurface

NestedDocumentsPaginationOptimisticLockingAPI

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

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?

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

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,…

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

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 Create, Deploy, Secure and Scale an Enterprise API in 30 Minutes

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

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

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

LabObjectives

§ CreateAPIfromExistingDatabase(Northwind:norules)

§ VerifyOperational

§ VerifyDocumentation

§ DataExplorer– DataMaintenanceApp

§ CustomResource– NestedDocumentResults

§ ReactiveLogic,Security

FollowalongwiththeInstructor

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

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

StrategicBusinessAdvantage

CompeteintheAppEconomy

AgilityAChallenge

APIServices:NestedDocuments,Pagination…

Logic,Security:MajorEffort

LiveAPICreatorEnterpriseAgilityPoint/ClickAPIs

EnterpriseClassServices

ReactiveLogic

JavaScriptExtensibility

APIs– RequiredfortheAppEconomyMobile,PartnerIntegration,SystemsIntegration,HeterogeneousDataAccess

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

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

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

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?

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

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Thankyou.

Stayconnectedatcommunities.ca.com