Fix function calls that are renamed at previous patche

Change-Id: I40736eaadd9d68371b5d5b5c2503c99be5ab2666
diff --git a/package.json b/package.json
index d2bff8d..d9784f0 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
     "name": "cord_workflow_controller",
-    "version": "0.3.0",
+    "version": "0.3.1",
     "description": "CORD Workflow Controller",
     "main": "src/server.js",
     "scripts": {
diff --git a/src/controllers/rest_probe.js b/src/controllers/rest_probe.js
index 9d67386..6e5a4b3 100644
--- a/src/controllers/rest_probe.js
+++ b/src/controllers/rest_probe.js
@@ -57,7 +57,7 @@
         logger.debug(`Received a message ${jsonMessage}`);
 
         // send the message to the event distributor
-        eventrouter.sendEvent(jsonMessage.topic, jsonMessage.message);
+        eventrouter.emitEvent(jsonMessage.topic, jsonMessage.message);
 
         res.status(200).send({
             result: true