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 10-03-2017 at 11:03
Please, ANSWER this question AT http://stackoverflow.com/questions/42716139/fiware-orion-how-to-add-credate-and-moddate-to-notification-from-orion
Question:
FIWARE Orion: how to add creDate and modDate to notification from orion?
Description:
I am trying to use subscribeContext and notify (see link https://fiware-orion.readthedocs.io/en/master/user/walkthrough_apiv1/index.html#ngsi10-standard-operations)
As in mongodb, have creDate and modDate attribute, but in notifyContextRequest payload does not have these two attributes.
It's possible to include creDate and modDate attribute to notifyContextRequest payload?
Is there any way to get these attribute using Orion method?
Please see below for more details:
A row an mongodb:
{
"_id" :
,
"attrNames" : [
"status",
"type",
"to"
],
"attrs" : {
"status" :
,
"type" :
,
"to" :
},
"creDate" : 1488876118,
"modDate" : 1488876118
}
Thank you so much.
Activity
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
2d 21h 48m | 1 | Fermín Galán | 13/Mar/17 9:53 AM | |||||
|
1s | 1 | Fermín Galán | 13/Mar/17 9:53 AM | |||||
|
1s | 1 | Fermín Galán | 13/Mar/17 9:53 AM |