Details
- 
        Type:
Monitor
 - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Done
 - 
            Affects Version/s: None
 - 
            Fix Version/s: None
 - 
            Component/s: FIWARE-TECH-HELP
 - 
            Labels:
 
Description
Created question in FIWARE Q/A platform on 23-12-2022 at 10:12
Please, ANSWER this question AT https://stackoverflow.com/questions/74898852/fiware-orion-op-query-endpoint-working-explaination
Question:
Fiware orion /op/query endpoint working explaination
Description:
I'm a student learning the fiware ecosystem. From my previous explorations, I learned how Orion can use proxy services to use external context providers to fetch dynamic context data. Here I understood how different endpoints can provide different responses from the given example code which is an express.js application. But I am confused on a few points and want to know working of these.
How is the Orion batch query able to hit the data if there is no /op/query endpoint defined in the example code?
In the commented section there is these endpoints of the format /random/temperature/ngsi-ld/v1/entities/, In these does Orion append the ngsi-ld/v1/entities/ part whenever the context of the Store entity is requested using orion/v2/entities/<entity-id> endpoint?
If orion context broker somehow directs these queries to the proxy by altering them, Where can I get code of the context broker itself for better understanding?
I am working on my college project and any help is appreciated. Thanks in advance.
Activity
| Field | Original Value | New Value | 
|---|---|---|
| Component/s | FIWARE-TECH-HELP [ 10278 ] | 
| Assignee | Jason Fox [ jason.fox ] | 
| Status | Open [ 1 ] | In Progress [ 3 ] | 
| Status | In Progress [ 3 ] | Answered [ 10104 ] | 
| Resolution | Done [ 10000 ] | |
| Status | Answered [ 10104 ] | Closed [ 6 ] | 
| Summary | [fiware-stackoverflow] Fiware orion /op/query endpoint working explaination | FIWARE.Question.Tech.Fiware orion /op/query endpoint working explaination. |