This is an automated email from the ASF dual-hosted git repository.
aldrin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-minifi.git
The following commit(s) were added to refs/heads/master by this push:
new 6ba6ce4 MINIFI-513 Clear secret key when auto restarting in order to
obtain new secret key from the MiNiFi process
6ba6ce4 is described below
commit 6ba6ce474ff6a93b4a337ea5ec1684313c7c3f59
Author: Bryan Bende <[email protected]>
AuthorDate: Mon Sep 30 15:09:08 2019 -0400
MINIFI-513 Clear secret key when auto restarting in order to obtain new
secret key from the MiNiFi process
This closes #172.
Signed-off-by: Aldrin Piri <[email protected]>
---
.../src/main/java/org/apache/nifi/minifi/bootstrap/RunMiNiFi.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/minifi-bootstrap/src/main/java/org/apache/nifi/minifi/bootstrap/RunMiNiFi.java
b/minifi-bootstrap/src/main/java/org/apache/nifi/minifi/bootstrap/RunMiNiFi.java
index 2fb4e0b..93d5f05 100644
---
a/minifi-bootstrap/src/main/java/org/apache/nifi/minifi/bootstrap/RunMiNiFi.java
+++
b/minifi-bootstrap/src/main/java/org/apache/nifi/minifi/bootstrap/RunMiNiFi.java
@@ -1388,6 +1388,7 @@ public class RunMiNiFi implements
QueryableStatusAggregator, ConfigurationFileHo
setNiFiStarted(false);
}
+ secretKey = null;
process = builder.start();
handleLogging(process);