Weitere ähnliche Inhalte Ähnlich wie Debugging Serverless for Cloud (20) Mehr von VMware Tanzu (20) Kürzlich hochgeladen (20) Debugging Serverless for Cloud3. Unless otherwise indicated, these slides are © 2013 -2016 Piv otal Software, Inc. and licensed under a
Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Before cloud
4. Unless otherwise indicated, these slides are © 2013 -2016 Piv otal Software, Inc. and licensed under a
Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Then came IaaS—table stakes for digital business
5. Unless otherwise indicated, these slides are © 2013 -2016 Piv otal Software, Inc. and licensed under a
Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Then PaaS, critical for digital transformation
6. Unless otherwise indicated, these slides are © 2013 -2016 Piv otal Software, Inc. and licensed under a
Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Serverless, the future platform for next gen apps
7. Unless otherwise indicated, these slides are © 2013 -2016 Piv otal Software, Inc. and licensed under a
Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Scenarios
...?
8. Unless otherwise indicated, these slides are © 2013 -2016 Piv otal Software, Inc. and licensed under a
Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Serverless application platform components
9. Unless otherwise indicated, these slides are © 2013 -2016 Piv otal Software, Inc. and licensed under a
Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Java Functions
10. Unless otherwise indicated, these slides are © 2013 -2016 Piv otal Software, Inc. and licensed under a
Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Seamless Dev experience with Functions
10
5) Output binding
Azure Services
7) Develop locally and remotely 6) Monitor and improve
3) Develop 4) Execute2) Input binding
Web
Hooks
1) Trigger
Azure Services
8) CI/CD
Exten
sion
12. Unless otherwise indicated, these slides are © 2013 -2016 Piv otal Software, Inc. and licensed under a
Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
In the demo…
Tutorial https://aka.ms/java-serverless
VS Code https://code.visualstudio.com/
Azure Functions Core Tool https://www.npmjs.com/package/azure-functions-core-tools
Maven Extension https://github.com/Microsoft/azure-maven-plugins/azure-functions-maven-plugin
Debugging Proxy Tool https://github.com/Azure/cloud-debug-tools
12
•Remote
Debugging
•Deploy to
Azure
•Run, Test
and Debug
Locally
•Develop an
HTTP
Triggered
Function
Azure Functions
Core Tool
Maven
Archetype/Plugin
Java Support in
VS Code
Azure Functions
extension in VS
Code
Debugging Proxy
Tool
13. Unless otherwise indicated, these slides are © 2013 -2016 Piv otal Software, Inc. and licensed under a
Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Configuration as Code - Annotation
13
14. Unless otherwise indicated, these slides are © 2013 -2016 Piv otal Software, Inc. and licensed under a
Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Triggers and Bindings
14
Type Service Trigger Input Output
Schedule Azure Functions @TimerTrigger
HTTP Azure Functions @HttpTrigger, @HttpOutput
Blob Storage Azure Storage @BlobTrigger, @BlobInput, @BlobOutput
Queues Azure Storage @QueueTrigger, @QueueOutput
Storage tables Azure Storage @TableInput, @TableOutput
More through extendable extensions, see http://aka.ms/java-functions
Type Service
Events Azure Event Hubs, Azure EventGrid
NoSQL DB Azure Cosmos DB
Push Notifications Azure Notification Hubs
Twilio SMS Text Twilio
SendGrid email SendGrid
Graph (Excel, OneDrive, Outlook, AuthTokens) Microsoft Graph
… …
15. Unless otherwise indicated, these slides are © 2013 -2016 Piv otal Software, Inc. and licensed under a
Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Java support in Visual Studio Code
• Visual Studio Code (not Visual Studio )
• Extensible and customizable with 4000+ add-ons
• Cross-platform, runs on Linux, macOS and Windows
• Fast, Keyboard focused experience
• Git commands and terminal built-in
• Rich Java support through extensions
• Language server by RedHat for coding
• Debugger and JUnit by Microsoft
• Spring support by Pivotal
• …
https://aka.ms/java-vscode
15
16. Unless otherwise indicated, these slides are © 2013 -2016 Piv otal Software, Inc. and licensed under a
Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Build apps faster
17. Learn More. Stay Connected.
Do more. Serverless. => aka.ms/java-serverless
17
#springone@s1p
18. Related Sessions
Eric Gamma, Keynote
Beth Massi, Steeltoe.net
Yawei Wang, Enable Authentication and Authorization with Azure Active Directory and Spring Security
Brian Benz, Top Ways to Deliver Your Spring Code to the Cloud
Asir Selvasingh, Rapid Development and Deployment of Scalable Apps Using Spring Boot,
Thursday 12/7 10:30 AM–11:40 AM Room 2004
18
#springone@s1p