[nifi] branch main updated: NIFI-9901 Removed provided scope from nifi-xml-processing registry-ranger

2022-04-23 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 ac08d3311e NIFI-9901 Removed provided scope from nifi-xml-processing 
registry-ranger
ac08d3311e is described below

commit ac08d3311e62b64e52c772cbd7742f69be8957fb
Author: exceptionfactory 
AuthorDate: Sat Apr 23 16:38:50 2022 -0500

NIFI-9901 Removed provided scope from nifi-xml-processing registry-ranger

- The nifi-xml-processing library is not provided in the nifi-registry lib 
directory
- The nifi-xml-processing library must be available to the instance 
ClassLoader for the RangerAuthorizer

This closes #5994.

Signed-off-by: Peter Turcsanyi 
---
 .../nifi-registry-ranger/nifi-registry-ranger-plugin/pom.xml| 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/nifi-registry/nifi-registry-extensions/nifi-registry-ranger/nifi-registry-ranger-plugin/pom.xml
 
b/nifi-registry/nifi-registry-extensions/nifi-registry-ranger/nifi-registry-ranger-plugin/pom.xml
index 38b219cc02..7ff6964d98 100644
--- 
a/nifi-registry/nifi-registry-extensions/nifi-registry-ranger/nifi-registry-ranger-plugin/pom.xml
+++ 
b/nifi-registry/nifi-registry-extensions/nifi-registry-ranger/nifi-registry-ranger-plugin/pom.xml
@@ -59,8 +59,6 @@
 org.apache.nifi
 nifi-xml-processing
 1.17.0-SNAPSHOT
-
-provided
 
 
 org.apache.nifi.registry



[nifi] branch main updated: NIFI-9888 Fix Azure header datetime format

2022-04-23 Thread kdoran
This is an automated email from the ASF dual-hosted git repository.

kdoran 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 83a9e965d2 NIFI-9888 Fix Azure header datetime format
83a9e965d2 is described below

commit 83a9e965d285d77e7f85bd0df7d18e774d20d845
Author: Malthe Borch 
AuthorDate: Thu Apr 7 07:15:09 2022 +

NIFI-9888 Fix Azure header datetime format

This fixes the occasional "403 Forbidden" bug that we have seen, simply 
because
the signature ends up being invalid due to an invalid datetime format used.

Issue: NIFI-9888
Reference: https://stackoverflow.com/a/51636763/647151

Use statically defined formatter and explain why

This closes #5943.

Signed-off-by: Kevin Doran 
---
 .../azure/loganalytics/AbstractAzureLogAnalyticsReportingTask.java   | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/nifi-nar-bundles/nifi-azure-bundle/nifi-azure-reporting-task/src/main/java/org/apache/nifi/reporting/azure/loganalytics/AbstractAzureLogAnalyticsReportingTask.java
 
b/nifi-nar-bundles/nifi-azure-bundle/nifi-azure-reporting-task/src/main/java/org/apache/nifi/reporting/azure/loganalytics/AbstractAzureLogAnalyticsReportingTask.java
index 1017ee54ea..056d05d2a8 100644
--- 
a/nifi-nar-bundles/nifi-azure-bundle/nifi-azure-reporting-task/src/main/java/org/apache/nifi/reporting/azure/loganalytics/AbstractAzureLogAnalyticsReportingTask.java
+++ 
b/nifi-nar-bundles/nifi-azure-bundle/nifi-azure-reporting-task/src/main/java/org/apache/nifi/reporting/azure/loganalytics/AbstractAzureLogAnalyticsReportingTask.java
@@ -50,6 +50,9 @@ public abstract class AbstractAzureLogAnalyticsReportingTask 
extends AbstractRep
 
 private static final Charset UTF8 = Charset.forName("UTF-8");
 private static final String HMAC_SHA256_ALG = "HmacSHA256";
+
+// DateTimeFormatter.RFC_1123_DATE_TIME does not work in every case, such 
as when a
+// two-digit day of month is always required, so we are defining our own 
formatter here.
 private static final DateTimeFormatter RFC_1123_DATE_TIME = 
DateTimeFormatter
 .ofPattern("EEE, dd MMM  HH:mm:ss O");
 
@@ -136,7 +139,7 @@ public abstract class 
AbstractAzureLogAnalyticsReportingTask extends AbstractRep
 
 final int bodyLength = rawJson.getBytes(UTF8).length;
 final ZonedDateTime zNow = ZonedDateTime.now(ZoneOffset.UTC);
-final String nowRfc1123 = 
zNow.format(DateTimeFormatter.RFC_1123_DATE_TIME);
+final String nowRfc1123 = zNow.format(RFC_1123_DATE_TIME);
 final String nowISO8601 = zNow.format(DateTimeFormatter.ISO_DATE_TIME);
 final String createAuthorization = createAuthorization(workspaceId, 
linuxPrimaryKey, bodyLength, nowRfc1123);
 request.addHeader("Authorization", createAuthorization);



[nifi] branch main updated: NIFI-9952 Upgraded Jackson BOM to 2.13.2.20220328

2022-04-23 Thread mthomsen
This is an automated email from the ASF dual-hosted git repository.

mthomsen 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 4f423a59ba NIFI-9952 Upgraded Jackson BOM to 2.13.2.20220328
4f423a59ba is described below

commit 4f423a59ba6ef40cbed8dda225c6cbba7bc94dc6
Author: exceptionfactory 
AuthorDate: Fri Apr 22 13:52:43 2022 -0500

NIFI-9952 Upgraded Jackson BOM to 2.13.2.20220328

- Removed unnecessary references to jackson.version property
- Removed unnecessary dependency management references to Jackson libraries

This closes #5992

Signed-off-by: Mike Thomsen 
---
 .../minifi-c2-provider-nifi-rest/pom.xml   |  1 -
 minifi/pom.xml |  5 ---
 nifi-commons/nifi-expression-language/pom.xml  |  1 -
 nifi-commons/nifi-json-utils/pom.xml   |  2 --
 nifi-commons/nifi-property-protection-aws/pom.xml  |  1 -
 nifi-commons/nifi-record-path/pom.xml  |  1 -
 nifi-commons/nifi-site-to-site-client/pom.xml  |  1 -
 nifi-commons/nifi-web-utils/pom.xml|  3 --
 nifi-external/nifi-spark-receiver/pom.xml  |  1 -
 nifi-manifest/nifi-runtime-manifest-core/pom.xml   |  1 -
 .../nifi-avro-bundle/nifi-avro-processors/pom.xml  |  1 -
 .../nifi-aws-abstract-processors/pom.xml   | 13 
 .../nifi-aws-parameter-value-providers/pom.xml |  1 -
 .../nifi-aws-bundle/nifi-aws-service-api/pom.xml   | 13 
 nifi-nar-bundles/nifi-aws-bundle/pom.xml   |  8 -
 .../nifi-azure-processors/pom.xml  | 39 --
 .../nifi-azure-services-api/pom.xml| 21 
 nifi-nar-bundles/nifi-azure-bundle/pom.xml | 37 
 .../pom.xml|  1 -
 nifi-nar-bundles/nifi-cassandra-bundle/pom.xml | 11 --
 nifi-nar-bundles/nifi-cdc/nifi-cdc-api/pom.xml |  1 -
 .../nifi-datadog-reporting-task/pom.xml|  1 -
 nifi-nar-bundles/nifi-druid-bundle/pom.xml | 22 
 .../nifi-easyrules-service/pom.xml |  1 -
 .../nifi-elasticsearch-client-service-api/pom.xml  |  1 -
 .../nifi-elasticsearch-client-service/pom.xml  |  1 -
 .../nifi-elasticsearch-processors/pom.xml  |  2 --
 .../nifi-elasticsearch-restapi-processors/pom.xml  |  1 -
 .../nifi-enrich-processors/pom.xml |  1 -
 nifi-nar-bundles/nifi-enrich-bundle/pom.xml| 16 -
 .../nifi-extension-utils/nifi-hadoop-utils/pom.xml | 11 --
 .../nifi-listed-entity/pom.xml |  1 -
 .../nifi-hadoop-record-utils/pom.xml   | 11 --
 .../nifi-flume-processors/pom.xml  |  1 -
 .../nifi-framework-cluster-protocol/pom.xml|  1 -
 .../nifi-framework/nifi-framework-cluster/pom.xml  |  3 --
 .../nifi-web/nifi-web-security/pom.xml |  1 -
 nifi-nar-bundles/nifi-framework-bundle/pom.xml |  5 ---
 .../nifi-gcp-bundle/nifi-gcp-services-api/pom.xml  |  1 -
 nifi-nar-bundles/nifi-gcp-bundle/pom.xml   | 16 -
 .../nifi-graph-processors/pom.xml  |  1 -
 nifi-nar-bundles/nifi-hadoop-bundle/pom.xml|  6 
 .../nifi-hadoop-libraries-bundle/pom.xml   | 26 ---
 .../nifi-hbase-processors/pom.xml  |  2 --
 nifi-nar-bundles/nifi-hive-bundle/pom.xml  | 11 --
 .../nifi-jms-bundle/nifi-jms-processors/pom.xml|  1 -
 .../nifi-jolt-record-processors/pom.xml|  1 -
 .../nifi-kudu-bundle/nifi-kudu-processors/pom.xml  |  1 -
 .../nifi-mongodb-services/pom.xml  |  1 -
 .../nifi-network-processors/pom.xml|  1 -
 .../nifi-network-bundle/nifi-network-utils/pom.xml |  1 -
 .../nifi-parquet-processors/pom.xml|  1 -
 .../nifi-ranger-bundle/nifi-ranger-plugin/pom.xml  |  1 -
 nifi-nar-bundles/nifi-ranger-bundle/pom.xml|  6 
 .../nifi-redis-extensions/pom.xml  |  1 -
 .../nifi-rules-action-handler-bundle/pom.xml   | 11 --
 .../nifi-salesforce-processors/pom.xml |  2 --
 .../nifi-solr-bundle/nifi-solr-processors/pom.xml  |  1 -
 .../nifi-livy-controller-service/pom.xml   |  1 -
 .../nifi-splunk-processors/pom.xml |  1 -
 nifi-nar-bundles/nifi-sql-reporting-bundle/pom.xml |  6 
 .../nifi-standard-utils/pom.xml|  7 
 nifi-nar-bundles/nifi-standard-bundle/pom.xml  | 34 ---
 .../nifi-hadoop-dbcp-service-bundle/pom.xml| 11 --
 .../nifi-hwx-schema-registry-service/pom.xml   | 25 --
 .../nifi-lookup-services-bundle/pom.xml| 11 --
 .../nifi-oauth2-provider-service/pom.xml   |  1 -
 .../nifi-record-serialization-services/pom.xml |  2 --
 .../nifi-stateless-processor/pom.xml   |  1 -