Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
HD-Chapter:Apps
-
HD-Enabler:Wirecloud
Description
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.
[cid:image002.png@01D3EB9B.03488960]<http://www.techmahindra.com/>
Prashant Chauhan
Software Engineer
CIESIOT
Noida-NSEZ
Mobile : +919582019151
PC00474884@techmahindra.com<PC00474884@techmahindra.com>
We believe
[cid:image003.png@01D3EB9B.03488960]<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 <http://www.techmahindra.com/Disclaimer.html> externally http://tim.techmahindra.com/tim/disclaimer.html <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@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
[Created via e-mail received from: Prashant Chauhan1 <PC00474884@TechMahindra.com>]
-
- Wiring-flow.PNG
- 32 kB
-
- NGSI-source.PNG
- 56 kB
-
- ngsi-settings.PNG
- 32 kB
-
- NGSI_Entity_to_Poi.PNG
- 21 kB
-
- image004.png
- 2 kB
-
- image004.png
- 2 kB
-
- image003.png
- 2 kB
-
- image003.png
- 2 kB
-
- image003.png
- 2 kB
-
- image003.png
- 2 kB
-
- image003.png
- 5 kB
-
- image003.png
- 5 kB
-
- image003.jpg
- 0.4 kB
-
- image003.jpg
- 0.4 kB
-
- image002.png
- 5 kB
-
- image002.png
- 5 kB
-
- image002.png
- 2 kB
-
- image002.png
- 5 kB
-
- image002.png
- 5 kB
-
- image002.png
- 2 kB
-
- image002.png
- 2 kB
-
- image002.png
- 2 kB
-
- image002.png
- 2 kB
-
- image001.png
- 5 kB
-
- image001.png
- 5 kB
-
- image001.png
- 5 kB
-
- image001.png
- 5 kB
-
- image001.png
- 4 kB
-
- image001.png
- 4 kB
Activity
HI Alvaro,
Yes, Map issue has been resolved.
But still waiting for inputs on Table Viewer widget Issue i.e. Table Viewer widget requires input points as ‘Data and Structures’, is there any available operator to fetch or create a dataset for this table viewer widget.
Thanks and Regards,
Prashant Chauhan|Software Engineer
[cid:image001.png@01D3264E.9EB73DF0]| NSEZ, NOIDA
From: Álvaro Arranz aarranz@ficodes.com
Sent: Friday, May 18, 2018 9:22 PM
To: Prashant Chauhan1 <PC00474884@TechMahindra.com>
Cc: mjimenez@fi.upm.es; fiware-tech-help@lists.fiware.org; Krishan Babbar <KB00449283@TechMahindra.com>; Yugal Kishor Mullick <YM00106030@TechMahindra.com>; Francisco de la Vega <fdelavega@ficodes.com>
Subject: Re: [Fiware-tech-help] Fetch Data From Orion Context Broker
Dear Prashant,
any progress? Did you were able to fix those problems?
Please, do not hesitate to contact us if you continue having problems.
Best Regards,
Álvaro
[Image removed by sender. FICODES]FUTURE INTERNET CONSULTING & DEVELOPMENT SOLUTIONS S.L<http://www.ficodes.com/>
Álvaro Arranz García
Chief Executive Officer<http://ficodes.com/>
aarranz@ficodes.com<aarranz@ficodes.com>
+34 669 079 467
www.ficodes.com<http://www.ficodes.com/>
El mié., 16 de may. de 2018 a la(s) 11:40, Álvaro Arranz (aarranz@ficodes.com<aarranz@ficodes.com>) escribió:
Hi again,
Regarding this:
I’ve used the same settings for the URL of ngsi-source operator but getting the below error in the logs.
Error creating subscription in the context broker server: The server returned an invalid json structure.
This probably has something to do with some problematic characters inside data values. Are you using new line characteres (e.g. «\n») inside data values?, In that case, you should escape them, because the orion context broker has a bug and does not encode them correctly, returning an invalid JSON response. See this ticket<https://github.com/telefonicaid/fiware-orion/issues/2938> for more details.
Best regards,
Álvaro
[Image removed by sender. FICODES]FUTURE INTERNET CONSULTING & DEVELOPMENT SOLUTIONS S.L<http://www.ficodes.com/>
Álvaro Arranz García
Chief Executive Officer<http://ficodes.com/>
aarranz@ficodes.com<aarranz@ficodes.com>
+34 669 079 467
www.ficodes.com<http://www.ficodes.com/>
El mar., 15 de may. de 2018 a la(s) 13:57, Prashant Chauhan1 (PC00474884@techmahindra.com<PC00474884@techmahindra.com>) escribió:
Hi Miguel,
Thanks for your support.
I’ve used the same settings for the URL of ngsi-source operator but getting the below error in the logs.
Error creating subscription in the context broker server: The server returned an invalid json structure.
Also I have used this configuration before, but could not receive any result.
Please help me resolve this over WebEX call, it will just take 15 minutes of your time.
Also, PFA the ngsi-settings.PNG file for your reference.
Error! Filename not specified.<http://www.techmahindra.com/>
Prashant Chauhan
Software Engineer
CIESIOT
Noida-NSEZ
Mobile : +919582019151
PC00474884@techmahindra.com<PC00474884@techmahindra.com>
We believe
Error! Filename not specified.<http://online.wsj.com/ad/inthefuture/>
From: mjimenez@conwet.com<mjimenez@conwet.com> <mjimenez@conwet.com<mjimenez@conwet.com>> On Behalf Of Miguel Jimenez
Sent: Tuesday, May 15, 2018 3:34 PM
To: Prashant Chauhan1 <PC00474884@TechMahindra.com>
Cc: fiware-tech-help@lists.fiware.org<fiware-tech-help@lists.fiware.org>; Krishan Babbar <KB00449283@TechMahindra.com>; Álvaro Arranz <aarranz@ficodes.com<aarranz@ficodes.com>>; Yugal Kishor Mullick <YM00106030@TechMahindra.com>; Francisco de la Vega <fdelavega@ficodes.com<fdelavega@ficodes.com>>
Subject: Re: [Fiware-tech-help] Fetch Data From Orion Context Broker
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<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@techmahindra.com<PC00474884@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.
Error! Filename not specified.<http://www.techmahindra.com/>
Prashant Chauhan
Software Engineer
CIESIOT
Noida-NSEZ
Mobile : +919582019151
PC00474884@techmahindra.com<PC00474884@techmahindra.com>
We believe
Error! Filename not specified.<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.
============================================================================================================================
Dear Prashant,
any progress? Did you were able to fix those problems?
Please, do not hesitate to contact us if you continue having problems.
Best Regards,
Álvaro
[image: FICODES]FUTURE INTERNET CONSULTING & DEVELOPMENT SOLUTIONS S.L
<http://www.ficodes.com/>
Álvaro Arranz García
Chief Executive Officer <http://ficodes.com/>
aarranz@ficodes.com
+34 669 079 467
www.ficodes.com
El mié., 16 de may. de 2018 a la(s) 11:40, Álvaro Arranz (
__________________________________________________________________________________________
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@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
Hi again,
Regarding this:
I’ve used the same settings for the URL of ngsi-source operator but getting
This probably has something to do with some problematic characters inside
data values. Are you using new line characteres (e.g. «\n») inside data
values?, In that case, you should escape them, because the orion context
broker has a bug and does not encode them correctly, returning an invalid
JSON response. See this ticket
<https://github.com/telefonicaid/fiware-orion/issues/2938> for more details.
Best regards,
Álvaro
[image: FICODES]FUTURE INTERNET CONSULTING & DEVELOPMENT SOLUTIONS S.L
<http://www.ficodes.com/>
Álvaro Arranz García
Chief Executive Officer <http://ficodes.com/>
aarranz@ficodes.com
+34 669 079 467
www.ficodes.com
El mar., 15 de may. de 2018 a la(s) 13:57, Prashant Chauhan1 (
PC00474884@techmahindra.com) escribió:
__________________________________________________________________________________________
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@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
Dear Prashant,
The wiring connections seems to be ok. But there is at least one error in
the ngsi-source configuration: The NGSI tenant/service settings
corresponds to the FIWARE-Service header, in this case
«/smartcitytechsmchandigarth» is not a valid value. Also, seems that you
are using an old version of the ngsi-source operator, I recommend you to
update to the latest version
<https://github.com/wirecloud-fiware/ngsi-source-operator/releases/tag/4.0.0>.
We have to fix the user interface, the (latest) reference that is displayed
in the version selector means that you are using the latest version
installed in your account (not the latest version available).
Regarding the configuration of the NGSI-entity 2 PoI operator, the *Coordinates
attribute* setting should be either «location» or «Latitude, Longitude». If
the location attribute provides a geojson value, I recommend you to use it
instead of «Latitude, Location».
This is all I can tell for now, try to make the suggested changes, and let
us know if that solves your problems. Also, please, provide us the
FIWARE-Service header so we are able to take a look into the data you are
using.
Best regards,
Álvaro
[image: FICODES]FUTURE INTERNET CONSULTING & DEVELOPMENT SOLUTIONS S.L
<http://www.ficodes.com/>
Álvaro Arranz García
Chief Executive Officer <http://ficodes.com/>
aarranz@ficodes.com
+34 669 079 467
www.ficodes.com
El mié., 16 de may. de 2018 a la(s) 07:13, Prashant Chauhan1 (
__________________________________________________________________________________________
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@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
Hi Fernando,
Thanks for your support.
NGSI source version is 3.0.7(latest), NGSI Entity To Poi version is 3.0.3(latest) and Map Viewer version is 2.5.8(latest).
PFA the screen-shots for the current data that I’ve configured.
[cid:image003.png@01D3ED02.B7809090]<http://www.techmahindra.com/>
Prashant Chauhan
Software Engineer
CIESIOT
Noida-NSEZ
Mobile : +919582019151
PC00474884@techmahindra.com<PC00474884@techmahindra.com>
We believe
[cid:image004.png@01D3ED02.B7809090]<http://online.wsj.com/ad/inthefuture/>
From: Fernando López Aguilar <fernando.lopez@fiware.org>
Sent: Tuesday, May 15, 2018 8:08 PM
To: Prashant Chauhan1 <PC00474884@TechMahindra.com>; Jose Ignacio Carretero <joseignacio.carretero@fiware.org>; fiware-tech-help@lists.fiware.org; Juanjo Hierro <juanjose.hierro@fiware.org>
Cc: Yugal Kishor Mullick <YM00106030@TechMahindra.com>; Krishan Babbar <KB00449283@TechMahindra.com>; Álvaro Arranz <aarranz@ficodes.com>; Francisco de la Vega <fdelavega@ficodes.com>; Alessandro Portosa <alessandro.portosa@eng.it>; Davide Zerbetto <davide.zerbetto@eng.it>
Subject: Re: Fetch Data From Orion Context Broker
Dear Prashant,
Could you give me details about which version of the NGSI source, NGSI Entity To PoI and Map Viewer are you using? Additionally should be nice if you send me the current data that you have configured on the first two of them.
Best regards,
Fernando
Fernando López Aguilar
FIWARE Cloud & Platform Senior Expert
M. +49 1522 2600767
fernando.lopez@fiware.org<fernando.lopez@fiware.org>
fiware.org<https://www.fiware.org/>
Twitter: @fiware<https://twitter.com/fiware> @flopezaguilar<https://twitter.com/flopezaguilar>
[X]
On 15. May 2018, 11:17 +0200, Juanjo Hierro <juanjose.hierro@fiware.org<juanjose.hierro@fiware.org>>, wrote:
Dear Prashant,
Today is holiday in the city where headquarters of FICodes, which probably is the best organization bringing you support about Wirecloud, is located. Therefore, please don't expect a very fast response before tomorrow ...
Cheers,
Juanjo
On 15/05/2018 11:04, pc00474884@techmahindra.com<pc00474884@techmahindra.com> wrote:
Hi,
Any Input?
Thanks & Regards,
Prashant Chauhan
Monday, 14 May 2018, 03:48PM +05:30 from Prashant Chauhan1 PC00474884@techmahindra.com<PC00474884@techmahindra.com>:
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.
[cid:image001.png@01D3ED01.B5885F80]<http://www.techmahindra.com/>
Prashant Chauhan
Software Engineer
CIESIOT
Noida-NSEZ
Mobile : +919582019151
PC00474884@techmahindra.com<PC00474884@techmahindra.com>
We believe
[cid:image002.png@01D3ED01.B5885F80]<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.
============================================================================================================================
Dear Prashant,
Today is holiday in the city where headquarters of FICodes, which
probably is the best organization bringing you support about Wirecloud,
is located. Therefore, please don't expect a very fast response before
tomorrow ...
Cheers,
Juanjo
__________________________________________________________________________________________
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@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
Hi,
Any Input?
Thanks & Regards,
============================================================================================================================
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 <http://www.techmahindra.com/Disclaimer.html> externally http://tim.techmahindra.com/tim/disclaimer.html <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@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
Dear Prashant,
Could you give me details about which version of the NGSI source, NGSI Entity To PoI and Map Viewer are you using? Additionally should be nice if you send me the current data that you have configured on the first two of them.
Best regards,
Fernando
Fernando López Aguilar
FIWARE Cloud & Platform Senior Expert
M. +49 1522 2600767
fernando.lopez@fiware.org
fiware.org
Twitter: @fiware @flopezaguilar
__________________________________________________________________________________________
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@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
Hi Miguel,
Thanks for your support.
I’ve used the same settings for the URL of ngsi-source operator but getting the below error in the logs.
Error creating subscription in the context broker server: The server returned an invalid json structure.
Also I have used this configuration before, but could not receive any result.
Please help me resolve this over WebEX call, it will just take 15 minutes of your time.
Also, PFA the ngsi-settings.PNG file for your reference.
[cid:image001.png@01D3EC6B.10053970]<http://www.techmahindra.com/>
Prashant Chauhan
Software Engineer
CIESIOT
Noida-NSEZ
Mobile : +919582019151
PC00474884@techmahindra.com<PC00474884@techmahindra.com>
We believe
[cid:image002.png@01D3EC6B.10053970]<http://online.wsj.com/ad/inthefuture/>
From: mjimenez@conwet.com <mjimenez@conwet.com> On Behalf Of Miguel Jimenez
Sent: Tuesday, May 15, 2018 3:34 PM
To: Prashant Chauhan1 <PC00474884@TechMahindra.com>
Cc: fiware-tech-help@lists.fiware.org; Krishan Babbar <KB00449283@TechMahindra.com>; Álvaro Arranz <aarranz@ficodes.com>; Yugal Kishor Mullick <YM00106030@TechMahindra.com>; Francisco de la Vega <fdelavega@ficodes.com>
Subject: Re: [Fiware-tech-help] Fetch Data From Orion Context Broker
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<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@techmahindra.com<PC00474884@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.
[cid:image001.png@01D3EC6B.10053970]<http://www.techmahindra.com/>
Prashant Chauhan
Software Engineer
CIESIOT
Noida-NSEZ
Mobile : +919582019151
PC00474884@techmahindra.com<PC00474884@techmahindra.com>
We believe
[cid:image002.png@01D3EC6B.10053970]<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.
============================================================================================================================
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 <
__________________________________________________________________________________________
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@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
Hi Prashant,
Regarding Data Table Viewer Widget, we have not connected directly to NGSI
data, but to CKAN data (using CKAN Resource Selector
<https://github.com/wirecloud-fiware/ckan-resource-selector-widget> widget,
for example). Regarding NGSI it would require an operator generating the
data set structure as defined in Data Table Viewer documentarion
<https://github.com/Wirecloud/data-table-viewer-widget/blob/master/src/doc/userguide.md>
.
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 Sun, May 20, 2018 at 7:37 AM, Prashant Chauhan1 <
__________________________________________________________________________________________
You can get more information about our cookies and privacy policies on the following links:
Fiware-tech-help mailing list
Fiware-tech-help@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help