Commit 29ff4cb5 authored by Nicolas Seydoux's avatar Nicolas Seydoux
Browse files

Fixed feature bug

When all sensors are funnelled to the same node, their properties were
translated to its namespace, and not to the original feature as
intended.
parent 2930742b
......@@ -250,6 +250,7 @@ public class Node {
String feature = null;
if(sensor.containsKey("feature")){
feature = sensor.get("feature");
propertyInstance = Node.BASE_URI+feature.split("#")[1]+sensor.get("produces");
}
this.getTopologyManager().addDownstreamSensor(
sensor.get("endpoint"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment