azure integration in production with logic apps and more

64
Sponsored & Brought to you by Azure Integration in Production with Logic Apps and more Alex Murov & Kelvin van Geene http://www.twitter.com/AlexMurov https://nl.linkedin.com/in/oleksandr-murov-a4a31012 https://nl.linkedin.com/in/kelvinvangeene

Upload: biztalk360

Post on 16-Apr-2017

944 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Azure Integration in Production with Logic Apps and more

Sponsored & Brought to you by

Azure Integration in Production with Logic Apps and moreAlex Murov & Kelvin van Geene

http://www.twitter.com/AlexMurov

https://nl.linkedin.com/in/oleksandr-murov-a4a31012 https://nl.linkedin.com/in/kelvinvangeene

Page 2: Azure Integration in Production with Logic Apps and more

Azure Integration SolutionLogic apps and more in Production

Page 3: Azure Integration in Production with Logic Apps and more

Who are we?Kelvin van Geene

Worked in IT for 8 years, 5 for Avanade as Integration Consultant

Main focus: BizTalk and WCF

Page 4: Azure Integration in Production with Logic Apps and more

Who are we?Alex Murov

Working at Avanade for 7 years

Main focus: Azure, BizTalk and Custom .Net Development

Page 5: Azure Integration in Production with Logic Apps and more

Avanade• Joint Venture between

Microsoft and Accenture• Founded in 2000• In 23 countries

Page 6: Azure Integration in Production with Logic Apps and more

What will we share with you today?

Azure App Service

API Apps

Logic App

BizTalk Services

Cloud Services

Service Bus (Queues)

AS2 on Azure BizTalk Services

vs Logic App Connector

Page 7: Azure Integration in Production with Logic Apps and more

What will we share with you today?First steps

First Producti

on Product

Implementation

shift

Introduction of Logic Apps

Specific implementation

s

Lessons learned Future

Page 8: Azure Integration in Production with Logic Apps and more

What will we share with you today?First steps

First Producti

on Product

Implementation

shift

Introduction of Logic Apps

Specific implementation

s

Lessons learned Future

Page 9: Azure Integration in Production with Logic Apps and more

What will we share with you today?First steps

First Producti

on Product

Implementation

shift

Introduction of Logic Apps

Specific implementation

s

Lessons learned Future

Page 10: Azure Integration in Production with Logic Apps and more

What will we share with you today?First steps

First Producti

on Product

Implementation

shift

Introduction of Logic Apps

Specific implementation

s

Lessons learned Future

Page 11: Azure Integration in Production with Logic Apps and more

What will we share with you today?First steps

First Producti

on Product

Implementation

shift

Introduction of Logic Apps

Specific implementation

s

Lessons learned Future

Page 12: Azure Integration in Production with Logic Apps and more

What will we share with you today?First steps

First Producti

on Product

Implementation

shift

Introduction of Logic Apps

Specific implementation

s

Lessons learned Future

Page 13: Azure Integration in Production with Logic Apps and more

What will we share with you today?First steps

First Producti

on Product

Implementation

shift

Introduction of Logic Apps

Specific implementation

s

Lessons learned Future

Page 14: Azure Integration in Production with Logic Apps and more

How it all started About 2,5 years ago

Page 15: Azure Integration in Production with Logic Apps and more

How it all started About 2,5 years ago Integration was required between local systems and CRM Online

Page 16: Azure Integration in Production with Logic Apps and more

How it all started About 2,5 years ago Integration was required between local systems and CRM Online

Assumptions: 1. No Custom Development on CRM side2. SAP-PI will be used as on-premise middleware system3. AS2 connection must be used to integrate with SAP-PI4. Costs for development and operations must be kept to the bare

minimum

Page 17: Azure Integration in Production with Logic Apps and more

How it all started About 2,5 years ago Integration was required between local systems and CRM Online Selection fell on Azure BizTalk Services for

realizing of PoC

Page 18: Azure Integration in Production with Logic Apps and more

How it all started About 2,5 years ago Integration was required between local systems and CRM Online Selection fell on Azure BizTalk Services for

realizing of PoC

so we started building…

Page 19: Azure Integration in Production with Logic Apps and more

SAP-PI On-premise

ERP BI Other LOB System

CRM online

