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/user/
curl http://192.168.99.100:8080/user/admin
curl -X POST --data "abc" http://192.168.99.100:8080/user/checkpassword
curl -X POST -H 'Content-type:application/json' --data "{\"name\":\"admin\",\"password\":\"nimda\"}" http://192.168.99.100:8080/user/create