Details
- 
        Type:
Monitor
 - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Done
 - 
            Affects Version/s: None
 - 
            Fix Version/s: 2021
 - 
            Component/s: FIWARE-TECH-HELP
 - 
            Labels:
 
- 
                        HD-Chapter:Data
 - 
                        HD-Enabler:Orion
 
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
| Field | Original Value | New Value | 
|---|---|---|
| Component/s | FIWARE-TECH-HELP [ 10278 ] | 
| Status | Open [ 1 ] | In Progress [ 3 ] | 
| Assignee | Fermín Galán [ fermin ] | 
| 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 ] | 
| Status | In Progress [ 3 ] | Answered [ 10104 ] | 
| Resolution | Done [ 10000 ] | |
| Status | Answered [ 10104 ] | Closed [ 6 ] | 
| Fix Version/s | 2021 [ 12600 ] |