News

Create a Springboot project and deploy it to cloudControl

In this blog entry we will learn how to create a simple Springboot project and deploy it to cloudcontrol.
It provides a REST server with SpringData and MongoDB as storage.

The web application will let us create a person with a first and last name, find a person by it’s last name as well as find all persons. The data is served as JSON or HTML.

To make our app cloud ready we will adjust the settings and deploy it to cloudControl.

I don’t want to read, gimme sources!

Create the build file

We will Gradle as our dependency and build management system. Create a build.gradle file with the following contents

buildscript {
ext {
springBootVersion = '1.1.5.RELEASE'
}
repositories {
maven { url "http://repo.spring.io/libs-snapshot" }
mavenLocal()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}

(mehr …)

2017-05-05T15:16:36+00:00 18. August 2014|News|