Please read following comments to get started
To generate a rest-prime-service.jar file, navigate to the project folder and type:
This will run all the Unit tests, Performance test and Integration test and build a rest-prime-service.jar file
To run rest-prime-service.jar file
Navigate to the folder where rest-prime-service.jar is resident mostly would be in target folder unless settings are different
java -jar rest-prime-service.jar -XX:+PrintGCDateStamps -verbose:gc -XX:+PrintGCDetails -Xloggc:"./logs/gc.log"
Checking prime rest service
http://localhost:8888/primes/15/http://localhost:8888/primeswithstream/15/
http://localhost:8888/primeswithparallelstream/15/
http://localhost:8888/primeswithforkandjoin/15/
http://localhost:8888/primeswithforkandjoinwithstream/15/
Checking prime rest service health check
http://localhost:8889This will give operation menu with following options
curl_script.bat is located in the scripts folder
curl "http://localhost:8888/primes/15"
curl "http://localhost:8888/primeswithstream/15"
curl "http://localhost:8888/primeswithparallelstream/15"
curl "http://localhost:8888/primeswithforkandjoin/15"
curl "http://localhost:8888/primeswithforkandjoinwithstream/15"