- Based on : Distributed Content Searching
- Transform to a REST full web service with Swagger
- extract the zip
- move to extract directory
- To run the client jar use the below 2 options:
- Run below commands in the shell
cd Distributed-Content-Searching-UOM
java -cp BootstrapServer/Java/: BootstrapServer # In windows os java -cp BootstrapServer/Java/; BootstrapServer
path="distributed-content-searching-node/target/*.jar"
mvn clean install -DskipTest
java -jar $path --server.port=<port to up the appliation >
$ java -jar distributed-content-searching-node-0.0.1-SNAPSHOT.jar --server.port=8084
- if you have installed konsole run the run.sh script
- provide the number of nodes required as a argument
sh run.sh <number of node>
sh run.sh 1
http://localhost:<port>/swagger-ui.html
http://localhost:8084/swagger-ui.html