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

FIWARE.Question.Tech.Data.OrionContextBroker.Subscriptions&RequestForwarding

    Details

      Description

      Created question in FIWARE Q/A platform on 11-09-2015 at 10:09
      Please, ANSWER this question AT http://stackoverflow.com/questions/32519080/subscriptions-request-forwarding

      Question:
      Subscriptions & request forwarding

      Description:
      I've got two questions regarding Orion subscriptions.

      If we register entity with provider application url in Orion and create a subscription for it (e.g. sending updates every 15 minutes), what will happen if there is no data in Orion's local DB? Will it query data provider to fetch data from specified url and then return this a subscription update, or will it return nothing?
      This is somewhat related to the first one. Is there an option to specify "max duration" of an attribute value in Orion's local DB (e.g. if an attribute is not updated in 1 hour, delete it's value)?
      We have the following example in mind: A subscription is set up for an entity to send update every 15 minutes to our server. Updates from sensors to Orion should be done every 5 minutes. Now, if something is not working with the sensor and it stops sending updates, we will get the last value stored in Orion DB forever, unless there's the "max-duration" option for that attribute that deletes the value if it's not changed in specified time period.
      When subscription update is triggered, in case that there's no value for that attribute in Orion's local DB, it should query the provider application for data (Q1).

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2h 59m 1 Backlog Manager 12/Nov/15 6:04 AM
        In Progress In Progress Answered Answered
        2h 8m 1 Manuel Escriche 12/Nov/15 8:12 AM
        Answered Answered Closed Closed
        2s 1 Manuel Escriche 12/Nov/15 8:12 AM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        mev Manuel Escriche made changes -
        HD-Enabler Orion [ 10875 ]
        HD-Chapter Data [ 10838 ]
        oriondev TID Orion Developer made changes -
        Summary FIWARE.Question.Tech.Data.OrionContextBroker.Subscriptions & request forwarding FIWARE.Question.Tech.Data.OrionContextBroker.Subscriptions&RequestForwarding
        oriondev TID Orion Developer made changes -
        Summary [fiware-stackoverflow] Subscriptions & request forwarding FIWARE.Question.Tech.Data.OrionContextBroker.Subscriptions & request forwarding
        mev Manuel Escriche made changes -
        Assignee Fermín Galán [ fermin ]
        mev Manuel Escriche made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        mev Manuel Escriche made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-11-12 06:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-11-12 06:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-11-12 03:05|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-11-12 03:05|CREATED monitor | # answers= 1, accepted answer= True
        backlogmanager Backlog Manager created issue -

          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: