Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Commit

Permalink
Merge pull request #299 from pvillard31/NIFIREG-416
Browse files Browse the repository at this point in the history
NIFIREG-416 - fix documentation for hooks with class definition
  • Loading branch information
andrewmlim authored Sep 9, 2020
2 parents 2ec4f5e + c885ea7 commit 1ca496f
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1520,14 +1520,12 @@ by the NiFi Registry instance that the provider is configured for.

....
<eventHookProvider>
<class>
org.apache.nifi.registry.provider.hook.ScriptEventHookProvider
</class>
<class>org.apache.nifi.registry.provider.hook.ScriptEventHookProvider</class>
<property name="Script Path"></property>
<property name="Working Directory"></property>
<!-- optional -->
<property name="Whitelisted Event Type 1">CREATE_FLOW</property>
<property name="Whitelisted Event Type 2">UPDATE_FLOW</property>
<property name="Whitelisted Event Type 1">CREATE_FLOW</property>
<property name="Whitelisted Event Type 2">UPDATE_FLOW</property>
</eventHookProvider>
....

Expand All @@ -1544,9 +1542,7 @@ via NiFi Registry’s _logback.xml_, which by default contains an appender that

....
<eventHookProvider>
<class>
org.apache.nifi.registry.provider.hook.LoggingEventHookProvider
</class>
<class>org.apache.nifi.registry.provider.hook.LoggingEventHookProvider</class>
</eventHookProvider>
....

Expand Down

0 comments on commit 1ca496f

Please sign in to comment.