You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rule is not triggered with "http" action , GET or DELETE methods and without json or template fields. A notification is received and this error message is displayed in the log:
http://localhost:8090/rules
Fiware-Service: cb001cep
Content-Type: application/json
Fiware-ServicePath: /sscb001cep
Accept: application/json
X-Auth-Token: 7e7c649e28cf4c8f87c8269bbc25e4ea
{"action": {"type": "post", "parameters": {"url": "http://localhost:9998/send/get/type/${type}", "headers": {"Content-type": "text/plain", "X-${type}-temperature": "${temperature}"}, "qs": {"id": "${id}"}, "method": "GET"}}, "text": "select *, \"iot_rule_test_1\" as ruleName, *, ev.temperature? as temperature, ev.id? as id from pattern [every ev=iotEvent( cast(cast(temperature?,String),Float)>1.5 and type=\"entity\")]", "name": "iot_rule_test_1"}
rule response
code: 200
{"error":null,"data":[false,[{"code":200,"body":{"text":"create context ctxt$cb001cep$sscb001cep partition by service from iotEvent(service=\"cb001cep\" and subservice=\"/sscb001cep\")","timeLastStateChange":1476353501720,"name":"ctxt$cb001cep$sscb001cep","state":"STARTED"}},{"code":200,"body":{"text":"context ctxt$cb001cep$sscb001cep select *, \"iot_rule_test_1\" as ruleName, *, ev.temperature? as temperature, ev.id? as id from pattern [every ev=iotEvent( cast(cast(temperature?,String),Float)>1.5 and type=\"entity\")]","timeLastStateChange":1476353530616,"name":"iot_rule_test_1@cb001cep/sscb001cep","state":"STARTED"}},null],{"action":{"type":"post","parameters":{"url":"http://localhost:9998/send/get/type/${type}","headers":"{\"Content-type\":\"text/plain\",\"X-${type}-temperature\":\"${temperature}\"}","qs":"{\"id\":\"${id}\"}","method":"GET"}},"text":"select *, \"iot_rule_test_1\" as ruleName, *, ev.temperature? as temperature, ev.id? as id from pattern [every ev=iotEvent( cast(cast(temperature?,String),Float)>1.5 and type=\"entity\")]","name":"iot_rule_test_1","subservice":"/sscb001cep","service":"cb001cep","_id":"57ff5dfa04fd7a311281dcb5"},null]}
mongo doc
{ "_id" : ObjectId("57ff5dfa04fd7a311281dcb5"), "action" : { "type" : "post", "parameters" : { "url" : "http://localhost:9998/send/get/type/${type}", "headers" : "{\"Content-type\":\"text/plain\",\"X-${type}-temperature\":\"${temperature}\"}", "qs" : "{\"id\":\"${id}\"}", "method" : "GET" } }, "text" : "select *, \"iot_rule_test_1\" as ruleName, *, ev.temperature? as temperature, ev.id? as id from pattern [every ev=iotEvent( cast(cast(temperature?,String),Float)>1.5 and type=\"entity\")]", "name" : "iot_rule_test_1", "subservice" : "/sscb001cep", "service" : "cb001cep" }
The text was updated successfully, but these errors were encountered:
The rule is not triggered with "http" action , GET or DELETE methods and without json or template fields. A notification is received and this error message is displayed in the log:
rule request
rule response
mongo doc
The text was updated successfully, but these errors were encountered: