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

[fiware-stackoverflow] Retrieve Fiware-ServicePath from EntityContext using EntityID

    Details

      Description

      Created question in FIWARE Q/A platform on 19-06-2015 at 11:06
      Please, ANSWER this question AT https://stackoverflow.com/questions/30935182/retrieve-fiware-servicepath-from-entitycontext-using-entityid

      Question:
      Retrieve Fiware-ServicePath from EntityContext using EntityID

      Description:
      I could not find detailed documentation about Entity Service and Service Path, this is best i could find is this section in the Orion User Manual

      I would like to retrieve a "Fiware-ServicePath" for a specific Entity_ID but NGSI10 does not provide that information using queryContext.

      Is there a way of retrieving this information ?

      My process is described here, everything is working except the the Get ServicePath using EntityID part:

      A gateway is pushing data into Orion and i would like to make to "update or insert procedure":

      Get ServicePath using EntityID

      IF exists: update it
      If not exists: updatecontext with ServicePath '/NewItems'

      As a workaround, I would add the ServicePath into some metadata...

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        3h 1 Backlog Manager 31/May/17 9:04 AM
        In Progress In Progress Answered Answered
        1h 1m 1 Fernando Lopez 31/May/17 10:06 AM
        Answered Answered Closed Closed
        2s 1 Fernando Lopez 31/May/17 10:06 AM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fla Fernando Lopez made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        fla Fernando Lopez made changes -
        HD-Enabler Orion [ 10875 ]
        Description
        Created question in FIWARE Q/A platform on 19-06-2015 at 11:06
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/30935182/retrieve-fiware-servicepath-from-entitycontext-using-entityid


        +Question:+
        Retrieve Fiware-ServicePath from EntityContext using EntityID

        +Description:+
        I could not find detailed documentation about Entity Service and Service Path, this is best i could find is this section in the Orion User Manual

        I would like to retrieve a "Fiware-ServicePath" for a specific Entity_ID but NGSI10 does not provide that information using queryContext.

        Is there a way of retrieving this information ?

        My process is described here, everything is working except the the Get ServicePath using EntityID part:


        A gateway is pushing data into Orion and i would like to make to "update or insert procedure":


        Get ServicePath using EntityID


        IF exists: update it
        If not exists: updatecontext with ServicePath '/NewItems'




        As a workaround, I would add the ServicePath into some metadata...
        Created question in FIWARE Q/A platform on 19-06-2015 at 11:06
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/30935182/retrieve-fiware-servicepath-from-entitycontext-using-entityid


        +Question:+
        Retrieve Fiware-ServicePath from EntityContext using EntityID

        +Description:+
        I could not find detailed documentation about Entity Service and Service Path, this is best i could find is this section in the Orion User Manual

        I would like to retrieve a "Fiware-ServicePath" for a specific Entity_ID but NGSI10 does not provide that information using queryContext.

        Is there a way of retrieving this information ?

        My process is described here, everything is working except the the Get ServicePath using EntityID part:


        A gateway is pushing data into Orion and i would like to make to "update or insert procedure":


        Get ServicePath using EntityID


        IF exists: update it
        If not exists: updatecontext with ServicePath '/NewItems'




        As a workaround, I would add the ServicePath into some metadata...
        HD-Chapter Data [ 10838 ]
        fla Fernando Lopez made changes -
        Assignee Fermín Galán [ fermin ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-31 09:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-31 09: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 -

        2017-05-31 06:05|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-31 06: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: