[Fiware-lab-help] Entity attributes

Josep Bacardit jbacardit at idp.es
Tue Mar 25 17:05:28 CET 2014


Dear Fermín,

 

Thanks for your quick response!

 

Yes, we are interested in this functionality.

 

In our case we would like to send to the context broker, the original
timestamp registered in the data source. Imagine that we have a problem in
the communications and we can’t send the information to the context broker.
So there will be some delay in the communication. In our api we continue
buffering data till the moment the communication will be reestablished. From
that moment, we would like to send the data with the original timestamp of
the reading and not with the timestamp of the update in the context broker.

 

Thanks and best regards.

 

Josep Bacardit Alavedra 
TÉCNICO - TECHNICAL ESPECIALIST ICT

IDP

 

Edificio Torre Milenium
Av. Francesc Macià, 60, 3a planta
08208 Sabadell (Barcelona)
Tel. 902 431 289
Fax 937 264 579
 <mailto:jvanbreest at idp.es>  jbacardit @idp.es
www.idp.es <http://www.idp.es/>  

La información trasmitida va dirigida únicamente a la persona o entidad que
se muestra como destinatario y puede contener datos confidenciales o
privilegiados. Toda revisión, retransmisión, divulgación u otro uso o acción
al respecto por parte de personas o entidades distintas al destinatario está
prohibida. Si recibe esto por cualquier error, por favor contacte con la
persona que figura como remitente y elimine la información de cualquier
ordenador. Los datos personales contenidos en ese mensaje están protegidos
por la legislación reguladora del derecho a la protección de datos
personales utilizándolos para las finalidades y usos de los cuales ya les
hemos informado en el momento de su captación. En caso de querer ejercer los
derechos que le brinda esta legislación puede dirigirse a la dirección de la
empresa (Av. Francesc Macià, 60, 3a planta). Asimismo en caso de no querer
recibir más información a través de correo electrónico puede responder este
mensaje indicando que le demos de baja como receptor. 

 

De: Fermín Galán Márquez [mailto:fermin at tid.es] 
Enviado el: martes, 25 de marzo de 2014 15:58
Para: Josep Bacardit
CC: fiware-lab-help at lists.fi-ware.eu
Asunto: Re: [Fiware-lab-help] Entity attributes

 

Dear Josep,

The current version of Orion Context Broker (0.10.1) already stores creation
and modification timestamps for entities and attributes in its internal
database (see
https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Publish/Su
bscribe_Broker_-_Orion_Context_Broker_-_Installation_and_Administration_Guid
e#entities_collection).

However, this information (which main purpose is to be used in some DB
management scripts, e.g. the /usr/share/contextBroker/lastest-updates.py
script that comes with the RPM) is not currently exposed in the NGSI API. We
are considering to include it as metadata (NGSI allows to attach metadata to
attributes) in a future version.

What do you think? Are you interested in such functionality? It is important
for us to know your opinion, as we take into account the feedback from our
users to define the future roadmap of our components.

Thanks!

Best regards,

------
Fermín

El 24/03/2014 19:05, Josep Bacardit escribió:

Dear all,

 

I’m trying to add a timestamp in millisecond in a entity attributes. 

 

{"contextElements": [{"type": "analyzer","isPattern": "false","id":
"object","attributes": [{"TimeInstant": "1395679357129","name":
"activeEnergy","type": "kwh","value": "45"}]}],"updateAction": "APPEND"}

 

Is it possible to create this type of entities in the orion-psb-image-R3.2?
Or you can only create entities with the attributes:  name, type, value?

 

Thanks and best regards!

 

Josep Bacardit Alavedra 
TÉCNICO - TECHNICAL ESPECIALIST ICT

 

IDP sin
texto

Edificio Torre Milenium
Av. Francesc Macià, 60, 3a planta
08208 Sabadell (Barcelona)
Tel. 902 431 289
Fax 937 264 579
 <mailto:jvanbreest at idp.es>  jbacardit @idp.es
www.idp.es <http://www.idp.es/>  

La información trasmitida va dirigida únicamente a la persona o entidad que
se muestra como destinatario y puede contener datos confidenciales o
privilegiados. Toda revisión, retransmisión, divulgación u otro uso o acción
al respecto por parte de personas o entidades distintas al destinatario está
prohibida. Si recibe esto por cualquier error, por favor contacte con la
persona que figura como remitente y elimine la información de cualquier
ordenador. Los datos personales contenidos en ese mensaje están protegidos
por la legislación reguladora del derecho a la protección de datos
personales utilizándolos para las finalidades y usos de los cuales ya les
hemos informado en el momento de su captación. En caso de querer ejercer los
derechos que le brinda esta legislación puede dirigirse a la dirección de la
empresa (Av. Francesc Macià, 60, 3a planta). Asimismo en caso de no querer
recibir más información a través de correo electrónico puede responder este
mensaje indicando que le demos de baja como receptor. 

 





_______________________________________________
Fiware-lab-help mailing list
Fiware-lab-help at lists.fi-ware.eu
https://lists.fi-ware.eu/listinfo/fiware-lab-help

 

  _____  


Este mensaje se dirige exclusivamente a su destinatario. Puede consultar
nuestra política de envío y recepción de correo electrónico en el enlace
situado más abajo.
This message is intended exclusively for its addressee. We only send and
receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx

No se encontraron virus en este mensaje.
Comprobado por AVG - www.avg.com
Versión: 2014.0.4354 / Base de datos de virus: 3722/7243 - Fecha de
publicación: 03/25/14

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20140325/a498f15e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4681 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20140325/a498f15e/attachment.jpg>


More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy