Top Banner
World ® ’1 6 Webhooks & Continuous Feedback with CA Application Lifecycle Conductor Vaughn Marshall Sr. Principal Product Owner MFX57E MAINFRAME
27

Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

Jan 23, 2018

Download

Technology

CA Technologies
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

World®’16

Webhooks &ContinuousFeedbackwithCAApplicationLifecycleConductorVaughnMarshallSr.PrincipalProductOwner

MFX57E

MAINFRAME

Page 2: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ForInformationalPurposesOnlyTermsofthisPresentation

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.Thepresentationprovided atCAWorld2016isintendedforinformationpurposesonlyanddoesnotformanytypeofwarranty.Someofthespecificslideswith customerreferencesrelatetocustomer'sspecificuseandexperienceofCAproductsandsolutionssoactualresultsmayvary.

CertaininformationinthispresentationmayoutlineCA’sgeneralproductdirection.Thispresentationshallnotserveto(i)affecttherightsand/orobligationsofCAoritslicenseesunderanyexistingorfuturelicenseagreementorservicesagreementrelatingtoanyCAsoftwareproduct;or(ii)amendanyproductdocumentationorspecificationsforanyCAsoftwareproduct.Thispresentationisbasedon currentinformationandresourceallocationsasofNovember1,2016,andissubjecttochangeorwithdrawalbyCAatanytimewithout notice.Thedevelopment,releaseandtimingofanyfeaturesorfunctionalitydescribedinthispresentationremainatCA’ssolediscretion.

Notwithstandinganythinginthispresentationtothecontrary,uponthegeneralavailabilityofanyfutureCAproductrelease referencedinthispresentation,CAmaymakesuchreleaseavailabletonewlicenseesintheformofaregularlyscheduledmajorproductrelease.SuchreleasemaybemadeavailabletolicenseesoftheproductwhoareactivesubscriberstoCAmaintenanceandsupport,onawhen andif-availablebasis.Theinformationinthispresentationisnotdeemedtobeincorporatedintoanycontract.

Page 3: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

Today'sapplicationdevelopmentlandscapefrequentlyincludesaheterogeneoustoolsetwithsolutionsvaryingacrossvendorsandevendifferingbetweenteams.Insuchanenvironment,howdoyouensurethecriticaleventsoccurringinonesystemcantriggereventsinanother,creatingaseamlessSDLCoutofthemanyparticipatingtools?Joinusforatechnicaldeep-divetoseehowCAApplicationLifecycleConductorcanbothconsumeandproducewebhooks andothereventsforbothdistributed&mainframeproductstoproduceafullyintegratedSDLC.

VaughnMarshallCATechnologiesSr.PrincipalProductOwner

Page 4: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MainframeDevOpsStrategy

Page 5: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Development Deployment&OperationalTesting

ChallengestoDeliveringInnovations…Continuously

Developers ReleaseTeam

Operations

TESTBUILD DEPLOY

Testers

OPERATE

DeploytoProduction

CulturalBarriers,

LargeCodeMonoliths

ConstrainedEnvironments

TestEnvironmentProvisioningChallenges

ManualTestingandScripting

IncompleteTestCasesandData

Cross-EnterpriseDelivery,

CoordinationandVisibility

LackofIntegratedToolsets

IDLETIME DELAYS

Code/Integrate/Build

Functional&UATesting

PerformanceTestingdefect

RE-WORK

defect defect

DELAYS DELAYS

RE-WORK

Page 6: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

IntroducingMainframeDevOpsSolutionCAoffersSolutionsin4keyareastofosterprinciplesofAgileandDevOps

ContinuousMonitoringContinuousTestingAgileDevelopment ContinuousDeliveryDevelopandmaintainmainframeapplicationswithagileandmodernmethodologies,toolsetsandcodinglanguages

TESTEarly&Often

DEVELOPSwiftly

DEPLOYReliably

OPERATEEfficiently

ContinuousFeedbackLoop

Reducetestcycletimesandcostsofmainframetestingforbettertimetomarketandmainframeeconomics

Removethebarrierstobusinessagilityonthemainframe,withautomationtoreducetimetomarketandmanageskillsgaps

UnifymonitoringandperformancemanagementacrossmobileandmainframeteamsforbetterMTTRandlowerskillscosts

Page 7: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

WebhooksandContinuousFeedback

Page 8: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

WhatareWebhooks?

§ Termcoinedin2007fromtheprogrammingterm“hook”

§ Webhooksareuser-definedcallbackswhichrunusingHttpinfrastructure

§ Theyaregenerallytriggeredbyanapplicationeventsuchasupdatingaformfieldorperformingsomeapplication-specificoperation

Page 9: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

WhatareWebhooks?(Continued)

§ AdministratorsdefineaHttpendpointthatcan“receive”notificationoftheevent

§ Whentheeventoccurs,aPOSTisdonetothedefinedend-point

§ Webhooks haveevolvedasanindustrystandardwayofintegratingapplicationsviaevents

Page 10: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ConsumingWebhooks– Challenges

§ TheonlythingwebhookshaveincommonacrossdifferenttoolsandapplicationsisthatanHttpPOSTisperformedtoaURL

§ ExactlywhatisPOST’disunspecified– itcouldbeanything:– XMLdata– JSONdata– Rawtext– Nothing!

Page 11: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ConsumingWebhooks – Challenges(Continued)

