(nifi) branch support/nifi-1.x updated: NIFI-12105: remove unnecessary checking of compressed content from testAdditionalNarDirectoriesSpecified test case

2023-12-11 Thread turcsanyi
This is an automated email from the ASF dual-hosted git repository.

turcsanyi pushed a commit to branch support/nifi-1.x
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/support/nifi-1.x by this push:
 new a3e7998139 NIFI-12105: remove unnecessary checking of compressed 
content from testAdditionalNarDirectoriesSpecified test case
a3e7998139 is described below

commit a3e7998139f3c943339b05987ca568f5ff38723f
Author: Peter Gyori 
AuthorDate: Mon Dec 11 16:07:26 2023 +0100

NIFI-12105: remove unnecessary checking of compressed content from 
testAdditionalNarDirectoriesSpecified test case

This closes #8150.

Signed-off-by: Peter Turcsanyi 
(cherry picked from commit 78b822c4520ff59653ffca1ca464a6919d000b03)
---
 .../org/apache/nifi/processors/stateless/TestExecuteStateless.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git 
a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/java/org/apache/nifi/processors/stateless/TestExecuteStateless.java
 
b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/java/org/apache/nifi/processors/stateless/TestExecuteStateless.java
index d7f184810c..c37b626b09 100644
--- 
a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/java/org/apache/nifi/processors/stateless/TestExecuteStateless.java
+++ 
b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/java/org/apache/nifi/processors/stateless/TestExecuteStateless.java
@@ -29,7 +29,6 @@ import java.util.Collections;
 import java.util.List;
 import java.util.function.Function;
 
