In this post I’ll demonstrate how to, run a Java Spring Boot application on Bluemix Kubernetes that accesses a Bluemix MySQL service and uses the Spring @Transactional annotation to rollback or commit transactions. Securely configure the MySQL service credentials using Kubernetes secrets. Use the Spring Cloud Kubernetes framework to access the secrets as standard Spring config properties.
In this post I'll show how to access a Compose for Redis caching service on Bluemix from a Spring Boot application. Redis is a popular open-source in-memory database implementing a networked, in-memory key-value store. Spring is a popular open-source application framework and inversion of control container for Java.
Securely Access MongoDB from a Spring Boot App Running on Bluemix Kubernetes Using Kubernetes Secrets
This example builds on my previous post where I showed how to access a Bluemix MongoDB service from a Spring data app running locally. In that simple example the MongoDB credentials were either hard coded in the application or specified manually on the command line.
In this blog post I'll show how to access a Compose for MongoDB database running on IBM Bluemix from a Spring boot application running locally. Spring is a popular open source framework and container for Java applications. MongoDB is a popular open source document oriented NoSQL database that uses JSON-like documents.