Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.2 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.2 KB

id2210 Decentralized Search Project, vt 2013

There are 3 main modules, cyclon, tman, and search, as well as a common module. You can run experiments on the cyclon module or the search module.

Build instructions:

Install git, maven and a java SDK.

I recommend you fork this repo on github. But if you don't want to, then just clone it: git clone https://github.com/jimdowling/id2210-vt13.git

cd id2210-vt13 mvn clean install

The search module specifies a kompics experiment in the main experiment. You can execute the main for the search program by using the assembly plugin on the search project to generate a jar file containing all code:

cd search mvn assembly:assembly java -jar target/id2210-search-1.0-SNAPSHOT-jar-with-dependencies.jar

The REST API for the search module contains 2 operations:

  1. Search for an entry
  1. Add an entry

Note that the IP address in the URL might be slightly different - it might be localhost or 127.0.0.1 depending on your OS. Check in the first lines printed out when running the program.