CRM Online

HTTPS connection

CRM OrganizationServiceCRM OrganizationService

Azure Cloud

On-premise

CRM Online

Page 20: Azure Integration in Production with Logic Apps and more

SAP-PI On-premise

ERP BI Other LOB System

CRM online

CRM Online

HTTPS connection

CRM OrganizationServiceCRM OrganizationService

Azure Cloud

On-premise

CRM Online

AS2 Agreement BizTalk Services

Page 21: Azure Integration in Production with Logic Apps and more
Page 22: Azure Integration in Production with Logic Apps and more

BizTalk Services

SAP-PI On-premise

ERP BI Other LOB System

CRM online

XML message

CRM Online

HTTPS connection

CRM OrganizationServiceCRM OrganizationService

Azure Cloud

On-premise

CRM Online

Service Bus (Queue’s)

AS2 Agreement BizTalk Services

Service Bus (Queue’s)

Page 23: Azure Integration in Production with Logic Apps and more
Page 24: Azure Integration in Production with Logic Apps and more
Page 25: Azure Integration in Production with Logic Apps and more
Page 26: Azure Integration in Production with Logic Apps and more

BizTalk Services

SAP-PI On-premise

ERP BI Other LOB System

XML message

CRM online

XML message

CRM Online

HTTPS connection

CRM OrganizationServiceCRM OrganizationService

Azure Cloud

On-premise

CRM Online

Service Bus (Queue’s)

XML message

AS2 Agreement BizTalk Services

Cloud Services

Service Bus (Queue’s)

Page 27: Azure Integration in Production with Logic Apps and more
Page 28: Azure Integration in Production with Logic Apps and more
Page 29: Azure Integration in Production with Logic Apps and more
Page 30: Azure Integration in Production with Logic Apps and more
Page 31: Azure Integration in Production with Logic Apps and more

X

Page 32: Azure Integration in Production with Logic Apps and more

Logic App

Page 33: Azure Integration in Production with Logic Apps and more

Logic Apps

Page 34: Azure Integration in Production with Logic Apps and more

Design simple but effective workflow with ease

What are Logic Apps?

Page 35: Azure Integration in Production with Logic Apps and more

Design simple but effective workflow with ease Initiates based on a Trigger on which Actions are taken

What are Logic Apps?

Page 36: Azure Integration in Production with Logic Apps and more

Design simple but effective workflow with ease Initiates based on a Trigger on which Actions are taken Extensible with Custom API Apps

What are Logic Apps?

Page 37: Azure Integration in Production with Logic Apps and more

Why start with Logic Apps? Simplicity / Flexibility

Page 38: Azure Integration in Production with Logic Apps and more

Why start with Logic Apps? Simplicity / Flexibility Most common adapters are already available

Page 39: Azure Integration in Production with Logic Apps and more

Why start with Logic Apps? Simplicity / Flexibility Most common adapters are already available Azure BizTalk Services deprecation

Page 40: Azure Integration in Production with Logic Apps and more

Advantages over Cloud Services Cost efficient

Page 41: Azure Integration in Production with Logic Apps and more

Advantages over Cloud Services Cost efficient Quick to deploy Start and Stop almost instantly

Page 42: Azure Integration in Production with Logic Apps and more

Advantages over Cloud Services Cost efficient Quick to deploy Start and Stop almost instantly Reusability of components

Page 43: Azure Integration in Production with Logic Apps and more

Advantages over Cloud Services Cost efficient Quick to deploy Start and Stop almost instantly Reusability of components Operations Monitoring in portal UI

Page 44: Azure Integration in Production with Logic Apps and more

Disadvantages of Logic Apps Not easy to retrieve information if something goes wrong Formatting of data in web viewer

Page 45: Azure Integration in Production with Logic Apps and more

Disadvantages of Logic Apps Not easy to retrieve information if something goes wrong Formatting of data in web viewer Simple Visual Studio integration (V1, V2 is better) Settings / Configuration management

Page 46: Azure Integration in Production with Logic Apps and more

Disadvantages of Logic Apps Not easy to retrieve information if something goes wrong Formatting of data in web viewer Simple Visual Studio integration (V1, V2 is better) Settings / Configuration management Still in preview, regular changes

