alopresto commented on a change in pull request #3542: NIFI-6363 Integrates AWS 
KMS SPP.  Refactors SSPP.
URL: https://github.com/apache/nifi/pull/3542#discussion_r296365134
 
 

 ##########
 File path: 
nifi-toolkit/nifi-toolkit-encrypt-config/src/main/groovy/org/apache/nifi/properties/ConfigEncryptionTool.groovy
 ##########
 @@ -1269,10 +1273,10 @@ class ConfigEncryptionTool {
     }
 
     private
-    static List<String> 
serializeNiFiPropertiesAndPreserveFormat(NiFiProperties niFiProperties, File 
originalPropertiesFile) {
+    static List<String> 
serializeNiFiPropertiesAndPreserveFormat(NiFiProperties niFiProperties, File 
originalPropertiesFile, String keyHex) {
         List<String> lines = originalPropertiesFile.readLines()
 
-        ProtectedNiFiProperties protectedNiFiProperties = new 
ProtectedNiFiProperties(niFiProperties)
+        ProtectedNiFiProperties protectedNiFiProperties = new 
ProtectedNiFiProperties(niFiProperties, keyHex) // BOOM WHAT
 
 Review comment:
   Seems indicative of an accomplishment. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to