In this repo you will find a bunch of microservicey apps that serve the purpose of demonstrating how to build apps that work in a cloud environment. They are a first go at them so assume they are not sufficiently good enough to release anywhere sensible.
This is a super simple implementation of a Eureka Server (Netflix) that is used for service registry and location.
This is a simple greeting app that when started, looks for a Eureka and registers itself as a service. It does not have the capability to look up another service.
This is a java service that when employed will envoke the services of the java-service through the service registry.
All parts of this project work with Gradle. The basic operation for them all is
- Build with
gradle
- Execute with
java -jar build/libs/<name>.jar
- docker rm
docker ps --no-trunc -aq
# to delete all containers - docker stop
docker ps -q
# to stop all running containers docker attach [container name]
to get a command line on the running container
docker-compose up -d
to start the docker container in daemon modedocker-compose down
to stop and remove all the containers
cf delete-orphaned-routes
cf delete app-name
cf delete-service service-name
cf logs service-name --recent