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

FIWARE.Question.Tech.Context Broker, ONTIMEINTERVAL subscribe immediatelly sends request to reference.

    Details

      Description

      Created question in FIWARE Q/A platform on 26-05-2016 at 16:05
      Please, ANSWER this question AT http://stackoverflow.com/questions/37463485/context-broker-ontimeinterval-subscribe-immediatelly-sends-request-to-reference

      Question:
      Context Broker, ONTIMEINTERVAL subscribe immediatelly sends request to reference

      Description:
      The problem is even if I put condValues to PT10S, when I send request to contextBroker it requests back the reference url rigth away, not after 10 sec, and then it continues to send requests at 10 sec.
      My question: is there a way to avoid the first initial request?

      Here is a body of the request that I send to server where contextBroker is installed.

      {
      "entities": [

      { "type": "Cycle", "isPattern": "false", "id": "someid" }

      ],
      "attributes": [
      ...
      ],
      "reference": "someurl"
      "duration": "P1M",
      "notifyConditions": [

      { "type": "ONTIMEINTERVAL", "condValues": [ "PT10S" ] }

      ]
      }

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2016-05-26 18:05|CREATED monitor | # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-05-26 18:05|CREATED monitor | # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-05-26 21:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-05-26 21:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-05-27 00:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-05-27 00:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-05-27 12:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2016-05-27 12:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: