The NGSI Browser widget allows you to browser Orion Context
Broker
servers in an easy and paginated way. This is done using the queryContext
, so
updates made into the context broker are not reflected immediately when using
this widget.
Latest version of this widget is available in this github repositories where you can make use of it on the Mashup portal. Remember to take a look into the example mashups provided in the OrionStarterKit offering.
Retrieving AirQualityObserved NGSIv2 data
Be sure to have installed Node.js. For example, you can install it on Ubuntu and Debian running the following commands:
curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install nodejs
sudo apt-get install npm
Install other npm dependencies by running:
npm install
For build the widget you need download grunt:
sudo npm install -g grunt-cli
And now, you can use grunt:
grunt
If everything goes well, you will find a wgt file in the dist
folder.
Documentation about how to use this widget is available on the User Guide. Anyway, you can find general information about how to use widgets on the WireCloud's User Guide available on Read the Docs.
Copyright (c) 2016 CoNWeT Lab., Universidad Politecnica de Madrid
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.