Book Image

Learning IBM Bluemix

By : Sreelatha Sankaranarayanan
Book Image

Learning IBM Bluemix

By: Sreelatha Sankaranarayanan

Overview of this book

IBM Bluemix is an open standard platform for building, running, and managing applications on the cloud. With Bluemix, developers can build innovative applications using various compute options and value added services , developers can also manage the application lifecycle using the platform provided DevOps services. Learning IBM Bluemix will take you on a journey from the basics of IBM Bluemix to working with the platform to developing and deploying of modern applications. The sample application use cases employed in the book will introduce you to the transformative nexus of cloud, mobile, and security, all enabled through capabilities provided out-of-the-box by IBM Bluemix. By the end of the book, you will have understood the benefits and use cases for IBM Bluemix, and will possess the skills to further explore the platform and thus develop, deploy, and secure your own innovative, new-age applications.
Table of Contents (16 chapters)
Learning IBM Bluemix
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
2
Building and Deploying Your First Application on IBM Bluemix

Extending the application


We will now look at how easy it is to extend your Node-RED application. To extend the application, we will use a Cloudant NoSQL DB node in flow, so that when the temperature exceeds the critical threshold, there is a database entry made in your configured Cloudant database.

Complete the following steps to extend this application:

  1. Add a Cloudant NoSQL DB service instance using the procedure we have discussed in previous chapters to add any service instance on Bluemix.

  2. Once the Cloudant NoSQL DB service instance is added to your Bluemix organization and space, you will see it listed in your dashboard, as shown in the following screenshot:

  3. Go to your application route and go to the flow editor.

  4. Drag and drop the cloudant node from under the storage category in the palette to your flow editor.

  5. Remove the wiring of the template node named  danger to the debug node.

  6. Wire the output node of  danger to connect to the cloudant input node.

  7. Double-click on the cloudant node to configure...