Page 47: Azure Integration in Production with Logic Apps and more

Specific implementations

Page 48: Azure Integration in Production with Logic Apps and more

Master data flowMaster data flow

Logic App

Page 49: Azure Integration in Production with Logic Apps and more
Page 50: Azure Integration in Production with Logic Apps and more
Page 51: Azure Integration in Production with Logic Apps and more

Big Data (volume data) Amount of data involved Process flow

Why not use logic apps Long running processes Timeouts on SQL Vo

lum

e D

ata

Repo

rt F

low

Data Warehouse

Web App –1xPer OpCo

WebJob –Process

Accounts

WebJob –Upsert

Account

Service Bus Queue – New

Account Notification

Message

Storage blob –New Account Object

DocumentDB –1x Account per

Staging/Production 1x Collection Per

OpCo

SQL database –Staging /

Production

SSIS

Web App –API App

Windows App

Page 52: Azure Integration in Production with Logic Apps and more

Sales Orders

Page 53: Azure Integration in Production with Logic Apps and more

Sales Orders

Page 54: Azure Integration in Production with Logic Apps and more

Sales OrdersWindows app

App Back-end(CRM Online)

Azure Service Bus queue

Azure Logic App

SAP-PI( on-premise integration platform)

OpCo FTP location

Azure Cloud

on-premise

E-mail to the disctibutor

OpCo FTP location

OpCo FTP location

Page 55: Azure Integration in Production with Logic Apps and more

Message Validation

Page 56: Azure Integration in Production with Logic Apps and more

Message ValidationAp

p to

Azu

re to

SAP

-PI

App

to A

zure

to S

AP-P

I

Sim

ple

Ord

er C

aptu

ring

Inte

rfac

ing

Mas

ter D

ata

from

App

to S

AP-P

IIn

terf

acin

g M

aste

r Dat

a fr

om A

pp to

SAP

-PI

Inte

rfac

ing

Ord

ers t

o on

-pre

mis

e LO

B sy

stem

s

New AccountIn App back-end

(CRM Online)

Send to SAP-PI

Update AccountIn App back-end

(CRM Online)

Send to SAP-PI

Account Create message is send to

Azure via Azure aware plugin

Service endpoint configuration

Does the message for

account create contains

hsem_externalid

Yes

Ignore

No

Any OpCo specific business

rules?

Yes

Process OpCo business

requerments

No

Need to be encoded as

base64 string?For character

specific issues in SAP-PI

No

Yes

Encode to base64 string

Need to be encoded as

base64 string?For character

specific issues in SAP-PI

Encode to base64 string

Yes

No

Is validation On for this Message

Type and this OpCo

No

Yes

Validate and Send Results to SQL Azure

Database

Is validation On for this Message

Type and this OpCo

Validate and Send Results to SQL Azure

Database

Yes

No

New OrdersIn App back-end

(CRM Online)

Send To SAP-PI

Check if Order Headers have

Status @͞Confirmed A͞B

Yes

No

Get complete orders, their order-

lines and distributors from

CRM.

Send orders in one xml batch file to SAP-PI system

Is the distributor @͞E-mail only B͞reachable?

Filter out all orders for @͞E-mail only B͞

and e-mail them to their specified

addresses

Yes

No

Is validation On for this Message

Type and this OpCo

Validate and Send Results to SQL Azure

Database

No

Yes

Page 57: Azure Integration in Production with Logic Apps and more

Future

Page 58: Azure Integration in Production with Logic Apps and more

Multi project Integration SeparationMulti project Integration Separation• Different types of

integration

Page 59: Azure Integration in Production with Logic Apps and more

Multi project Integration SeparationMulti project Integration Separation• Different types of

integration• Multiple development and

operation teams

Page 60: Azure Integration in Production with Logic Apps and more

Multi project Integration SeparationMulti project Integration Separation• Different types of

integration• Multiple development and

operation teams• Different contracts

Page 61: Azure Integration in Production with Logic Apps and more

Multi project Integration SeparationMulti project Integration Separation• Different types of

integration• Multiple development and

operation teams• Different contracts

Page 62: Azure Integration in Production with Logic Apps and more

Full Logic App Implementation

Page 63: Azure Integration in Production with Logic Apps and more

Full Logic App Implementation