[Fiware-tech-help] Fetch Data From Orion Context Broker

Miguel Jimenez mjimenez at fi.upm.es
Tue May 15 12:04:22 CEST 2018


Hi Prashant,

That operator does require 2 general configs regarding URLs of the CB:

   - URL of the Context Broker, that would be the one you indicate
   http://130.206.117.237:1026
   - URL of a proxy (so as to receive asynchronous notifications for
   subscriptions), that you can leave by default on a global instance running
   at https://ngsiproxy.lab.fiware.org or deploying your own one.

Besides this information, some other configs are required to address
specific information. You can indicate an ID pattern or a query, or you can
simply indicate the type of the desired entities, plus the FIWARE service
(tenant) required for accessing them, and the FIWARE service path where
that entities have been uploaded inside the CB. In case you want
subscriptions (through the proxy), and not only an initial query, you have
to indicate, coma sepparated, the list of attributes whose change would
fire a new asinchronous notifications (a new entity with that attributes
does also fires this).

And appart from that, you would want to consume the information. Operators
Entity 2 PoI (generic, does require a setting to indicate the attribute to
search for location information and an icon) or FIWARE data model 2 PoI
(based on FIWARE data models, fully automatic handling dozens of different
icons) does generate points of interest so as to easily be imported in a
map (Open Layers map is simpler since it does not require google api kkey).
You can download and analyze their code, in case you want to learn how to
handle notification events, but they are simply json objects with the data
(full query or individual objects).

Let me get more detailed information on the Table Viewer widget, since I've
not used it for long. I'll will come with further details.

Best regards,

───────────────────────────
Miguel Jiménez Gañán, PhD.
  Dpto. Lenguajes y Sistemas Informáticos e Ingeniería de Software
  Escuela Técnica Superior de Ingenieros Informáticos
  Universidad Politécnica de Madrid (UPM)
───────────────────────────

On Mon, May 14, 2018 at 12:18 PM, Prashant Chauhan1 <
PC00474884 at techmahindra.com> wrote:

> Hi,
>
>
>
> I’m trying to use the ‘*ngsi-source-operator*’ to fetch data from ‘*Orion
> context broker*’ and trying to populate that data on the Map Widget.
>
> My Orion instance is running @ http://130.206.117.237:1026 and I’m using
> the global instance of wirecloud.
>
> Please suggest me, what setting should I use for NGSI-source-operator in
> order to fetch data.
>
> Also while creating subscriptions, which URL should I use to send the
> notifications.
>
>
>
> Another query is regarding Table Viewer widget, as it requires input
> points as ‘Data and Structures’, is there any available operator to fetch
> or create a dataset for this table viewer widget.
>
>
>
>
>
> <http://www.techmahindra.com/>
>
>
>
> *Prashant Chauhan*
>
>
>
> Software Engineer
>
>
>
> CIESIOT
>
> Noida-NSEZ
>
>
>
> Mobile : +919582019151
>
>
>
> PC00474884 at techmahindra.com
>
>
>
>
>
> We believe
>
>
>
>
>
>
>
> <http://online.wsj.com/ad/inthefuture/>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ============================================================
> ================================================================
>
> Disclaimer:  This message and the information contained herein is
> proprietary and confidential and subject to the Tech Mahindra policy
> statement, you may review the policy at http://www.techmahindra.com/
> Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html
> internally within TechMahindra.
>
> ============================================================
> ================================================================
>
> ____________________________________________________________
> ______________________________
>
> You can get more information about our cookies and privacy policies on the
> following links:
> - http://forge.fiware.org/plugins/mediawiki/wiki/fiware/
> index.php/FIWARE_Privacy_Policy
> - http://forge.fiware.org/plugins/mediawiki/wiki/fiware/
> index.php/Cookies_Policy_FIWARE
>
> Fiware-tech-help mailing list
> Fiware-tech-help at lists.fiware.org
> https://lists.fiware.org/listinfo/fiware-tech-help
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20180515/37d4df40/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 4760 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20180515/37d4df40/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1929 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20180515/37d4df40/attachment-0003.png>


More information about the Fiware-tech-help mailing list

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