This is a test project for Shedlock library.
- Run
docker-compose up
to start the database - Run
mvn spring-boot:run
to start the application - Run
curl http://localhost:8080/lock
to test the lock
- Run
docker-compose up
to start the database - Run
mvn test
to run the tests - Run
curl http://localhost:8080/lock
to test the lock
- Run
docker-compose up
to start the database - Run
mvn clean package
to build the application - Run
docker build -t shedlock-test .
to build the Docker image - Run
docker run -p 8080:8080 shedlock-test
to run the Docker image - Run
curl http://localhost:8080/lock
to test the lock
- Run
docker-compose up
to start the database - Run
mvn clean package
to build the application - Run
docker-compose build
to build the Docker image - Run
docker-compose up
to run the Docker image - Run
curl http://localhost:8080/lock
to test the lock
- Run
docker-compose up
to start the database - Run
mvn clean package
to build the application - Run
docker-compose build
to build the Docker image - Run
docker-compose up --scale shedlock-test=3
to run the Docker image - Run
curl http://localhost:8080/lock
to test the lock