Make apps smarter with serverless  

Enhance your enterprise applications using serverless and APIs

Last updated | By Sai Vennam, Joe Sepi, Ashley McClelland, Ram Vennam

Description

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.

Overview

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.

Flow

  1. The web user monitors shipments and weather conditions.
  2. A front-end application serves the web user interface.
  3. A back-end application manages API calls between the front-end and system services.
  4. API Connect provides secure APIs to simplify access to various back-end microservices.
  5. OpenWhisk monitors the weather conditions around retail stores and makes recommendations on additional shipments.
  6. The Enterprise Resource Planning (ERP) application exposes and manages access to enterprise resources, such as Products, Distribution Centers, Retailers, and Shipments.
  7. The Secure Gateway service allows access to on-premises or external cloud data.
  8. On-premises application stores secure enterprise resources.

Related Blogs

IBM Day – Blockchain over Kubernetes and Kubernetes Upstream – Recap of RTP Kubernetes Meetup

Co-Author:
 Tong Li, @email4tong The Research Triangle Park (RTP), NC Kubernetes Meetup is a well-organized event and its members regularly meet every month. It has over 750 registered members. The meetup speakers are SMEs from various companies like Red Hat, IBM, Lenovo, Google and many local startups like CloudPerceptions. The last Kubernetes meetup for 2017...

Continue reading IBM Day – Blockchain over Kubernetes and Kubernetes Upstream – Recap of RTP Kubernetes Meetup

Newsletters: The Curious Developer’s Best Friend

The great thing about software development is that there is always something new to learn! The terrible thing about software development is that there is always something new to learn! Luckily, there are tons of wonderful people sharing their knowledge every week in helpful and entertaining newsletters … and unfortunately, it can be really easy...

Continue reading Newsletters: The Curious Developer’s Best Friend

Kubernetes Upstream Contribution – 5 Do’s and Don’t

There is a good amount of documentation material out there on the Kubernetes community website which every contributor should read. However, if you are a new or intermediate contributor, or thinking to start contributing to Kubernetes upstream, hopefully, this post will help you understand some of the lessons that I have learned. This post discusses...

Continue reading Kubernetes Upstream Contribution – 5 Do’s and Don’t

Related Links