Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-14466

FIWARE.Question.Tech.Are esper time intervals supported in fiware perseo?.

    Details

      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":"$

      {id}

      ",
      "type":"A",
      "attributes": [

      { "name": "status", "value": "open", "type": "text" }

      ]
      }
      }
      }

        Activity

        backlogmanager Backlog Manager created issue -
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        veronika Veronika Vlnkova made changes -
        Assignee Rafael Fernández [ rfernandez ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Summary [fiware-stackoverflow] Are esper time intervals supported in fiware perseo? FIWARE.Question.Tech.Are esper time intervals supported in fiware perseo?.
        fla Fernando Lopez made changes -
        HD-Enabler Perseo [ 11301 ]
        Description
        Created question in FIWARE Q/A platform on 30-07-2018 at 23:07
        {color: red}Please, ANSWER this question AT{color} 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":"${id}",
                    "type":"A",
                    "attributes": [
                        {
                            "name": "status",
                            "value": "open",
                            "type": "text"
                        }

                    ]
                }
            }
        }

        Created question in FIWARE Q/A platform on 30-07-2018 at 23:07
        {color: red}Please, ANSWER this question AT{color} 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":"${id}",
                    "type":"A",
                    "attributes": [
                        {
                            "name": "status",
                            "value": "open",
                            "type": "text"
                        }

                    ]
                }
            }
        }

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]

          People

          • Assignee:
            rfernandez Rafael Fernández
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: