nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ald...@apache.org
Subject [nifi-minifi] branch master updated: MINIFI-513 Clear secret key when auto restarting in order to obtain new secret key from the MiNiFi process
Date Tue, 01 Oct 2019 13:20:14 GMT
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 <bbende@apache.org>
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 <aldrin@apache.org>
---
 .../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);
 


Mime
View raw message