heidloff.net - Building is my Passion
Post
Cancel

Developing OpenWhisk Functions with Spring Boot

I’ve open sourced some code that shows how Apache OpenWhisk functions can be developed with Spring Boot and how the functions, which run in Docker, can be debugged in Eclipse IDEs.

Get the code from GitHub.

Apache OpenWhisk is an open source serverless platform. One of the great OpenWhisk features is the capability to build functions with Docker by basically only implementing one URL endpoint in a programming language of your choice.

The sample describes how Spring Boot code can be developed in local Eclipse IDEs. The code, which runs in a local Docker container, can be debugged directly from the IDE. Via the Spring Boot Developer Tools the code can be changed in the IDE and the changes can be run immediately without having to restart the container.

The advantage of this approach is that the development is done in (almost) the same container that runs in the cloud which minimizes the chances to run into issues because of different environments.

Here is a screenshot that shows how Spring Boot code running in Docker can be debugged in the Eclipse IDE:

image

If you want to try out OpenWhisk in the cloud, you can get an account on the IBM Cloud.

Featured Blog Posts
Disclaimer
The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions.
Trending Tags