Skip to content

Commit

Permalink
Merge pull request #307 from RWTH-EBC/306-example-is-not-correctly-li…
Browse files Browse the repository at this point in the history
…nked-in-documentation

fix example is not correctly linked in documentation
  • Loading branch information
djs0109 authored Jul 15, 2024
2 parents 629ec6a + 1e3c92a commit f7306c6
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ omit =
# omit deprecated code
*/deprecated*
# omit semantics module
*/filip/semantics*
filip/semantics/*
source =
filip
[report]
Expand Down
2 changes: 1 addition & 1 deletion docs/source/examples.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.. mdinclude:: ../../examples/README.md
.. mdinclude:: ../../examples/README.sphinx.md
46 changes: 46 additions & 0 deletions examples/README.sphinx.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Examples

This directory contains examples to support you how to use FiLiP to
build smart solutions based on FIWARE.
In order to execute the examples you need a working FIWARE instance. For more details
look into the [required prerequisites](https://github.com/RWTH-EBC/FiLiP?tab=readme-ov-file#prerequisites) of the
library.
Each example should be executable with only small adjustments according to
your FIWARE instance, e.g. URL settings. To do so, you can create a copy of the
``.env.filip.EXAMPLE`` file in the **root folder (i.e., ``.../FiLiP``)** and name it ``.env.filip``. By default,
we assume that the FIWARE instance is running on localhost.

The following topics are covered:

#### How to use the clients and use general settings?

- [http-clients](https://github.com/RWTH-EBC/FiLiP/blob/master/examples/basics/e01_http_clients.py)
- [logging](https://github.com/RWTH-EBC/FiLiP/blob/master/examples/basics/e11_logging.py)
- [settings-management](https://github.com/RWTH-EBC/FiLiP/blob/master/examples/basics/e12_settings.py)

#### How to model context and interact with Orion Context Broker?

- [Context Basics](https://github.com/RWTH-EBC/FiLiP/blob/master/examples/ngsi_v2/e01_ngsi_v2_context_basics.py)
- [Context Relationships](https://github.com/RWTH-EBC/FiLiP/blob/master/examples/ngsi_v2/e02_ngsi_v2_context_relationships.py)
- [Context HTTP Subscriptions](https://github.com/RWTH-EBC/FiLiP/blob/master/examples/ngsi_v2/e03_ngsi_v2_context_subscriptions_http.py)
- [Context MQTT Subscriptions](https://github.com/RWTH-EBC/FiLiP/blob/master/examples/ngsi_v2/e04_ngsi_v2_context_subscriptions_mqtt.py)
- [Context Registrations](https://github.com/RWTH-EBC/FiLiP/blob/master/examples/ngsi_v2/e05_ngsi_v2_context_registrations.py)
- [Context Model Generation](https://github.com/RWTH-EBC/FiLiP/blob/master/examples/ngsi_v2/e06_ngsi_v2_autogenerate_context_data_models.py)

#### How to interact with IoT-Agent?

- [IoT Basics](https://github.com/RWTH-EBC/FiLiP/blob/master/examples/ngsi_v2/e07_ngsi_v2_iota_basics.py)
- [IoT Paho MQTT](https://github.com/RWTH-EBC/FiLiP/blob/master/examples/ngsi_v2/e08_ngsi_v2_iota_paho_mqtt.py)
- [IoT FiLiP MQTT](https://github.com/RWTH-EBC/FiLiP/blob/master/examples/ngsi_v2/e09_ngsi_v2_iota_filip_mqtt.py)
(We implemented this for magic MQTT-Topic handling)

#### How to handle time series data and interact with QuantumLeap?

- [Time Series Data](https://github.com/RWTH-EBC/FiLiP/blob/master/examples/ngsi_v2/e10_ngsi_v2_quantumleap.py)
with QuantumLeap

#### How to use ontologies for semantic system modelling?

- [Semantics](https://github.com/RWTH-EBC/FiLiP/blob/master/examples/ngsi_v2/e11_ngsi_v2_semantics)
- [Use-case specific data modeling](https://github.com/RWTH-EBC/FiLiP/blob/master/examples/ngsi_v2/e12_ngsi_v2_use_case_models.py)

0 comments on commit f7306c6

Please sign in to comment.