§ Nostandardsonsecurity– TypicallyAPIkeysareusedbutsomewebhook producersmayrequire

additionalconsiderations

§ Typically,systemsintegratorswouldcode&standupsimplewebservicestoconsumethewebhook events– Thisrequirescustomcoding&knowledgeofwebserviceinfrastructure– Thiscanalsoleadtoaproliferationofservices

Page 12: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

IntroducingtheCAALCEventBroker

§ CAALC3.0includesanewcomponentcalledtheCAALCEventBrokertosimplifywebhook consumption– Providesagenericendpointforhandlinganynumbereventstoprevent

serviceproliferation– Multiplemethodsofauthentication– Providesdynamic,rules-basedformattingandprocessingusingworkflow

widgetstoavoidwritingcode

Page 13: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

IntroducingtheCAALCEventBroker(Continued)

§ CAALC3.0includesanewcomponentcalledtheCAALCEventBrokertosimplifywebhookconsumption– LeverageCAALCconnectorsandconnectorworkflowwidgetstoquicklybuild

outintegrations– Extensiblewithcustomhandlerswherespecialprocessingorextremelyhigh

throughputisrequired– IncludesaNoSQLdatabaseforeventcapture&logging

Page 14: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ProducingWebhooks fromtheMainframe

§ Webhook producersupportispresentincommonALMtools

§ Webhook supportisnowcomingtoyourfavoriteMainframetoolsviatheMainframeWebhook Server

Page 15: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

IntroducingtheMainframeWebhook Server

§ TheMainframeWebhook Servermonitorslocationsforfile-based“events”andpoststhemtoawebhook endpoint

§ Eventsaremonitoredtoensuredeliveryandcanberepostedintheeventoffailure

§ Simpleadministrativeinterfaceprovidedtoconfigurethewebhook eventandreview&manageeventdata

Page 16: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Webhook EventsforCAEndevor SCM&Beyond

§ WillinitiallyallowCAEndevor SCMtoproducepackageeventstoallowforautomationaroundoperationssuchaspackageCASTorEXECUTE

§ Eventually,thelistofsupportedproductswillbeextendedtootherCAApplicationDevelopmentProducts

Page 17: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ExtendingtheEventBrokerADevelopersViewofCAALC’sNewestIntegrationCapabilities

Page 18: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ExtendingtheCAALCEventBroker

§ ExtensibilityisprovidedbyallowingforthecreationofcustomerhandlerJarfiles

§ HandlersareconfiguredtobecalledinaparticularorderviatheCAALCEventBrokerconfigurationfile– Simplicityrules– noOSGIplugins,hotswaporother“plugin”capabilities– Handlersinheritfromabaseclassprovidedinthedistribution

§ Allhandlersareequal– whenaneventisreceived,thehandlersarenotifiedintheirconfiguredorder

Page 19: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ExtendingtheCAALCEventBroker(Continued)

§ Eachhandlermaydeclaretheeventhandledduringprocessingandifitdoesso,theeventstopspropagating

§ Otherwise,itpassestothenexthandler

§ AlloperationsarehandledviaHandlerJars.HandlersareprovidedOOTBto:– Authenticatewithvariousmethods– Formateventswithatargetruleflow– Processeventswithatargetruleflow

Page 20: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ExtendingtheCAALCEventBroker(Continued)

§ Fortherulebasedformattingandprocessing,theauthenticationisassumedtohavehappenedsohandlerorderingmatters!– AsecurityContext objectisexpectedtobeplacedinthebindingsbyan

authenticationhandlerpriortotriggeringit– Unlessyouwishtooverridesecurityprovidedbyanotherhandler,

subsequenthandlersshouldnotsetasecurityContext unlessoneisnotyetset

Page 21: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ExtendingtheCAALCEventBroker(Continued)

§ Itisuptotheindividualhandlerstoinspecttheeventbodyand/orqueryparametersanddeterminewhattodo(ifanything).Forexample:– Performanactionsuchascustomauthenticationorpreformatting– Propagatetheevent;or– Endeventprocessing

Page 22: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CAALCEventHandlerAbstractClass

§ Determinesifaneventshouldbehandledpublic boolean doesHandleEvent(String data, Map<String, List<String>> headers, final Map<String, Object> additionalBindings);

§ Processestheeventpublic String handleEvent(String data, Map<String, List<String>> headers, final Map<String, Object> additionalBindings);

§ Determinewhethertopropagateorstopeventprocessingpublic boolean doneProcessing();

Page 23: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

RecommendedSessions

SESSION# TITLE DATE/TIME

MFX112SRoadmapSession:MainframeApplicationDevelopmentPortfolioReview 11/16/2016at12:45pm

MFT148SRoadmapSession:AchieveDevOpsontheMainframeforFasterTimetoMarket 11/16/2016at4:30pm

MFX111SAdvancedTechniquesforInitiatingtheDevOpsJourney[HSBC] 11/17/2016at12:45pm

Page 24: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MustSeeDemos

ContinuousDevelopmentandTestingMainframeTheater

ContinuousDelivery

MainframeTheater

Page 25: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?

Page 26: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Thankyou.

Stayconnectedatcommunities.ca.com

Page 27: Pre-Con Ed: Webhooks & Continuous Feedback with CA Application Lifecycle Conductor

@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.27 @CAWORLD#CAWORLD

MainframeandWorkloadAutomation

Formoreinformationpleasevisitca.com/alc

[email protected]