docker-compose up -d
gradle clean build -Penv=local
gradle startServer -Penv=local -Pport=8080
Creating dummy data:
http://localhost:8080/db1/client/dummy
http://localhost:8080/db2/client/dummy
Reading data:
http://localhost:8080/db1/client
http://localhost:8080/db2/client
gradle buildDocker -Penv=prod
gradle test
docker-compose up -d
gradle clean build itest
- You can simply run them as jar applications or you can configure your ide to run jar application so you can debug it.
- To download payara micro server run
gradle downloadPayaraMicro
- Build application
gradle clean build
- Run it manually as java -jar app
java -jar ./payara-micro.jar --deploy ./build/libs/icoder-1.0.0.war
gradle clean build publishToECR -Penv=local -Pversion=8.0.0