FIWARE / context.Orion-LD

Context Broker and CEF building block for context data management which supports both the NGSI-LD and the NGSI-v2 APIs
https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.06.01_60/gs_CIM009v010601p.pdf
GNU Affero General Public License v3.0
51 stars 43 forks source link

Customized payload not supported #710

Open lidiaplaza opened 3 years ago

lidiaplaza commented 3 years ago

Orion based on NGSI v2 supports custom payload inside notification field. For example:

 “notification”:  
    "httpCustom": { 
                             "url": "http://foo.com/entity/${id}",
                             "headers": { "Content-Type": "text/plain" },
                             "method": "PUT", "qs": { "type": "${type}" },
                             "payload": "The temperature is ${temperature} degrees"
   }

Nevertheless, Orion-LD based on NGSI-LD does not support this useful customization.

kzangeli commented 3 years ago

I took it up with ETSI ISG CIM and didn't get any traction, none at all. We could still implement this feature for Orion-LD but it would not be part of the NGSI-LD standard. Meaning, you wouldn't be able to switch to some other NGSi-LD compliant broker if you depend on the feature.