[Fiware-lab-help] Entity attributes

Fermín Galán Márquez fermin at tid.es
Tue Mar 25 15:58:14 CET 2014


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/Subscribe_Broker_-_Orion_Context_Broker_-_Installation_and_Administration_Guide#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
 jbacardit @idp.es<mailto:jvanbreest at 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<mailto: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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20140325/533d0e5a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 4681 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20140325/533d0e5a/attachment.jpe>


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