Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bluehalo/nifi-nar-bundles
https://github.com/bluehalo/nifi-nar-bundles
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bluehalo/nifi-nar-bundles
- Owner: bluehalo
- License: apache-2.0
- Created: 2017-09-14T00:16:59.000Z (over 7 years ago)
- Default Branch: develop
- Last Pushed: 2023-07-16T05:32:06.000Z (over 1 year ago)
- Last Synced: 2024-04-11T00:42:09.823Z (9 months ago)
- Language: Java
- Size: 964 KB
- Stars: 13
- Watchers: 25
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Code coverage
[Coverage](https://asymmetrik.gitlab.io/nifi-nar-bundles)# nifi-nar-bundles
This project contains assorted [Apache NiFi](http://nifi.apache.org/) components.
# Requirements
* Apache NiFi 1.15.3 or newer
* JDK 11 or newer
* [Apache Maven](http://maven.apache.org/) 3.5.0 or newer# Getting Started
## Building
```
$ mvn clean package
```This will create several .nar files, and collect them under `nifi-assembly/target/asymmetrik-nifi-nars-0.12.0-SNAPSHOT`. For convenience, this will also package all .nar files into a single distribution tar.gz file under `nifi-assembly/target/`.
```
$ ls -1 nifi-assembly/target/asymmetrik-nifi-nars-*
nifi-assembly/target/asymmetrik-nifi-nars-0.12.0-SNAPSHOT.tar.gznifi-assembly/target/asymmetrik-nifi-nars-0.12.0-SNAPSHOT:
asymmetrik-nifi-nars-0.12.0-SNAPSHOT
```
## Tests DependenciesThe test suite contains integration tests for both InfluxDB and MongoDB. As such, both must be installed on the test server in order to successfully build and test this project. For InfluxDB installation go to [https://portal.influxdata.com/downloads](https://portal.influxdata.com/downloads). On CentOS, MongoDB can be installed by
```
# Install InfluxDB
wget https://dl.influxdata.com/influxdb/releases/influxdb-1.3.5.x86_64.rpm
sudo yum localinstall influxdb-1.3.5.x86_64.rpm# Install MongoDB
sudo yum update mongodb-org
```## Deploying
Navigate to your NiFi installation, and edit `conf/nifi.properties` adding the nars as an additional `nifi.nar.library.directory.*` entry. For more information, see the "Core Properties" section of the [NiFi System Administrator’s Guide](http://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#system_properties).
For example:
```
nifi.nar.library.directory=./lib
nifi.nar.library.directory.ext1=/path/to/asymm-nifi-nars/dist/target/asymmetrik-nifi-nars-0.12.0-SNAPSHOT/asymmetrik-nifi-nars-0.12.0-SNAPSHOT
```Then start NiFi as you normally would:
```
$ ./bin/nifi.sh start
```## Releasing
To tag and release:
```
$ mvn release:prepare -Prpm
$ mvn release:perform -Prpm
```You must have access to deploy to the repository in the distributionManagement section of the pom.xml.