SnapLogic Best Practices: Event Driven Pipelines

10
SnapLogic Best Practices: Tips and Tricks in 30 Minutes Praneal Narayan Jason Slater

description

In our bi-weekly TechTalks designed for SnapLogic partners and customers, our cloud integration experts talk about tips and tricks for the SnapLogic Elastic Integration Platform not covered in basic training. This week’s TechTalk focuses on event driven pipelines including pipeline parameters and end parameters, as well as creating a triggered pipeline via Tasks. To learn more, visit: http://www.snaplogic.com/techtalk

Transcript of SnapLogic Best Practices: Event Driven Pipelines

Page 1: SnapLogic Best Practices: Event Driven Pipelines

SnapLogic Best Practices:Tips and Tricks in 30 Minutes

Praneal NarayanJason Slater

Page 2: SnapLogic Best Practices: Event Driven Pipelines

2

Agenda

Today’s Topic: Event Driven Pipelines

Pipeline Parameters

Pipeline End Patterns

Creating a Triggered Pipeline via Tasks

Triggering a Pipeline

When Would I…?

Gotcha’s

Testing  

Page 3: SnapLogic Best Practices: Event Driven Pipelines

3

Before We Get Started…..

Documentation

Download the following:– Snaplex

– JSDK

– Snap Packs

– Mac, Linux and Windows Installers

Community Board and Ideas

Don’t forget to use our Developer Community

http://developer.snaplogic.com

Page 4: SnapLogic Best Practices: Event Driven Pipelines

4

Pipeline Parameters

Parameters– Default is no parameters

– Add them under pipeline properties

Parameters are strings

Default value is also useful for testing

Page 5: SnapLogic Best Practices: Event Driven Pipelines

5

Some Typical Pipeline End Patterns

End open to produce data

Beginning open to consume data

– Control data types

– (binary, xml, default is JSON)

Neither end open

Page 6: SnapLogic Best Practices: Event Driven Pipelines

6

Creating a Triggered Task for a Pipeline

Manager >> Project >> Tasks >> +– Select Pipeline (what)

– Select Snaplex (where)

– Select “Triggered”

– Specify default value(s) for parameters

Event-Driven REST endpoint(s) for a pipeline (URL)– Groundplex: proxied cloud + on-premise URL

– Cloudplex: cloud URL

Page 7: SnapLogic Best Practices: Event Driven Pipelines

7

Triggering a Pipeline

Triggered via REST GET/POST Basic Authentication

URL Parameters (tip: URL encode your parameters)

Default payload is JSON; binary, XML support as well

Single input or output view necessary

Page 8: SnapLogic Best Practices: Event Driven Pipelines

8

When Would I…?

Examples, i.e. “When would I…?” SFDC -> SAP, event-based pipeline; triggered from SFDC,

pipeline does the heavy lifting

Expose data from behind firewall (groundplex) and consume it in the cloud without opening hole in firewall

Modernize; SOAP/etc. - expose legacy services as modern RESTful endpoints

Page 9: SnapLogic Best Practices: Event Driven Pipelines

9

Gotchas and Testing

If pipeline parameters change, re-create the task

Use Manager/Tasks to test in your browser, or use a browser plugin like POSTMan to test

Page 10: SnapLogic Best Practices: Event Driven Pipelines

10

Connecting with the SnapLogic Team

@SnapLogic

Facebook/SnapLogic

developer.snaplogic.com

www.snaplogic.com/techtalk