What a week! From 23rd to 27th April our Berlin team attended the Jax conference in Mainz, Germany. We had such a great time sharing our fresh perspectives, in the form of a rousing keynote and two informative sessions. The concept of this annual event with over 2,000 participants, revolves around innovating with Java, architecture,...
Serverless technology enhances enterprise applications, enabling you to transform and improve traditional legacy systems. This developer journey shows you how a company can use OpenWhisk to deliver a smart supply chain application to its users.
Acme Freight is a fictional freight logistics company. (For more on Acme Freight, see the developer journey Unlock enterprise data using APIs.) The company wants to improve their shipment process to account for weather conditions on their routes. They’ll implement a microservices architecture application that uses OpenWhisk and the Weather Company APIs to gain insight and improve shipment logistics. The API endpoints revealed and consumed by the microservices are secured and managed in a unified interface through API Connect.
The Acme Freight application is composed of several microservices, including three Cloud Foundry applications and multiple OpenWhisk actions. Acme Freight uses OpenWhisk, an open source serverless platform, to rapidly respond to inclement weather events and identify alternative shipment routes by running an algorithm that matches weather channel storm data against currently running shipments and their destinations.
The front-end application utilizes the OpenWhisk APIs to display these recommendations to the logistics coordinator to approve or reject the recommendations. OpenWhisk enables you to quickly generate APIs to execute business logic without requiring a permanently running server. With an integrated API management layer provided with OpenWhisk, the serverless APIs that get created can be easily secured behind an API gateway with a few clicks, enabling powerful features like rate limiting, API keys, analytics and more.
- The web user monitors shipments and weather conditions.
- A front-end application serves the web user interface.
- A back-end application manages API calls between the front-end and system services.
- API Connect provides secure APIs to simplify access to various back-end microservices.
- OpenWhisk monitors the weather conditions around retail stores and makes recommendations on additional shipments.
- The Enterprise Resource Planning (ERP) application exposes and manages access to enterprise resources, such as Products, Distribution Centers, Retailers, and Shipments.
- The Secure Gateway service allows access to on-premises or external cloud data.
- On-premises application stores secure enterprise resources.