- Apache Maven 3 to build the project
- JAVA 1.7 (at least) to run the project
Clone the project and go to the folder onem2m-analytics
$ git clone https://github.com/mbenalaya/onem2m-analytics.git
$ cd onem2m-analyticsBuild the project using the following command
$ mvn clean installThe binary and config files will be generated under the folder "target"
Use the config.ini file to make your configuration
MQTT_TOPICS = iot-2/type/+/id/+/evt/event/fmt/+
MQTT_SERVER_URI = ssl://8riy9e.messaging.internetofthings.ibmcloud.com:8883APP_ID = a:8riy9e:oneM2M123
API_KEY = a-8riy9e-e2ywsxpahe
AUTH_TOKEN = vx)RY+4MW-gqeUwkC8PREDICTION_CYCLE = 10
ZSCORE_WINDOW = 10
PREDICTIVE_SERVICE_URL = https://ibm-watson-ml.eu-gb.bluemix.net/pm/v1/score/nocycle20rebuid50?accesskey=EzjIR1yqpeSLI1k8XXXO1x8hwYLRGn9Hb4/5XXgqYG5wWJAm8oHM3dFJPzSvZ0fKc1AbOE1UW5e5NZRAC6JLeJm4UhduKiR4fCfmGQLC1t8=Execute the following command from the folde onem2m-analytics to start the analytics
$ mvn exec:java Open sourced under the Eclipse Public License 1.0.