-
(For start) Execute the following:
docker-compose up
-
(For stop) Execute the following:
docker-compose down
- Execute:
mvn clean test
- Execute:
mvn clean verify
- Execute:
mvn clean package
- Go to: target/site/jacoco/index.html
-
First option is via command:
mvn install
with the help of com.spotify:dockerfile-maven-plugin -
Second option is:
- Execute:
docker build -t job-chriniko/job-chriniko-assignment .
- Execute:
-
First option is:
- Execute:
java -jar target/job-chriniko-assignment-1.0.jar
- Execute:
-
Second option is:
- Execute:
docker run job-chriniko/job-chriniko-assignment:latest
- Execute:
-
Third option is:
- Execute:
mvn spring-boot:run
- Execute:
-
In order to see functionality hit the following url with GET operation
localhost:8080/job-assignment/text?p_start=1&p_end=10&w_count_min=1&w_count_max=20
-
In order to see history hiw the following url with GET operation
localhost:8080/job-assignment/history