This project is used to setup CI/CD systems for an article about Continuous Delivery.
To build the project just run:
mvn clean package
Afterwards the service can be dockered calling
./docker-build.sh
To start the container just run
./docker.run.sh
mvn clean compile spring-boot:run
Following examples assume a local docker-machine ip of 192.168.99.100 - you might want to change this.
curl http://192.168.99.100:8080/address/1
curl http://192.168.99.100:8080/address/user/1
curl -X POST -H 'Content-type:application/json' --data "{\"userId\":1,\"street\":\"A Street 123\",\"zip\":\"12345\", \"city\":\"A City\",\"Country\":\"A Country\"}" http://192.168.99.100:8080/address/create