Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
HD-Enabler:Perseo
Description
Created question in FIWARE Q/A platform on 30-07-2018 at 23:07
Please, ANSWER this question AT https://stackoverflow.com/questions/51602716/are-esper-time-intervals-supported-in-fiware-perseo
Question:
Are esper time intervals supported in fiware perseo?
Description:
I'm trying to model a rule for perseo CEP using esper time intervals (timer:interval), like the one documented on http://esper.espertech.com/release-6.1.0/esper-reference/html/event_patterns.html#pattern-atoms.
In particular this example which must be fire every 20 seconds is never executed:
{
"name": "timer_interval_update",
"text": "select *,\"timer_interval_update\" as ruleName from pattern [every timer:interval(20 sec)]",
"action": {
"type": "update",
"parameters": {
"id":"$
",
"type":"A",
"attributes": [
]
}
}
}
2018-07-31 00:05|CREATED monitor | # answers= 0, accepted answer= False