Azure Logic Apps The big picture API Apps, Logic Apps & API Management
Hyper-scale Agility Insight
RICH EXPERIENCES BREADTH OF DEVICES { }
One integrated offering WEB APPS Web apps that scale with your business MOBILE APPS Build Mobile apps for any device LOGIC APPS Automate business process across SaaS and on-premises API APPS Easily build and consume APIs in the cloud
Easily use cloud or custom APIs: Dozens of built-in APIs for popular SaaS An ecosystem of APIs for any need API APPS Create, consume and host APIs more easily Create and publish custom, reusable APIs Visual Studio tooling with one click publish and remote debugging Automatic client SDK generation for many languages
Swagger
Swagger OpenAPI Specification
Azure API App - Gateway
Demo: OpenAPI Specification
New Logic Apps for easy automation No code designer for rapid creation Dozens of pre-built templates to get started LOGIC APPS Automate SaaS and on-premises systems Out of box support for popular SaaS and onpremises apps Use with custom API apps of your own Biztalk APIs for expert integration scenarios
1. 2. 3.
RESOURCE MANAGER LOGIC APPS
RESOURCE MANAGER LOGIC APPS
Demo:
Demo:
Experimental demo:
Logic Apps Workflow definition concepts { } "parameters": {... }, "triggers": {... }, "actions": {... }, "outputs": {... }
Parameters Re-using values, or even complex objects, throughout the definition, which makes it easier to comprehend. Separate out config from the definition itself, making sharing easy, as well as across different environments. For example, if you have a test environment and production environment "parameters": { "<parametername>": { "type": "<type-of-parameter-value>", "defaultvalue": "<optional-default-value-of-parameter>", "allowedvalues": [ "<optional-array-of-allowed-values>" ] } }
Triggers 3 types of triggers: Manual user invokes the workflow directly Push using a webhook on the workflow Polling can check an endpoint on a fixed interval to check status. Can give each polling call the state of the workld from the previous call "<name-of-the-trigger>": { "type": "Http ApiApp 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>" ] }
Actions Actions can call into: API Apps, Direct HTTP endpoints, Other workflows Actions are where you define conditions and repeat Actions can have custom a custom retry policy By default, retries 4 times separated by 20 seconds, now fully configurable by the user Coming soon: do-until Similar to repeat but instead of a fixed list, you define a condition that s evaluated on each iteration "<name-of-the-action>": { "type": "Http ApiApp Workflow", "conditions": [ "<array-of-pre-conditions>" ], "repeat": "<array-to-repeat-over>", "inputs": { "<action-specific-inputs and retry policy>" } }
What about BizTalk?
BizTalk API Apps Validation Batching/Debatching Format Conversion (XML, JSON, FlatFile) Extract Transform Mediation Patterns (Request Response, One Way etc.) Message Routing Business Rules Trading Partner Management B2B - AS2/X12/EDIFACT
EAI Features ABS Logic XML Transformation Validation Content Based Routing Request Response AD Auth OAuth Flat File JSON XML Connector Extensibility Custom Code ABS = Azure BizTalk Services Logic = App Services (BizTalk + Logic) B2B Features ABS Logic AS2 / X12 / EDIFACT Agreement Decoupling Batching / De-batching Archiving Transform Trading Partner Management (API & Portal Vertical Extensibility Tracking Customer Code Rules Features ABS Logic Vocabulary Policy Sources (XML only today) Test Policy Browser Rule Editing Workflow Features ABS Logic Long Running Browser Designer Control Flow Instance Management Tracking Large Messages Config Support Expressions Other Features ABS Logic OOB Connectors Marketplace Hybrid Connectivity Custom Code Isolation Unified Portal Auto Update with Opt Out
BizTalk vs Azure
Hybrid Connections Corporate network Web Sites Microsoft SQL Server Hybrid Connection Hybrid Connection Manager Other published resources Mobile Services
Golden tip! Use what you need, nothing more. (Real life) example: CheapAPI
API Apps recent changes Simplified Align with Web & Mobile Apps Auth, CORS, APImetadata moved into App Service
API Apps recent changes API Apps no longer have a gateway Bring API as is (any language / model) No need to redeploy API if it already ran as Web or Mobile app
New API App features Direct AAD support, no client SDK code needed. Service principal token support for headless access (no Zumo handling code needed) Deferred authorization
Successful and manageable API s
TTFSC Time To First Successful Call
Checklist for API publishers Developers Protection Policies API Management Metrics
AZURE API MANAGEMENT
XML JSON JSON - XML QUOTA THROTTLING CACHE
DEMO Publisher Portal
DEMO Developer Portal
PowerApps
valjac@microsoft.com @valeryjacobs