hermannpencole / nifi-config

Automatically deploy and configure Template on Nifi
Apache License 2.0
55 stars 39 forks source link

Provide a way to connect components between process groups #22

Closed ennui93 closed 7 years ago

ennui93 commented 7 years ago

(description taken from documentation) Enable nifi-config to create connections between process groups by adding a connections JSON element to the configuration. The shortest route between the two process groups will be selected, with output and input ports named according to the connection's name used automatically, and created if they do not already exist. Note that it is only possible to connect to input and output ports, so this functionality is typically best used by including an input or output port already wired in to the template that is named the same as the connection.

codecov[bot] commented 7 years ago

Codecov Report

Merging #22 into master will decrease coverage by 21.21%. The diff coverage is 6.18%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #22       +/-   ##
===========================================
- Coverage   86.98%   65.76%   -21.22%     
===========================================
  Files          14       17        +3     
  Lines         553      736      +183     
  Branches       71      106       +35     
===========================================
+ Hits          481      484        +3     
- Misses         55      235      +180     
  Partials       17       17
Impacted Files Coverage Δ
...ncole/nifi/config/model/RouteConnectionEntity.java 0% <0%> (ø)
...cole/nifi/config/model/RouteConnectionsEntity.java 0% <0%> (ø)
...encole/nifi/config/service/CreateRouteService.java 0.63% <0.63%> (ø)
...va/com/github/hermannpencole/nifi/config/Main.java 90.72% <100%> (+0.19%) :arrow_up:
...ncole/nifi/config/service/ProcessGroupService.java 86.95% <100%> (-0.34%) :arrow_down:
...le/nifi/config/service/UpdateProcessorService.java 90.9% <50%> (ø) :arrow_up:
...ermannpencole/nifi/config/utils/FunctionUtils.java 87.87% <75%> (+1.21%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 80571cf...175e9f9. Read the comment docs.