image:https://travis-ci.org/lreimer/cloud-native-javaee.svg?branch=master["Build Status", link="https://travis-ci.org/lreimer/cloud-native-javaee"] image:https://img.shields.io/badge/license-MIT%20License-blue.svg["MIT License", link=https://github.com/lreimer/cloud-native-javaee/blob/master/LICENSE"]
= Cloud Native Java EE Showcase
This showcase demonstrates how to build a cloud native application using Java EE and selected open source components from Netflix OSS. The individual parts will later be deployed and run using Docker, Kubernetes and DC/OS.
image:architecture.png["Showcase Architecture"]
== Build instructions
In order to compile and run the examples you do not need much. A recent JDK8 needs to be available in your SEU.
$ ./gradlew clean build
== Running the Cloud Native Java EE showcase
=== Locally
The showcase can be run on your local machine as well as using Docker Compose, Minikube or Minishift.
$ docker-compose up -d --build
=== Google Container Engine
kubectl
installed, either using gcloud
or using brew
et.al.$ gcloud config list project
$ gcloud config set compute/zone europe-west1-b
$ gcloud config set container/use_client_certificate False
$ gcloud container clusters create cloud-native-javaee --num-nodes=5 --enable-autoscaling --min-nodes=5 --max-nodes=7
$ gcloud container clusters describe cloud-native-javaee
$ gcloud auth application-default login
$ kubectl cluster-info
Once you are done, remember to delete the cluster again!
$ gcloud container clusters delete cloud-native-javaee
== References
== Maintainer
M.-Leander Reimer (@lreimer)
== License
This software is provided under the MIT open source license, read the LICENSE
file for details.