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

Commit

Permalink
NIFIREG-416 - fix documentation for hooks with class definition
Browse files Browse the repository at this point in the history
  • Loading branch information
pvillard31 committed Sep 8, 2020
1 parent 85a3243 commit c885ea7
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 c885ea7

Please sign in to comment.