An open API service indexing awesome lists of open source software.

https://github.com/fiware/tutorials.historic-context-nifi

:blue_book: FIWARE 302: Persisting Context Data using Apache NIFI
https://github.com/fiware/tutorials.historic-context-nifi

apache-nifi contextual-data data-persistence database fiware fiware-draco historical-data mongo-db mysql postgresql tutorial

Last synced: 8 months ago
JSON representation

:blue_book: FIWARE 302: Persisting Context Data using Apache NIFI

Awesome Lists containing this project

README

          

[![FIWARE Banner](https://fiware.github.io/tutorials.Historic-Context-NIFI/img/fiware.png)](https://www.fiware.org/developers)

[![FIWARE Core Context Management](https://nexus.lab.fiware.org/repository/raw/public/badges/chapters/core.svg)](https://github.com/FIWARE/catalogue/blob/master/core/README.md)
[![License: MIT](https://img.shields.io/github/license/fiware/tutorials.Historic-Context-NIFI.svg)](https://opensource.org/licenses/MIT)
[![Support badge](https://img.shields.io/badge/tag-fiware-orange.svg?logo=stackoverflow)](https://stackoverflow.com/questions/tagged/fiware)

This tutorial is an introduction to [FIWARE Draco](https://fiware-draco.readthedocs.io/en/latest/) - an alternative
generic enabler which is used to persist context data into third-party databases using
[Apache NIFI](https://nifi.apache.org) creating a historical view of the context. The in the same manner as the previous tutorial,
we activate the dummy IoT sensors and persists measurements from those sensors into a database for further analysis.

The tutorial uses [cUrl](https://ec.haxx.se/) commands throughout, but is also available as
[Postman documentation](https://www.postman.com/downloads/).

# Start-Up

## NGSI-v2 Smart Supermarket

**NGSI-v2** offers JSON based interoperability used in individual Smart Systems. To run this tutorial with **NGSI-v2**, use the `NGSI-v2` branch.

```console
git clone https://github.com/FIWARE/tutorials.Historic-Context-NIFI.git
cd tutorials.Historic-Context-NIFI
git checkout NGSI-v2

./services create
./services start
```

| [![NGSI v2](https://img.shields.io/badge/NGSI-v2-5dc0cf.svg)](https://fiware-ges.github.io/orion/api/v2/stable/) | :books: [Documentation](https://github.com/FIWARE/tutorials.Historic-Context-NIFI/tree/NGSI-v2) | [Postman Collection](https://fiware.github.io/tutorials.Historic-Context-NIFI/) | ![](https://img.shields.io/github/last-commit/fiware/tutorials.Historic-Context-Nifi/NGSI-v2)
| --- | --- | --- | ---

---

## License

[MIT](LICENSE) © 2018-2024 FIWARE Foundation e.V.