presenta Overview di Azure Logic Apps Marco Parenzan

  • Slides: 20
Download presentation
presenta Overview di Azure Logic Apps Marco Parenzan – Microsoft Azure MVP www. wpc

presenta Overview di Azure Logic Apps Marco Parenzan – Microsoft Azure MVP www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it

 • Overview di Azure Logic Apps • Architettura di un Workflow • Demo

• Overview di Azure Logic Apps • Architettura di un Workflow • Demo Agenda www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 2

Modellare una applicazione con Paa. S in Azure WEB APPS MOBILE APPS Applicazione che

Modellare una applicazione con Paa. S in Azure WEB APPS MOBILE APPS Applicazione che scalano con il tuo business Applicazioni mobile per ogni dispositivo LOGIC APPS API APPS Automatizza i processi di business attraverso Saa. S e on -premises Costruisci e consuma API nel Cloud www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 3

 • Full audit logs per tutte le operazioni di management • Role-based access

• Full audit logs per tutte le operazioni di management • Role-based access control • Gestione del Deployment con Resource Manager • Resource Management API + resource Power. Shell Logic Apps sono Azure Paa. S Apps Azure Resource manager è un sistema altamente scalabile, geodistribuito che può gestire milioni di risorse su centiaia di migliaia di sottoscrizioni Può solo aggiungere cose ad un resource group (non toglierle) • Supporto on-premise con Azure Stack • Supporta diversi protocolli di autenticazione: AAD, Cert auth, or Basic auth www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it 4

 • Workflow Processo espresso da un flusso (il dato viene elaborato in vari

• Workflow Processo espresso da un flusso (il dato viene elaborato in vari step) Modello per le Logic App • Step fatto di API Il workflow è un orchestratore Un mondo di «microservices» • Connettori API pubbliche (Saa. S) Web. Hooks www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it 5

Learning/Co ding Effort Complexity of problem Workflow Integrazione Biz. Talk Server Leader in integration

Learning/Co ding Effort Complexity of problem Workflow Integrazione Biz. Talk Server Leader in integration on-premises Handles mission critical workloads for hundreds of customers Renowned brand www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it Biz. Talk Services First version of Biz. Talk build ‘cloud-up’ Already running mission critical workload for large customers 6

Connettori (Saa. S APIs) Connettori • • • Box Chatter Delay Dropbox Azure HD

Connettori (Saa. S APIs) Connettori • • • Box Chatter Delay Dropbox Azure HD Insight Marketo Azure Media Services One. Drive Share. Point SQL Server Office 365 Oracle • • • Protocolli (Custom APIs) • • HTTP, HTTPS File Flat File FTP, SFTP POP 3/IMAP SMTP SOAP + WCF Quick. Books Sales. Force Sugar CRM SAP Azure Service Bus Azure Storage Timer / Recurrence Twilio Twitter IBM DB 2 Informix Websphere MQ • • • Azure Web Jobs Yammer Dynamics CRM Dynamics AX Hybrid Connectivity Servizi Biz. Talk • • Batching / Debatching Validate Extract (XPath) Transform (+Mapper) Convert (XML-JSON) Convert (XML-FF) X 12 www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it • • EDIFACT AS 2 TPMOM Rules Engine 7

Esperienza «designer» www. wpc 2015. it – info@wpc 2015. it - +39 02 365738.

Esperienza «designer» www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it 8

 • { • "parameters": { • Struttura JSON di un workflow . .

• { • "parameters": { • Struttura JSON di un workflow . . . • }, • "triggers": { • . . . • }, • "actions": { • . . . • }, • "outputs": { • . . . • • } } www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it 9

 • L’azione è composta da Una precondizione di esecuzione Un loop di esecuzione

• L’azione è composta da Una precondizione di esecuzione Un loop di esecuzione sugli input Azioni "<name-of-the-action>": { "type": "Http|Api. App|Workflow", "conditions": [ "<array-of-pre-conditions>" ], "repeat": "<array-to-repeat-over>", "inputs": { "<action-specific-inputs>" } } www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it 10

 • Funzioni utilizzabili: Collection (first, contains, length, intersection, take, skip…) String (concat, substring,

• Funzioni utilizzabili: Collection (first, contains, length, intersection, take, skip…) String (concat, substring, replace) Logical (equals, less, greater, less. Or. Equals, and, or, not…) Conversion (int, string, float, bool, coalesce, base 64) Math (add, sub, mul, div, mod, min, max, range) Date (utcnow, addseconds, addminutes, addhours, adddays) Linguaggio • Template Language Expression JSON values in template can be literals or expressions (special kinds of strings) Denoted by the '@' symbol: "@exp" Or in form of string interpolation "… @{ exp } …" Expressions evaluation Static (agnostic to execution context): "@sum(3, 5)" Dynamic (can only evaluated at runtime): "@outputs('act 1'). body" www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it 11

 • Supporto per messaggi max 100 Mb Tutti I dati vengono serializzati in

• Supporto per messaggi max 100 Mb Tutti I dati vengono serializzati in JSON • Per gestire blob binari: Salvo su Azure Storage Il dato viene codificato BASE 64 e immesso nel workflow • Tutti I messaggi sono salvati Messaggi Memorizzati con un tempo di retention dipendente dall’ App Service plan www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it 12

 • Servono a differenziare la definizione (del particolare workflow) dalla configurazione (del particolare

• Servono a differenziare la definizione (del particolare workflow) dalla configurazione (del particolare ambiente) Parametri "parameters": { "<parameter. Name>": { "type": "<type-of-parameter-value>", "default. Value": "<optional-default-value-of-parameter>", "allowed. Values": [ "<optional-array-of-allowed-values>" ] } } www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it 13

 • Implicita, quando si referenzia l’output di un’altra azione • Esplicita, quando si

• Implicita, quando si referenzia l’output di un’altra azione • Esplicita, quando si specifica il parametron “depends. On” : “twitterconnector” • Espressione (Esplicita), quando in una condizione di espressione si riferisce a qualche altra azione Dipendenze “expression” : “@equals(actions(‘twitterconnector’). code, ‘Internal. Server. Error’)” www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it 14

 • Definiscono come il workflow può svegliarsi Triggers "<name-of-the-trigger>": { "type": "Http|Api. App|Recurrence",

• Definiscono come il workflow può svegliarsi Triggers "<name-of-the-trigger>": { "type": "Http|Api. App|Recurrence", "inputs": { "<trigger-specific-inputs>" }, "recurrence": { "frequency": "Second|Minute|Hour|Week|Month|Year", "interval": "<recurrence interval in units of frequency>" }, "conditions": [ "<array-of-post-conditions>" ] } www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it 15

trigger state 200: run 202: wait Tipi di Trigger Ricorrenza API Polling POST {

trigger state 200: run 202: wait Tipi di Trigger Ricorrenza API Polling POST { “outputs”: { “par”: 20 } } Web. Hook www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it API App Trigger Manuale 16

DEMO www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11

DEMO www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it 17

 • DEVs Studio 2012) OEC 107 Cloud Computing con Microsoft Azure MOC 10978

• DEVs Studio 2012) OEC 107 Cloud Computing con Microsoft Azure MOC 10978 Introduction to Azure for Developers (studenti) MOC 20487 Developing Windows Azure and Web Services (Visual Studio 2012) MOC 20532 Developing Microsoft Azure Solutions Conclusioni • IT Pro MOC 10979 Microsoft Azure® Essentials MOC 20533 Implementing Microsoft Azure Infrastructure Solutions www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it 18

Over. Net Education info@overneteducation. it www. overneteducation. it Tel. 02 365738 Contatti Over. Net

Over. Net Education info@overneteducation. it www. overneteducation. it Tel. 02 365738 Contatti Over. Net Education @overnete www. facebook. com/Over. Net. Education www. linkedin. com/company/overnet-solutions www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it 19

Marco Parenzan Q&A marco [dot] parenzan [at] 1 nn 0 va [dot] it @marco_parenzan

Marco Parenzan Q&A marco [dot] parenzan [at] 1 nn 0 va [dot] it @marco_parenzan www. facebook. com/parenzan. marco https: //it. linkedin. com/in/marcoparenzan http: //www. slideshare. net/marco. parenzan https: //github. com/marcoparenzan www. wpc 2015. it – info@wpc 2015. it - +39 02 365738. 11 - #wpc 15 it 20