Skip to content

Commit

Permalink
Include NGSI View doc in user guide
Browse files Browse the repository at this point in the history
  • Loading branch information
fdelavega committed Dec 4, 2017
1 parent 58a8ce3 commit 09e789f
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 0 deletions.
Binary file added doc/images/ngsi1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/ngsi2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/ngsi3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/ngsi4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions doc/user-programmer-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,41 @@ These *acquired* datasets are also located in the user dashboard under the *Acqu
NGSI View
---------

The NGSI View extension enables the publication of right-time context information as dataset resources by allowing to
configure a NGSIv2 query.

This queries are provided as dataset resources, so the extension modifies the dataset resource form

.. image:: images/ngsi1.png
:align: center
:scale: 50%

Once creating the dataset resource, it is needed to use *fiware-ngsi* as data type in order to publish the query

.. image:: images/ngsi2.png
:align: center
:scale: 50%

It can be seen that once the *fiware-ngsi* data type is selected, the extension updates the form limiting the data providing
mechanism to *URL* and injects a set of Context Broker specific fields

.. image:: images/ngsi3.png
:align: center
:scale: 50%

These fields are:

* **URL**: Must include the query URL using NGSIv2
* **Tenant**: Corresponds to the *Fiware-Service* header used by the Context Broker
* **Service Path**: Corresponds to the *Fiware-ServicePath* header used by the Context Broker
* **Auth Required**: Whether to inject the OAuth2 access token of the logged user in the request, that is, the Context Broker is secured

Once the resource has been configured, the resource page includes the executed query and the result in JSON

.. image:: images/ngsi4.png
:align: center
:scale: 50%

-------------
BAE Publisher
-------------
Expand Down

0 comments on commit 09e789f

Please sign in to comment.