A Maven project that generates the RESTful web-service of the CLOUD4All Rule-based MatchMaker.
To build the RuleBasedMatchMaker web-service:
-
Download JDK - version 7u67 or later and install it
-
Download Apache Maven and install it
-
Run "mvn clean install" in the root directory of the source code
-
Deploy the generated .war to your Apache Tomcat server
Usage example using curl:
curl -X POST -H "Content-Type: application/json" http://localhost:8080/CLOUD4All_RBMM_Restful_WS/RBMM/runJSONLDRules -d @{MY_INPUT.json}
If you are encountering problems with test failures, please ensure that the encoding of the debug files, e.g. 5_RBMMJsonOutput.json, is similar with the encoding of the files including the tests' expected outcomes, e.g. vladimirLobbyOUT.json. You can check the encoding of a file using e.g. Notepad++ Menu->Encoding.
OR
just simply set PERFORM_INTEGRATION_TESTS=false
The research leading to these results has received funding from the European Union's Seventh Framework Programme (FP7/2007-2013) under grant agreement No.289016