Skip to content

A sample application for using database services on Cloud Foundry with Spring Framework.

License

Notifications You must be signed in to change notification settings

alphagov/paas-spring-music

 
 

Spring Music

This is a sample application for using database services on Cloud Foundry with the Spring Framework and Spring Boot.

This application has been built to store the same domain objects in one of a variety of different persistence technologies - relational, document, and key-value stores. This is not meant to represent a realistic use case for these technologies, since you would typically choose the one most applicable to the type of data you need to store, but it is useful for testing and experimenting with different types of services on Cloud Foundry.

The application use Spring Java configuration and bean profiles to configure the application and the connection objects needed to use the persistence stores. It also uses the Spring Cloud Connectors library to inspect the environment when running on Cloud Foundry. See the Cloud Foundry documentation for details on configuring a Spring application for Cloud Foundry.

Tutorial

Please follow these step-by-step scenarios to build and deploy Spring Music:

  • Scenario 1: Building and Deploying the app locally.
  • Scenario 2: Deploying the app to Cloud Foundry and binding it to data service.
  • Scenario 3: Dockerize the app and run it as a docker container locally.
  • Scenario 4: Deploying the docker image (e.g. dockerized app) to Cloud Foundry and binding it to data service..

About

A sample application for using database services on Cloud Foundry with Spring Framework.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 48.4%
  • HTML 23.9%
  • JavaScript 19.1%
  • CSS 8.0%
  • Dockerfile 0.6%