-import static org.junit.jupiter.api.Assertions.assertArrayEquals;
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
@@ -227,7 +226,6 @@ public class TestExecuteStateless {
 runner.setProperty(ExecuteStateless.ADDITIONAL_LIB_DIRECTORIES, 
JSLT_DIR + "," + COMPRESS_DIR);
 runner.setProperty(ExecuteStateless.INPUT_PORT, "input");
 runner.setProperty(ExecuteStateless.FAILURE_PORTS, "failure");
-byte[] expectedContents = new byte[] {31, -117, 8, 0, 0, 0, 0, 0, 0, 
-1, 83, -14, -54, -49, -56, 83, 2, 0, 118, 63, 122, -30, 6, 0, 0, 0};
 
 runner.enqueue(JSON_OBJECT.getBytes(), Collections.singletonMap("abc", 
"xyz"));
 runner.run();
@@ -235,7 +233,6 @@ public class TestExecuteStateless {
 runner.assertTransferCount(ExecuteStateless.REL_OUTPUT, 1);
 final List output = 
runner.getFlowFilesForRelationship(ExecuteStateless.REL_OUTPUT);
 output.get(0).assertAttributeEquals("mime.type", "application/gzip");
-assertArrayEquals(output.get(0).getData(), expectedContents);
 }
 
 private void testBulletinSurfaced(final String logLevel, final boolean 
shouldBeSurfaced, final Function> 
getMessageFunction) {



(nifi) branch main updated: NIFI-12105: remove unnecessary checking of compressed content from testAdditionalNarDirectoriesSpecified test case

2023-12-11 Thread turcsanyi
This is an automated email from the ASF dual-hosted git repository.

turcsanyi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
 new 78b822c452 NIFI-12105: remove unnecessary checking of compressed 
content from testAdditionalNarDirectoriesSpecified test case
78b822c452 is described below

commit 78b822c4520ff59653ffca1ca464a6919d000b03
Author: Peter Gyori 
AuthorDate: Mon Dec 11 16:07:26 2023 +0100

NIFI-12105: remove unnecessary checking of compressed content from 
testAdditionalNarDirectoriesSpecified test case

This closes #8150.

Signed-off-by: Peter Turcsanyi 
---
 .../org/apache/nifi/processors/stateless/TestExecuteStateless.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git 
a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/java/org/apache/nifi/processors/stateless/TestExecuteStateless.java
 
b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/java/org/apache/nifi/processors/stateless/TestExecuteStateless.java
index d7f184810c..c37b626b09 100644
--- 
a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/java/org/apache/nifi/processors/stateless/TestExecuteStateless.java
+++ 
b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/java/org/apache/nifi/processors/stateless/TestExecuteStateless.java
@@ -29,7 +29,6 @@ import java.util.Collections;
 import java.util.List;
 import java.util.function.Function;
 
-import static org.junit.jupiter.api.Assertions.assertArrayEquals;
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
@@ -227,7 +226,6 @@ public class TestExecuteStateless {
 runner.setProperty(ExecuteStateless.ADDITIONAL_LIB_DIRECTORIES, 
JSLT_DIR + "," + COMPRESS_DIR);
 runner.setProperty(ExecuteStateless.INPUT_PORT, "input");
 runner.setProperty(ExecuteStateless.FAILURE_PORTS, "failure");
-byte[] expectedContents = new byte[] {31, -117, 8, 0, 0, 0, 0, 0, 0, 
-1, 83, -14, -54, -49, -56, 83, 2, 0, 118, 63, 122, -30, 6, 0, 0, 0};
 
 runner.enqueue(JSON_OBJECT.getBytes(), Collections.singletonMap("abc", 
"xyz"));
 runner.run();
@@ -235,7 +233,6 @@ public class TestExecuteStateless {
 runner.assertTransferCount(ExecuteStateless.REL_OUTPUT, 1);
 final List output = 
runner.getFlowFilesForRelationship(ExecuteStateless.REL_OUTPUT);
 output.get(0).assertAttributeEquals("mime.type", "application/gzip");
-assertArrayEquals(output.get(0).getData(), expectedContents);
 }
 
 private void testBulletinSurfaced(final String logLevel, final boolean 
shouldBeSurfaced, final Function> 
getMessageFunction) {



(nifi-minifi-cpp) branch main updated (513cb5f53 -> 70f0bb980)

2023-12-11 Thread fgerlits
This is an automated email from the ASF dual-hosted git repository.

fgerlits pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git


from 513cb5f53 MINIFICPP-2267 - Add dynamic library to package on intel 
macos
 new 05e591ea9 MINIFICPP-1415 Pass references to onTrigger and onSchedule 
instead of shared_ptr
 new 70f0bb980 MINIFICPP-2258 Update LIBLZMA_URL (gentoo structure changed)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 cmake/BundledLibLZMA.cmake |   2 +-
 extensions/aws/processors/DeleteS3Object.cpp   |  20 +--
 extensions/aws/processors/DeleteS3Object.h |   4 +-
 extensions/aws/processors/FetchS3Object.cpp|  38 +++---
 extensions/aws/processors/FetchS3Object.h  |   6 +-
 extensions/aws/processors/ListS3.cpp   |  28 ++--
 extensions/aws/processors/ListS3.h |   4 +-
 extensions/aws/processors/PutS3Object.cpp  |  80 +--
 extensions/aws/processors/PutS3Object.h|  14 +-
 extensions/aws/processors/S3Processor.cpp  |  40 +++---
 extensions/aws/processors/S3Processor.h|  10 +-
 .../processors/AzureBlobStorageProcessorBase.cpp   |  17 ++-
 .../processors/AzureBlobStorageProcessorBase.h |   2 +-
 .../AzureDataLakeStorageProcessorBase.cpp  |   5 +-
 .../processors/AzureDataLakeStorageProcessorBase.h |   2 +-
 .../azure/processors/DeleteAzureBlobStorage.cpp|  18 ++-
 .../azure/processors/DeleteAzureBlobStorage.h  |   4 +-
 .../processors/DeleteAzureDataLakeStorage.cpp  |  15 +--
 .../azure/processors/DeleteAzureDataLakeStorage.h  |   2 +-
 .../azure/processors/FetchAzureBlobStorage.cpp |  23 ++--
 .../azure/processors/FetchAzureBlobStorage.h   |   2 +-
 .../azure/processors/FetchAzureDataLakeStorage.cpp |  23 ++--
 .../azure/processors/FetchAzureDataLakeStorage.h   |   2 +-
 .../azure/processors/ListAzureBlobStorage.cpp  |  19 ++-
 extensions/azure/processors/ListAzureBlobStorage.h |   4 +-
 .../azure/processors/ListAzureDataLakeStorage.cpp  |  22 ++-
 .../azure/processors/ListAzureDataLakeStorage.h|   4 +-
 .../azure/processors/PutAzureBlobStorage.cpp   |  34 +++--
 extensions/azure/processors/PutAzureBlobStorage.h  |   4 +-
 .../azure/processors/PutAzureDataLakeStorage.cpp   |  40 +++---
 .../azure/processors/PutAzureDataLakeStorage.h |   4 +-
 extensions/bustache/ApplyTemplate.cpp  |  11 +-
 extensions/bustache/ApplyTemplate.h|   2 +-
 extensions/civetweb/processors/ListenHTTP.cpp  |  29 ++--
 extensions/civetweb/processors/ListenHTTP.h|   4 +-
 extensions/elasticsearch/PostElasticsearch.cpp |  22 ++-
 extensions/elasticsearch/PostElasticsearch.h   |   4 +-
 extensions/gcp/processors/DeleteGCSObject.cpp  |  24 ++--
 extensions/gcp/processors/DeleteGCSObject.h|   2 +-
 extensions/gcp/processors/FetchGCSObject.cpp   |  31 +++--
 extensions/gcp/processors/FetchGCSObject.h |   4 +-
 extensions/gcp/processors/GCSProcessor.cpp |   9 +-
 extensions/gcp/processors/GCSProcessor.h   |   2 +-
 extensions/gcp/processors/ListGCSBucket.cpp|  15 +--
 extensions/gcp/processors/ListGCSBucket.h  |   4 +-
 extensions/gcp/processors/PutGCSObject.cpp |  37 +++--
 extensions/gcp/processors/PutGCSObject.h   |   4 +-
 extensions/gps/GetGPS.cpp  |  14 +-
 extensions/gps/GetGPS.h|   4 +-
 extensions/http-curl/processors/InvokeHTTP.cpp | 150 +
 extensions/http-curl/processors/InvokeHTTP.h   |  24 +++-
 extensions/http-curl/sitetosite/HTTPProtocol.cpp   |   2 +-
 extensions/http-curl/sitetosite/HTTPProtocol.h |   4 +-
 .../http-curl/tests/unit/InvokeHTTPTests.cpp   |  18 +--
 extensions/jni/ExecuteJavaProcessor.cpp|   6 +-
 extensions/jni/ExecuteJavaProcessor.h  |   3 +-
 .../processors/CollectKubernetesPodMetrics.cpp |  18 ++-
 .../processors/CollectKubernetesPodMetrics.h   |   4 +-
 extensions/libarchive/BinFiles.cpp |  26 ++--
 extensions/libarchive/BinFiles.h   |   6 +-
 extensions/libarchive/CompressContent.cpp  |  56 
 extensions/libarchive/CompressContent.h|  26 ++--
 extensions/libarchive/FocusArchiveEntry.cpp|  18 +--
 extensions/libarchive/FocusArchiveEntry.h  |   2 +-
 extensions/libarchive/ManipulateArchive.cpp|  26 ++--
 extensions/libarchive/ManipulateArchive.h  |   4 +-
 extensions/libarchive/MergeContent.cpp |  26 ++--
 extensions/libarchive/MergeContent.h   |   4 +-
 extensions/libarchive/UnfocusArchiveEntry.cpp  |  19 ++-
 exte

(nifi-minifi-cpp) 02/02: MINIFICPP-2258 Update LIBLZMA_URL (gentoo structure changed)

2023-12-11 Thread fgerlits
This is an automated email from the ASF dual-hosted git repository.

fgerlits pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit 70f0bb9806d5d47bba3e49cc74ec00bc52cfb13d
Author: Martin Zink 
AuthorDate: Thu Dec 7 09:56:35 2023 +0100

MINIFICPP-2258 Update LIBLZMA_URL (gentoo structure changed)

Signed-off-by: Ferenc Gerlits 
This closes #1704
---
 cmake/BundledLibLZMA.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/BundledLibLZMA.cmake b/cmake/BundledLibLZMA.cmake
index b3d48153c..4e58c534f 100644
--- a/cmake/BundledLibLZMA.cmake
+++ b/cmake/BundledLibLZMA.cmake
@@ -41,7 +41,7 @@ function(use_bundled_liblzma SOURCE_DIR BINARY_DIR)
 endif()
 
 # Build project
-set(LIBLZMA_URL https://tukaani.org/xz/xz-5.2.5.tar.gz 
https://gentoo.osuosl.org/distfiles/xz-5.2.5.tar.gz)
+set(LIBLZMA_URL https://distfiles.gentoo.org/distfiles/22/xz-5.2.5.tar.gz 
https://tukaani.org/xz/xz-5.2.5.tar.gz)
 set(LIBLZMA_URL_HASH 
"SHA256=f6f4910fd033078738bd82bfba4f49219d03b17eb0794eb91efbae419f4aba10")
 
 if (WIN32)



(nifi) branch main updated: NIFI-12497 Upgraded snowflake-jdbc to 3.14.4

2023-12-11 Thread pvillard
This is an automated email from the ASF dual-hosted git repository.

pvillard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
 new 718d7e0461 NIFI-12497 Upgraded snowflake-jdbc to 3.14.4
718d7e0461 is described below

commit 718d7e046143655e6b584342c5abaf6ef7bad2cb
Author: Peter Turcsanyi 
AuthorDate: Sat Dec 9 10:33:18 2023 +0100

NIFI-12497 Upgraded snowflake-jdbc to 3.14.4

Signed-off-by: Pierre Villard 

This closes #8149.
---
 nifi-nar-bundles/nifi-snowflake-bundle/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nifi-nar-bundles/nifi-snowflake-bundle/pom.xml 
b/nifi-nar-bundles/nifi-snowflake-bundle/pom.xml
index 059db5453b..539e29a812 100644
--- a/nifi-nar-bundles/nifi-snowflake-bundle/pom.xml
+++ b/nifi-nar-bundles/nifi-snowflake-bundle/pom.xml
@@ -42,7 +42,7 @@
 net.snowflake
 snowflake-jdbc
 
-3.14.3
+3.14.4
 
 
 



(nifi) branch support/nifi-1.x updated: NIFI-12497 Upgraded snowflake-jdbc to 3.14.4

2023-12-11 Thread pvillard
This is an automated email from the ASF dual-hosted git repository.

pvillard pushed a commit to branch support/nifi-1.x
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/support/nifi-1.x by this push:
 new 148100b63b NIFI-12497 Upgraded snowflake-jdbc to 3.14.4
148100b63b is described below

commit 148100b63b7e2108eb3b58e6071609233f017277
Author: Peter Turcsanyi 
AuthorDate: Sat Dec 9 10:33:18 2023 +0100

NIFI-12497 Upgraded snowflake-jdbc to 3.14.4

Signed-off-by: Pierre Villard 

This closes #8149.
---
 nifi-nar-bundles/nifi-snowflake-bundle/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nifi-nar-bundles/nifi-snowflake-bundle/pom.xml 
b/nifi-nar-bundles/nifi-snowflake-bundle/pom.xml
index 2dbe4f..00a870a0fd 100644
--- a/nifi-nar-bundles/nifi-snowflake-bundle/pom.xml
+++ b/nifi-nar-bundles/nifi-snowflake-bundle/pom.xml
@@ -42,7 +42,7 @@
 net.snowflake
 snowflake-jdbc
 
-3.14.3
+3.14.4