[GitHub] [nifi] tanmaya-panda1 closed pull request #7119: NIFI-8294 source

2023-04-03 Thread via GitHub


tanmaya-panda1 closed pull request #7119: NIFI-8294 source
URL: https://github.com/apache/nifi/pull/7119


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [nifi] tanmaya-panda1 opened a new pull request, #7119: NIFI-8294 source

2023-04-03 Thread via GitHub


tanmaya-panda1 opened a new pull request, #7119:
URL: https://github.com/apache/nifi/pull/7119

   
   
   
   
   
   
   
   
   
   
   
   
   
   # Summary
   
   [NIFI-8294](https://issues.apache.org/jira/browse/NIFI-8294)
   
   # Tracking
   
   Please complete the following tracking steps prior to pull request creation.
   
   ### Issue Tracking
   
   - [ ] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue 
created
   
   ### Pull Request Tracking
   
   - [ ] Pull Request title starts with Apache NiFi Jira issue number, such as 
`NIFI-0`
   - [ ] Pull Request commit message starts with Apache NiFi Jira issue number, 
as such `NIFI-0`
   
   ### Pull Request Formatting
   
   - [ ] Pull Request based on current revision of the `main` branch
   - [ ] Pull Request refers to a feature branch with one commit containing 
changes
   
   # Verification
   
   Please indicate the verification steps performed prior to pull request 
creation.
   
   ### Build
   
   - [ ] Build completed using `mvn clean install -P contrib-check`
 - [ ] JDK 11
 - [ ] JDK 17
   
   ### Licensing
   
   - [ ] New dependencies are compatible with the [Apache License 
2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License 
Policy](https://www.apache.org/legal/resolved.html)
   - [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` 
files
   
   ### Documentation
   
   - [ ] Documentation formatting appears as expected in rendered files
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [nifi] tanmaya-panda1 closed pull request #7118: NIFI-8294 source

2023-04-03 Thread via GitHub


tanmaya-panda1 closed pull request #7118: NIFI-8294 source
URL: https://github.com/apache/nifi/pull/7118


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [nifi] tanmaya-panda1 opened a new pull request, #7118: Nifi 8294 source

2023-04-03 Thread via GitHub


tanmaya-panda1 opened a new pull request, #7118:
URL: https://github.com/apache/nifi/pull/7118

   
   
   
   
   
   
   
   
   
   
   
   
   
   # Summary
   
   [NIFI-0](https://issues.apache.org/jira/browse/NIFI-0)
   
   # Tracking
   
   Please complete the following tracking steps prior to pull request creation.
   
   ### Issue Tracking
   
   - [ ] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue 
created
   
   ### Pull Request Tracking
   
   - [ ] Pull Request title starts with Apache NiFi Jira issue number, such as 
`NIFI-0`
   - [ ] Pull Request commit message starts with Apache NiFi Jira issue number, 
as such `NIFI-0`
   
   ### Pull Request Formatting
   
   - [ ] Pull Request based on current revision of the `main` branch
   - [ ] Pull Request refers to a feature branch with one commit containing 
changes
   
   # Verification
   
   Please indicate the verification steps performed prior to pull request 
creation.
   
   ### Build
   
   - [ ] Build completed using `mvn clean install -P contrib-check`
 - [ ] JDK 11
 - [ ] JDK 17
   
   ### Licensing
   
   - [ ] New dependencies are compatible with the [Apache License 
2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License 
Policy](https://www.apache.org/legal/resolved.html)
   - [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` 
files
   
   ### Documentation
   
   - [ ] Documentation formatting appears as expected in rendered files
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [nifi] tanmaya-panda1 closed pull request #7106: NIFI-8294 ADX as source

2023-04-03 Thread via GitHub


tanmaya-panda1 closed pull request #7106: NIFI-8294 ADX as source
URL: https://github.com/apache/nifi/pull/7106


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Created] (NIFI-11382) UI - Processor property configurations throws console error when referenced parameter is deleted

2023-04-03 Thread Margot Tien (Jira)
Margot Tien created NIFI-11382:
--

 Summary: UI - Processor property configurations throws console 
error when referenced parameter is deleted
 Key: NIFI-11382
 URL: https://issues.apache.org/jira/browse/NIFI-11382
 Project: Apache NiFi
  Issue Type: Bug
  Components: Core UI
Affects Versions: 1.20.0
Reporter: Margot Tien
Assignee: Margot Tien
 Attachments: Screen Shot 2023-03-31 at 12.36.32 PM.png

When a processor is configured with a referenced parameter and that parameter 
is deleted, the next time the user configures the property, it will throw a 
console error.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [nifi] mtien-apache opened a new pull request, #7117: NIFI-11287: detect dependent properties when the property it depends on references a parameter (UI)

2023-04-03 Thread via GitHub


mtien-apache opened a new pull request, #7117:
URL: https://github.com/apache/nifi/pull/7117

   !-- Licensed to the Apache Software Foundation (ASF) under one or more -->
   
   
   
   
   
   
   
   
   
   
   
   
   # Summary
   
   [NIFI-11287](https://issues.apache.org/jira/browse/NIFI-11287) (UI)
   To test:
   - add the Compress Content processor to the canvas
   - for property "Mode", select between "compress" and "decompress". You 
should see the "Compress Level" dependent property show and hide
   - create and add a parameter context with a parameter that has a value of 
"decompress" 
   - back in the processor configurations, configure the "Mode" property with 
the new parameter. The "Compress Level" property should hide. 
   
   # Tracking
   
   Please complete the following tracking steps prior to pull request creation.
   
   ### Issue Tracking
   
   - [x] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue 
created
   
   ### Pull Request Tracking
   
   - [x] Pull Request title starts with Apache NiFi Jira issue number, such as 
`NIFI-0`
   - [x] Pull Request commit message starts with Apache NiFi Jira issue number, 
as such `NIFI-0`
   
   ### Pull Request Formatting
   
   - [x] Pull Request based on current revision of the `main` branch
   - [ ] Pull Request refers to a feature branch with one commit containing 
changes
   
   # Verification
   
   Please indicate the verification steps performed prior to pull request 
creation.
   
   ### Build
   
   - [ ] Build completed using `mvn clean install -P contrib-check`
 - [x] JDK 11
 - [ ] JDK 17
   
   ### Licensing
   
   - [ ] New dependencies are compatible with the [Apache License 
2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License 
Policy](https://www.apache.org/legal/resolved.html)
   - [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` 
files
   
   ### Documentation
   
   - [ ] Documentation formatting appears as expected in rendered files
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Created] (NIFI-11381) Store flow configuration history in versioned process groups

2023-04-03 Thread John Wise (Jira)
John Wise created NIFI-11381:


 Summary: Store flow configuration history in versioned process 
groups
 Key: NIFI-11381
 URL: https://issues.apache.org/jira/browse/NIFI-11381
 Project: Apache NiFi
  Issue Type: Improvement
  Components: Configuration Management, NiFi Registry
Reporter: John Wise


Some of our team members have complained that process groups updated via NiFi 
Registry don’t maintain the Flow Configuration History from the node/cluster 
where a given set of changes were made.  They want it primarily to figure out 
who made changes, more so than what actually changed.

I presume that not storing that information in the Registry is by design, since 
the history is local to the node on which the changes were made.

I’ve shown them how to use the API to perform diffs, but that’s not acceptable 
to them in its current form either.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (NIFI-11357) Conduct Apache NiFi 1.21.0 release

2023-04-03 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-11357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17708170#comment-17708170
 ] 

ASF subversion and git services commented on NIFI-11357:


Commit 892f822107da84ca0dcfefdb5c91c5bc11dc3dc1 in nifi's branch 
refs/heads/NIFI-11357-RC2 from Joe Witt
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=892f822107 ]

NIFI-11357-RC2 prepare release nifi-1.21.0-RC2


> Conduct Apache NiFi 1.21.0 release
> --
>
> Key: NIFI-11357
> URL: https://issues.apache.org/jira/browse/NIFI-11357
> Project: Apache NiFi
>  Issue Type: Task
>Reporter: Joe Witt
>Assignee: Joe Witt
>Priority: Trivial
> Fix For: 1.21.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (NIFI-11357) Conduct Apache NiFi 1.21.0 release

2023-04-03 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-11357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17708171#comment-17708171
 ] 

ASF subversion and git services commented on NIFI-11357:


Commit 9c27ddcb1ccba6b47927af7ade5a4cbc06e3799d in nifi's branch 
refs/heads/NIFI-11357-RC2 from Joe Witt
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=9c27ddcb1c ]

NIFI-11357-RC2 prepare for next development iteration


> Conduct Apache NiFi 1.21.0 release
> --
>
> Key: NIFI-11357
> URL: https://issues.apache.org/jira/browse/NIFI-11357
> Project: Apache NiFi
>  Issue Type: Task
>Reporter: Joe Witt
>Assignee: Joe Witt
>Priority: Trivial
> Fix For: 1.21.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (NIFI-11376) Upgrade Jetty to 9.4.51

2023-04-03 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-11376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17708137#comment-17708137
 ] 

ASF subversion and git services commented on NIFI-11376:


Commit 435caa76008f9e86f16beb92e757846a9e44e8f0 in nifi's branch 
refs/heads/support/nifi-1.x from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=435caa7600 ]

NIFI-11376 This closes #7112. Upgraded Jetty from 9.4.50 to 9.4.51

Signed-off-by: Joe Witt 


> Upgrade Jetty to 9.4.51
> ---
>
> Key: NIFI-11376
> URL: https://issues.apache.org/jira/browse/NIFI-11376
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework, MiNiFi, NiFi Registry
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 2.0.0, 1.21.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Jetty 
> [9.4.51|https://github.com/eclipse/jetty.project/releases/tag/jetty-9.4.51.v20230217]
>  includes a minor improvement related to cookie parsing as well as several 
> transitive dependency upgrades. Jetty should be upgraded to the latest patch 
> release prior to evaluating more significant version upgrades.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (NIFI-11377) Upgrade Apache Iceberg to 1.2.0

2023-04-03 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-11377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17708138#comment-17708138
 ] 

ASF subversion and git services commented on NIFI-11377:


Commit e3c550e73c082a24679c1a24c806d78aec35f677 in nifi's branch 
refs/heads/support/nifi-1.x from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=e3c550e73c ]

NIFI-11377 This closes #7113. Upgraded Apache Iceberg from 1.1.0 to 1.2.0

Signed-off-by: Joe Witt 


> Upgrade Apache Iceberg to 1.2.0
> ---
>
> Key: NIFI-11377
> URL: https://issues.apache.org/jira/browse/NIFI-11377
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 2.0.0, 1.21.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Apache Iceberg [1.2.0|https://iceberg.apache.org/releases/#120-release] 
> includes bug features, new features, and transitive dependency upgrades.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (NIFI-11378) Upgrade Jersey to 2.39.1

2023-04-03 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-11378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17708139#comment-17708139
 ] 

ASF subversion and git services commented on NIFI-11378:


Commit ebaff2c616142aa892232334924f52787fc1aabf in nifi's branch 
refs/heads/support/nifi-1.x from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=ebaff2c616 ]

NIFI-11378 This closes #7115. Upgraded Jersey from 2.36 to 2.39.1

Signed-off-by: Joe Witt 


> Upgrade Jersey to 2.39.1
> 
>
> Key: NIFI-11378
> URL: https://issues.apache.org/jira/browse/NIFI-11378
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework, Extensions
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 2.0.0, 1.21.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Jersey 
> [2.39.1|https://projects.eclipse.org/projects/ee4j.jersey/releases/2.39.1] 
> includes several minor bug fixes and improvements over the current version 
> 2.36 used in multiple framework and extension components.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (NIFI-11375) Upgrade Surefire Plugin to 3.0.0 and Upgrade Other Plugins

2023-04-03 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-11375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17708136#comment-17708136
 ] 

ASF subversion and git services commented on NIFI-11375:


Commit 1e043d479beab82862c39af3b91f85fd8eeef2b6 in nifi's branch 
refs/heads/support/nifi-1.x from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=1e043d479b ]

NIFI-11375 This closes #7111. Upgraded Surefire to 3.0.0 and upgraded other 
plugins

- Upgraded Surefire Plugin from 3.0.0-M8 to 3.0.0
- Upgraded Compiler Plugin from 3.10.1 to 3.11.0
- Upgraded Assembly Plugin from 3.4.2 to 3.5.0
- Upgraded Javadoc Plugin from 3.4.1 to 3.5.0
- Upgraded Release Plugin from 3.0.0-M7 to 3.0.0

Signed-off-by: Joe Witt 


> Upgrade Surefire Plugin to 3.0.0 and Upgrade Other Plugins
> --
>
> Key: NIFI-11375
> URL: https://issues.apache.org/jira/browse/NIFI-11375
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Tools and Build
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Major
>  Labels: dependency-upgrade
> Fix For: 2.0.0, 1.21.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> The Maven Surefire Plugin version 
> [3.0.0|https://github.com/apache/maven-surefire/releases/tag/surefire-3.0.0] 
> includes several improvements over the previous milestone releases.
> Other Maven Plugins such as the Compiler Plugin and Assembly Plugin should 
> also be upgraded to the latest versions



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11379) Upgrade jgit version used by NiFi Registry

2023-04-03 Thread Chris Sampson (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Sampson updated NIFI-11379:
-
Fix Version/s: 2.latest

> Upgrade jgit version used by NiFi Registry
> --
>
> Key: NIFI-11379
> URL: https://issues.apache.org/jira/browse/NIFI-11379
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: NiFi Registry
>Reporter: Chris Sampson
>Priority: Minor
> Fix For: 2.latest
>
>
> With the uplift of NiFi components to a Java 11 minimum baseline,  NiFi 
> Registry can now use the jgit 6.x release line (6.0.0 requires java 11+).
> Latest release at time of writing is 
> [6.5.0|https://projects.eclipse.org/projects/technology.jgit/releases/6.5.0]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11378) Upgrade Jersey to 2.39.1

2023-04-03 Thread Joe Witt (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Witt updated NIFI-11378:

Resolution: Fixed
Status: Resolved  (was: Patch Available)

> Upgrade Jersey to 2.39.1
> 
>
> Key: NIFI-11378
> URL: https://issues.apache.org/jira/browse/NIFI-11378
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework, Extensions
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 2.0.0, 1.21.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Jersey 
> [2.39.1|https://projects.eclipse.org/projects/ee4j.jersey/releases/2.39.1] 
> includes several minor bug fixes and improvements over the current version 
> 2.36 used in multiple framework and extension components.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11377) Upgrade Apache Iceberg to 1.2.0

2023-04-03 Thread Joe Witt (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Witt updated NIFI-11377:

Fix Version/s: 1.21.0

> Upgrade Apache Iceberg to 1.2.0
> ---
>
> Key: NIFI-11377
> URL: https://issues.apache.org/jira/browse/NIFI-11377
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 2.0.0, 1.21.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Apache Iceberg [1.2.0|https://iceberg.apache.org/releases/#120-release] 
> includes bug features, new features, and transitive dependency upgrades.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11377) Upgrade Apache Iceberg to 1.2.0

2023-04-03 Thread Joe Witt (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Witt updated NIFI-11377:

Fix Version/s: 2.0.0
   (was: 1.latest)
   (was: 2.latest)

> Upgrade Apache Iceberg to 1.2.0
> ---
>
> Key: NIFI-11377
> URL: https://issues.apache.org/jira/browse/NIFI-11377
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 2.0.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Apache Iceberg [1.2.0|https://iceberg.apache.org/releases/#120-release] 
> includes bug features, new features, and transitive dependency upgrades.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11376) Upgrade Jetty to 9.4.51

2023-04-03 Thread Joe Witt (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Witt updated NIFI-11376:

Fix Version/s: 2.0.0

> Upgrade Jetty to 9.4.51
> ---
>
> Key: NIFI-11376
> URL: https://issues.apache.org/jira/browse/NIFI-11376
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework, MiNiFi, NiFi Registry
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 2.0.0, 1.21.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Jetty 
> [9.4.51|https://github.com/eclipse/jetty.project/releases/tag/jetty-9.4.51.v20230217]
>  includes a minor improvement related to cookie parsing as well as several 
> transitive dependency upgrades. Jetty should be upgraded to the latest patch 
> release prior to evaluating more significant version upgrades.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11376) Upgrade Jetty to 9.4.51

2023-04-03 Thread Joe Witt (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Witt updated NIFI-11376:

Fix Version/s: 1.21.0

> Upgrade Jetty to 9.4.51
> ---
>
> Key: NIFI-11376
> URL: https://issues.apache.org/jira/browse/NIFI-11376
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework, MiNiFi, NiFi Registry
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 1.21.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Jetty 
> [9.4.51|https://github.com/eclipse/jetty.project/releases/tag/jetty-9.4.51.v20230217]
>  includes a minor improvement related to cookie parsing as well as several 
> transitive dependency upgrades. Jetty should be upgraded to the latest patch 
> release prior to evaluating more significant version upgrades.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11375) Upgrade Surefire Plugin to 3.0.0 and Upgrade Other Plugins

2023-04-03 Thread Joe Witt (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Witt updated NIFI-11375:

Resolution: Fixed
Status: Resolved  (was: Patch Available)

> Upgrade Surefire Plugin to 3.0.0 and Upgrade Other Plugins
> --
>
> Key: NIFI-11375
> URL: https://issues.apache.org/jira/browse/NIFI-11375
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Tools and Build
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Major
>  Labels: dependency-upgrade
> Fix For: 2.0.0, 1.21.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> The Maven Surefire Plugin version 
> [3.0.0|https://github.com/apache/maven-surefire/releases/tag/surefire-3.0.0] 
> includes several improvements over the previous milestone releases.
> Other Maven Plugins such as the Compiler Plugin and Assembly Plugin should 
> also be upgraded to the latest versions



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11376) Upgrade Jetty to 9.4.51

2023-04-03 Thread Joe Witt (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Witt updated NIFI-11376:

Resolution: Fixed
Status: Resolved  (was: Patch Available)

> Upgrade Jetty to 9.4.51
> ---
>
> Key: NIFI-11376
> URL: https://issues.apache.org/jira/browse/NIFI-11376
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework, MiNiFi, NiFi Registry
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 2.0.0, 1.21.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Jetty 
> [9.4.51|https://github.com/eclipse/jetty.project/releases/tag/jetty-9.4.51.v20230217]
>  includes a minor improvement related to cookie parsing as well as several 
> transitive dependency upgrades. Jetty should be upgraded to the latest patch 
> release prior to evaluating more significant version upgrades.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11377) Upgrade Apache Iceberg to 1.2.0

2023-04-03 Thread Joe Witt (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Witt updated NIFI-11377:

Resolution: Fixed
Status: Resolved  (was: Patch Available)

> Upgrade Apache Iceberg to 1.2.0
> ---
>
> Key: NIFI-11377
> URL: https://issues.apache.org/jira/browse/NIFI-11377
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 2.0.0, 1.21.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Apache Iceberg [1.2.0|https://iceberg.apache.org/releases/#120-release] 
> includes bug features, new features, and transitive dependency upgrades.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11378) Upgrade Jersey to 2.39.1

2023-04-03 Thread Joe Witt (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Witt updated NIFI-11378:

Fix Version/s: 2.0.0
   1.21.0
   (was: 1.latest)
   (was: 2.latest)

> Upgrade Jersey to 2.39.1
> 
>
> Key: NIFI-11378
> URL: https://issues.apache.org/jira/browse/NIFI-11378
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework, Extensions
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 2.0.0, 1.21.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Jersey 
> [2.39.1|https://projects.eclipse.org/projects/ee4j.jersey/releases/2.39.1] 
> includes several minor bug fixes and improvements over the current version 
> 2.36 used in multiple framework and extension components.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11376) Upgrade Jetty to 9.4.51

2023-04-03 Thread Joe Witt (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Witt updated NIFI-11376:

Fix Version/s: (was: 1.latest)
   (was: 2.latest)

> Upgrade Jetty to 9.4.51
> ---
>
> Key: NIFI-11376
> URL: https://issues.apache.org/jira/browse/NIFI-11376
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework, MiNiFi, NiFi Registry
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Jetty 
> [9.4.51|https://github.com/eclipse/jetty.project/releases/tag/jetty-9.4.51.v20230217]
>  includes a minor improvement related to cookie parsing as well as several 
> transitive dependency upgrades. Jetty should be upgraded to the latest patch 
> release prior to evaluating more significant version upgrades.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11375) Upgrade Surefire Plugin to 3.0.0 and Upgrade Other Plugins

2023-04-03 Thread Joe Witt (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Witt updated NIFI-11375:

Fix Version/s: 2.0.0
   1.21.0
   (was: 1.latest)
   (was: 2.latest)

> Upgrade Surefire Plugin to 3.0.0 and Upgrade Other Plugins
> --
>
> Key: NIFI-11375
> URL: https://issues.apache.org/jira/browse/NIFI-11375
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Tools and Build
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Major
>  Labels: dependency-upgrade
> Fix For: 2.0.0, 1.21.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> The Maven Surefire Plugin version 
> [3.0.0|https://github.com/apache/maven-surefire/releases/tag/surefire-3.0.0] 
> includes several improvements over the previous milestone releases.
> Other Maven Plugins such as the Compiler Plugin and Assembly Plugin should 
> also be upgraded to the latest versions



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (NIFI-11376) Upgrade Jetty to 9.4.51

2023-04-03 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-11376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17708127#comment-17708127
 ] 

ASF subversion and git services commented on NIFI-11376:


Commit 794f77c7367bd45ad21040650d0e46b9cf37a195 in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=794f77c736 ]

NIFI-11376 This closes #7112. Upgraded Jetty from 9.4.50 to 9.4.51

Signed-off-by: Joe Witt 


> Upgrade Jetty to 9.4.51
> ---
>
> Key: NIFI-11376
> URL: https://issues.apache.org/jira/browse/NIFI-11376
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework, MiNiFi, NiFi Registry
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 1.latest, 2.latest
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Jetty 
> [9.4.51|https://github.com/eclipse/jetty.project/releases/tag/jetty-9.4.51.v20230217]
>  includes a minor improvement related to cookie parsing as well as several 
> transitive dependency upgrades. Jetty should be upgraded to the latest patch 
> release prior to evaluating more significant version upgrades.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (NIFI-11377) Upgrade Apache Iceberg to 1.2.0

2023-04-03 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-11377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17708128#comment-17708128
 ] 

ASF subversion and git services commented on NIFI-11377:


Commit dffad44a03b6d3cad70debc3f7aaf645dadea43a in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=dffad44a03 ]

NIFI-11377 This closes #7113. Upgraded Apache Iceberg from 1.1.0 to 1.2.0

Signed-off-by: Joe Witt 


> Upgrade Apache Iceberg to 1.2.0
> ---
>
> Key: NIFI-11377
> URL: https://issues.apache.org/jira/browse/NIFI-11377
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 1.latest, 2.latest
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Apache Iceberg [1.2.0|https://iceberg.apache.org/releases/#120-release] 
> includes bug features, new features, and transitive dependency upgrades.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (NIFI-11375) Upgrade Surefire Plugin to 3.0.0 and Upgrade Other Plugins

2023-04-03 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-11375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17708126#comment-17708126
 ] 

ASF subversion and git services commented on NIFI-11375:


Commit 86bc185abfcc206d6018507b129766f0a1933f91 in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=86bc185abf ]

NIFI-11375 This closes #7111. Upgraded Surefire to 3.0.0 and upgraded other 
plugins

- Upgraded Surefire Plugin from 3.0.0-M8 to 3.0.0
- Upgraded Compiler Plugin from 3.10.1 to 3.11.0
- Upgraded Assembly Plugin from 3.4.2 to 3.5.0
- Upgraded Javadoc Plugin from 3.4.1 to 3.5.0
- Upgraded Release Plugin from 3.0.0-M7 to 3.0.0

Signed-off-by: Joe Witt 


> Upgrade Surefire Plugin to 3.0.0 and Upgrade Other Plugins
> --
>
> Key: NIFI-11375
> URL: https://issues.apache.org/jira/browse/NIFI-11375
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Tools and Build
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Major
>  Labels: dependency-upgrade
> Fix For: 1.latest, 2.latest
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The Maven Surefire Plugin version 
> [3.0.0|https://github.com/apache/maven-surefire/releases/tag/surefire-3.0.0] 
> includes several improvements over the previous milestone releases.
> Other Maven Plugins such as the Compiler Plugin and Assembly Plugin should 
> also be upgraded to the latest versions



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (NIFI-11378) Upgrade Jersey to 2.39.1

2023-04-03 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-11378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17708129#comment-17708129
 ] 

ASF subversion and git services commented on NIFI-11378:


Commit a8a6d2065920d4a9900e2a53af003d51fd26ed66 in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=a8a6d20659 ]

NIFI-11378 This closes #7115. Upgraded Jersey from 2.36 to 2.39.1

Signed-off-by: Joe Witt 


> Upgrade Jersey to 2.39.1
> 
>
> Key: NIFI-11378
> URL: https://issues.apache.org/jira/browse/NIFI-11378
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework, Extensions
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 1.latest, 2.latest
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Jersey 
> [2.39.1|https://projects.eclipse.org/projects/ee4j.jersey/releases/2.39.1] 
> includes several minor bug fixes and improvements over the current version 
> 2.36 used in multiple framework and extension components.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [nifi] asfgit closed pull request #7112: NIFI-11376 Upgrade Jetty from 9.4.50 to 9.4.51

2023-04-03 Thread via GitHub


asfgit closed pull request #7112: NIFI-11376 Upgrade Jetty from 9.4.50 to 9.4.51
URL: https://github.com/apache/nifi/pull/7112


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [nifi] asfgit closed pull request #7113: NIFI-11377 Upgrade Apache Iceberg from 1.1.0 to 1.2.0

2023-04-03 Thread via GitHub


asfgit closed pull request #7113: NIFI-11377 Upgrade Apache Iceberg from 1.1.0 
to 1.2.0
URL: https://github.com/apache/nifi/pull/7113


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [nifi] asfgit closed pull request #7115: NIFI-11378 Upgrade Jersey from 2.36 to 2.39.1

2023-04-03 Thread via GitHub


asfgit closed pull request #7115: NIFI-11378 Upgrade Jersey from 2.36 to 2.39.1
URL: https://github.com/apache/nifi/pull/7115


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [nifi] asfgit closed pull request #7111: NIFI-11375 Upgrade Surefire to 3.0.0 and upgrade other plugins

2023-04-03 Thread via GitHub


asfgit closed pull request #7111: NIFI-11375 Upgrade Surefire to 3.0.0 and 
upgrade other plugins
URL: https://github.com/apache/nifi/pull/7111


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Updated] (NIFI-11380) Refactor CaptureChangeMySQL with improvements

2023-04-03 Thread Matt Burgess (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Burgess updated NIFI-11380:

Status: Patch Available  (was: In Progress)

> Refactor CaptureChangeMySQL with improvements
> -
>
> Key: NIFI-11380
> URL: https://issues.apache.org/jira/browse/NIFI-11380
> Project: Apache NiFi
>  Issue Type: Improvement
>Reporter: Matt Burgess
>Assignee: Matt Burgess
>Priority: Major
> Fix For: 1.latest, 2.latest
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The CaptureChangeMySQL processor can be improved in many ways:
> - Eliminate use of DistributedCacheClient
> - MySQLCDCUtils - delete this class. It’s unnecessary. Just put the single 
> method that exists in the parent class of the writers
> - Eliminate mutable member variables. Gather all state together into an 
> object and store that as a single volatile member variable.
> - The outputEvents method is a huge block of switch/case and if/then/else 
> blocks. Kill all of this. Create an interface that’s capable of handling a 
> given event type and have multiple implementations. Determine appropriate 
> impl and call the method.
> - Do not keep a bunch of member variables to “rollback local state”. Keep 
> this in variables. If we fail, no harm, no foul. If we succeed, then update 
> member variable.
> - Remove onStopped method, just annotate stop() method with @OnStopped. No 
> need for @OnShutdown
> - Change name of “hostname” property to "node", and don’t require the port! 
> Default to 3306.
> - Remove unused hasRun member variable



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [nifi] mattyb149 opened a new pull request, #7116: NIFI-11380: Refactor CaptureChangeMySQL with improvements

2023-04-03 Thread via GitHub


mattyb149 opened a new pull request, #7116:
URL: https://github.com/apache/nifi/pull/7116

   # Summary
   
   [NIFI-11380](https://issues.apache.org/jira/browse/NIFI-11380) This PR makes 
a number of improvements to the readability, maintainability, and capability of 
the CaptureChangeMySQL processor. See the Jira for a detailed list
   
   # Tracking
   
   Please complete the following tracking steps prior to pull request creation.
   
   ### Issue Tracking
   
   - [x] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue 
created
   
   ### Pull Request Tracking
   
   - [x] Pull Request title starts with Apache NiFi Jira issue number, such as 
`NIFI-0`
   - [x] Pull Request commit message starts with Apache NiFi Jira issue number, 
as such `NIFI-0`
   
   ### Pull Request Formatting
   
   - [x] Pull Request based on current revision of the `main` branch
   - [x] Pull Request refers to a feature branch with one commit containing 
changes
   
   # Verification
   
   Please indicate the verification steps performed prior to pull request 
creation.
   
   ### Build
   
   - [ ] Build completed using `mvn clean install -P contrib-check`
 - [x] JDK 11
 - [ ] JDK 17
   
   ### Licensing
   
   - [ ] New dependencies are compatible with the [Apache License 
2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License 
Policy](https://www.apache.org/legal/resolved.html)
   - [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` 
files
   
   ### Documentation
   
   - [ ] Documentation formatting appears as expected in rendered files
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Updated] (NIFI-11380) Refactor CaptureChangeMySQL with improvements

2023-04-03 Thread Matt Burgess (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Burgess updated NIFI-11380:

Fix Version/s: 1.latest
   2.latest

> Refactor CaptureChangeMySQL with improvements
> -
>
> Key: NIFI-11380
> URL: https://issues.apache.org/jira/browse/NIFI-11380
> Project: Apache NiFi
>  Issue Type: Improvement
>Reporter: Matt Burgess
>Assignee: Matt Burgess
>Priority: Major
> Fix For: 1.latest, 2.latest
>
>
> The CaptureChangeMySQL processor can be improved in many ways:
> - Eliminate use of DistributedCacheClient
> - MySQLCDCUtils - delete this class. It’s unnecessary. Just put the single 
> method that exists in the parent class of the writers
> - Eliminate mutable member variables. Gather all state together into an 
> object and store that as a single volatile member variable.
> - The outputEvents method is a huge block of switch/case and if/then/else 
> blocks. Kill all of this. Create an interface that’s capable of handling a 
> given event type and have multiple implementations. Determine appropriate 
> impl and call the method.
> - Do not keep a bunch of member variables to “rollback local state”. Keep 
> this in variables. If we fail, no harm, no foul. If we succeed, then update 
> member variable.
> - Remove onStopped method, just annotate stop() method with @OnStopped. No 
> need for @OnShutdown
> - Change name of “hostname” property to "node", and don’t require the port! 
> Default to 3306.
> - Remove unused hasRun member variable



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (NIFI-11380) Refactor CaptureChangeMySQL with improvements

2023-04-03 Thread Matt Burgess (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Burgess reassigned NIFI-11380:
---

Assignee: Matt Burgess

> Refactor CaptureChangeMySQL with improvements
> -
>
> Key: NIFI-11380
> URL: https://issues.apache.org/jira/browse/NIFI-11380
> Project: Apache NiFi
>  Issue Type: Improvement
>Reporter: Matt Burgess
>Assignee: Matt Burgess
>Priority: Major
>
> The CaptureChangeMySQL processor can be improved in many ways:
> - Eliminate use of DistributedCacheClient
> - MySQLCDCUtils - delete this class. It’s unnecessary. Just put the single 
> method that exists in the parent class of the writers
> - Eliminate mutable member variables. Gather all state together into an 
> object and store that as a single volatile member variable.
> - The outputEvents method is a huge block of switch/case and if/then/else 
> blocks. Kill all of this. Create an interface that’s capable of handling a 
> given event type and have multiple implementations. Determine appropriate 
> impl and call the method.
> - Do not keep a bunch of member variables to “rollback local state”. Keep 
> this in variables. If we fail, no harm, no foul. If we succeed, then update 
> member variable.
> - Remove onStopped method, just annotate stop() method with @OnStopped. No 
> need for @OnShutdown
> - Change name of “hostname” property to "node", and don’t require the port! 
> Default to 3306.
> - Remove unused hasRun member variable



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (NIFI-11137) Add record support to Consume/PublishJMS

2023-04-03 Thread Peter Turcsanyi (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Turcsanyi resolved NIFI-11137.

Fix Version/s: 2.0.0
   1.21.0
   Resolution: Fixed

> Add record support to Consume/PublishJMS
> 
>
> Key: NIFI-11137
> URL: https://issues.apache.org/jira/browse/NIFI-11137
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Nandor Soma Abonyi
>Assignee: Nandor Soma Abonyi
>Priority: Major
>  Labels: JMS
> Fix For: 2.0.0, 1.21.0
>
>  Time Spent: 7h
>  Remaining Estimate: 0h
>
> Add record support to ConsumeJMS/PublishJMS



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (NIFI-11137) Add record support to Consume/PublishJMS

2023-04-03 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-11137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17708103#comment-17708103
 ] 

ASF subversion and git services commented on NIFI-11137:


Commit 0510f8cca29a2f92c6008b345ba40c2bc33f2e75 in nifi's branch 
refs/heads/support/nifi-1.x from Nandor Soma Abonyi
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=0510f8cca2 ]

NIFI-11137 Add record support to Consume/PublishJMS (#6987)


> Add record support to Consume/PublishJMS
> 
>
> Key: NIFI-11137
> URL: https://issues.apache.org/jira/browse/NIFI-11137
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Nandor Soma Abonyi
>Assignee: Nandor Soma Abonyi
>Priority: Major
>  Labels: JMS
>  Time Spent: 7h
>  Remaining Estimate: 0h
>
> Add record support to ConsumeJMS/PublishJMS



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (NIFI-11380) Refactor CaptureChangeMySQL with improvements

2023-04-03 Thread Matt Burgess (Jira)
Matt Burgess created NIFI-11380:
---

 Summary: Refactor CaptureChangeMySQL with improvements
 Key: NIFI-11380
 URL: https://issues.apache.org/jira/browse/NIFI-11380
 Project: Apache NiFi
  Issue Type: Improvement
Reporter: Matt Burgess


The CaptureChangeMySQL processor can be improved in many ways:

- Eliminate use of DistributedCacheClient
- MySQLCDCUtils - delete this class. It’s unnecessary. Just put the single 
method that exists in the parent class of the writers

- Eliminate mutable member variables. Gather all state together into an object 
and store that as a single volatile member variable.
- The outputEvents method is a huge block of switch/case and if/then/else 
blocks. Kill all of this. Create an interface that’s capable of handling a 
given event type and have multiple implementations. Determine appropriate impl 
and call the method.
- Do not keep a bunch of member variables to “rollback local state”. Keep this 
in variables. If we fail, no harm, no foul. If we succeed, then update member 
variable.
- Remove onStopped method, just annotate stop() method with @OnStopped. No need 
for @OnShutdown
- Change name of “hostname” property to "node", and don’t require the port! 
Default to 3306.
- Remove unused hasRun member variable




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (NIFI-11137) Add record support to Consume/PublishJMS

2023-04-03 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-11137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17708092#comment-17708092
 ] 

ASF subversion and git services commented on NIFI-11137:


Commit 32df0fa4849325d742d36e57b686cb88bd65d2b6 in nifi's branch 
refs/heads/main from Nandor Soma Abonyi
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=32df0fa484 ]

NIFI-11137 Add record support to Consume/PublishJMS (#6987)



> Add record support to Consume/PublishJMS
> 
>
> Key: NIFI-11137
> URL: https://issues.apache.org/jira/browse/NIFI-11137
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Nandor Soma Abonyi
>Assignee: Nandor Soma Abonyi
>Priority: Major
>  Labels: JMS
>  Time Spent: 7h
>  Remaining Estimate: 0h
>
> Add record support to ConsumeJMS/PublishJMS



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [nifi] turcsanyip merged pull request #6987: NIFI-11137 Add record support to Consume/PublishJMS

2023-04-03 Thread via GitHub


turcsanyip merged PR #6987:
URL: https://github.com/apache/nifi/pull/6987


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Updated] (NIFI-11352) Update postgresql 42.5.3 to 42.6.0

2023-04-03 Thread David Handermann (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-11352:

Priority: Minor  (was: Major)

> Update postgresql 42.5.3 to 42.6.0
> --
>
> Key: NIFI-11352
> URL: https://issues.apache.org/jira/browse/NIFI-11352
> Project: Apache NiFi
>  Issue Type: Improvement
>Affects Versions: 1.20.0
>Reporter: Mike R
>Assignee: Mike R
>Priority: Minor
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Update postgresql 42.5.3 to 42.6.0 
> Release notes: [PostgreSQL JDBC Driver 42.6.0 Released | 
> pgJDBC|https://jdbc.postgresql.org/changelogs/2023-03-17-42.6.0-release/]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11352) Update PostgreSQL JDBC from 42.5.3 to 42.6.0

2023-04-03 Thread David Handermann (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-11352:

Summary: Update PostgreSQL JDBC from 42.5.3 to 42.6.0  (was: Update 
postgresql 42.5.3 to 42.6.0)

> Update PostgreSQL JDBC from 42.5.3 to 42.6.0
> 
>
> Key: NIFI-11352
> URL: https://issues.apache.org/jira/browse/NIFI-11352
> Project: Apache NiFi
>  Issue Type: Improvement
>Reporter: Mike R
>Assignee: Mike R
>Priority: Minor
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Update postgresql 42.5.3 to 42.6.0 
> Release notes: [PostgreSQL JDBC Driver 42.6.0 Released | 
> pgJDBC|https://jdbc.postgresql.org/changelogs/2023-03-17-42.6.0-release/]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11352) Update PostgreSQL JDBC from 42.5.3 to 42.6.0

2023-04-03 Thread David Handermann (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-11352:

Component/s: NiFi Registry

> Update PostgreSQL JDBC from 42.5.3 to 42.6.0
> 
>
> Key: NIFI-11352
> URL: https://issues.apache.org/jira/browse/NIFI-11352
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: NiFi Registry
>Reporter: Mike R
>Assignee: Mike R
>Priority: Minor
>  Labels: dependency-upgrade
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Update postgresql 42.5.3 to 42.6.0 
> Release notes: [PostgreSQL JDBC Driver 42.6.0 Released | 
> pgJDBC|https://jdbc.postgresql.org/changelogs/2023-03-17-42.6.0-release/]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11352) Update PostgreSQL JDBC from 42.5.3 to 42.6.0

2023-04-03 Thread David Handermann (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-11352:

Labels: dependency-upgrade  (was: )

> Update PostgreSQL JDBC from 42.5.3 to 42.6.0
> 
>
> Key: NIFI-11352
> URL: https://issues.apache.org/jira/browse/NIFI-11352
> Project: Apache NiFi
>  Issue Type: Improvement
>Reporter: Mike R
>Assignee: Mike R
>Priority: Minor
>  Labels: dependency-upgrade
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Update postgresql 42.5.3 to 42.6.0 
> Release notes: [PostgreSQL JDBC Driver 42.6.0 Released | 
> pgJDBC|https://jdbc.postgresql.org/changelogs/2023-03-17-42.6.0-release/]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (NIFI-11352) Update PostgreSQL JDBC from 42.5.3 to 42.6.0

2023-04-03 Thread David Handermann (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann resolved NIFI-11352.
-
Fix Version/s: 2.0.0
   1.21.0
   Resolution: Fixed

> Update PostgreSQL JDBC from 42.5.3 to 42.6.0
> 
>
> Key: NIFI-11352
> URL: https://issues.apache.org/jira/browse/NIFI-11352
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: NiFi Registry
>Reporter: Mike R
>Assignee: Mike R
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 2.0.0, 1.21.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Update postgresql 42.5.3 to 42.6.0 
> Release notes: [PostgreSQL JDBC Driver 42.6.0 Released | 
> pgJDBC|https://jdbc.postgresql.org/changelogs/2023-03-17-42.6.0-release/]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11352) Update postgresql 42.5.3 to 42.6.0

2023-04-03 Thread David Handermann (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-11352:

Affects Version/s: (was: 1.20.0)

> Update postgresql 42.5.3 to 42.6.0
> --
>
> Key: NIFI-11352
> URL: https://issues.apache.org/jira/browse/NIFI-11352
> Project: Apache NiFi
>  Issue Type: Improvement
>Reporter: Mike R
>Assignee: Mike R
>Priority: Minor
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Update postgresql 42.5.3 to 42.6.0 
> Release notes: [PostgreSQL JDBC Driver 42.6.0 Released | 
> pgJDBC|https://jdbc.postgresql.org/changelogs/2023-03-17-42.6.0-release/]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (NIFI-11352) Update postgresql 42.5.3 to 42.6.0

2023-04-03 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-11352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17708083#comment-17708083
 ] 

ASF subversion and git services commented on NIFI-11352:


Commit 3fa25b6f119576144e95b17213f98bd729f39ed6 in nifi's branch 
refs/heads/main from mr1716
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=3fa25b6f11 ]

NIFI-11352 Upgraded PostgreSQL JDBC from 42.5.3 to 42.6.0

This closes #7114

Signed-off-by: David Handermann 


> Update postgresql 42.5.3 to 42.6.0
> --
>
> Key: NIFI-11352
> URL: https://issues.apache.org/jira/browse/NIFI-11352
> Project: Apache NiFi
>  Issue Type: Improvement
>Affects Versions: 1.20.0
>Reporter: Mike R
>Assignee: Mike R
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Update postgresql 42.5.3 to 42.6.0 
> Release notes: [PostgreSQL JDBC Driver 42.6.0 Released | 
> pgJDBC|https://jdbc.postgresql.org/changelogs/2023-03-17-42.6.0-release/]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (NIFI-11352) Update postgresql 42.5.3 to 42.6.0

2023-04-03 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-11352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17708084#comment-17708084
 ] 

ASF subversion and git services commented on NIFI-11352:


Commit 37a63d39c5dac1d5b614c45b8e21bae4c6d07fae in nifi's branch 
refs/heads/support/nifi-1.x from mr1716
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=37a63d39c5 ]

NIFI-11352 Upgraded PostgreSQL JDBC from 42.5.3 to 42.6.0

This closes #7114

Signed-off-by: David Handermann 
(cherry picked from commit 3fa25b6f119576144e95b17213f98bd729f39ed6)


> Update postgresql 42.5.3 to 42.6.0
> --
>
> Key: NIFI-11352
> URL: https://issues.apache.org/jira/browse/NIFI-11352
> Project: Apache NiFi
>  Issue Type: Improvement
>Affects Versions: 1.20.0
>Reporter: Mike R
>Assignee: Mike R
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Update postgresql 42.5.3 to 42.6.0 
> Release notes: [PostgreSQL JDBC Driver 42.6.0 Released | 
> pgJDBC|https://jdbc.postgresql.org/changelogs/2023-03-17-42.6.0-release/]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [nifi] exceptionfactory closed pull request #7114: NIFI-11352 Upgrade postgresql to 42.6.0

2023-04-03 Thread via GitHub


exceptionfactory closed pull request #7114: NIFI-11352 Upgrade postgresql to 
42.6.0
URL: https://github.com/apache/nifi/pull/7114


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Updated] (NIFI-11379) Upgrade jgit version used by NiFi Registry

2023-04-03 Thread Chris Sampson (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Sampson updated NIFI-11379:
-
Description: 
With the uplift of NiFi components to a Java 11 minimum baseline,  NiFi 
Registry can now use the jgit 6.x release line (6.0.0 requires java 11+).

Latest release at time of writing is 
[6.5.0|https://projects.eclipse.org/projects/technology.jgit/releases/6.5.0]

  was:
With the uplift of NiFi components to a Java 11 minimum baseline,  NiFi 
Registry can now use the jgit 6.x release line (6.0.0 requires java 11+).

Latest release at time of writing is 
[6.5.0](https://projects.eclipse.org/projects/technology.jgit/releases/6.5.0)


> Upgrade jgit version used by NiFi Registry
> --
>
> Key: NIFI-11379
> URL: https://issues.apache.org/jira/browse/NIFI-11379
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: NiFi Registry
>Reporter: Chris Sampson
>Priority: Minor
>
> With the uplift of NiFi components to a Java 11 minimum baseline,  NiFi 
> Registry can now use the jgit 6.x release line (6.0.0 requires java 11+).
> Latest release at time of writing is 
> [6.5.0|https://projects.eclipse.org/projects/technology.jgit/releases/6.5.0]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (NIFI-11379) Upgrade jgit version used by NiFi Registry

2023-04-03 Thread Chris Sampson (Jira)
Chris Sampson created NIFI-11379:


 Summary: Upgrade jgit version used by NiFi Registry
 Key: NIFI-11379
 URL: https://issues.apache.org/jira/browse/NIFI-11379
 Project: Apache NiFi
  Issue Type: Improvement
  Components: NiFi Registry
Reporter: Chris Sampson


With the uplift of NiFi components to a Java 11 minimum baseline,  NiFi 
Registry can now use the jgit 6.x release line (6.0.0 requires java 11+).

Latest release at time of writing is 
[6.5.0](https://projects.eclipse.org/projects/technology.jgit/releases/6.5.0)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [nifi-minifi-cpp] fgerlits commented on pull request #1543: MINIFICPP-2074 Fix time-period/integer validated properties during lo…

2023-04-03 Thread via GitHub


fgerlits commented on PR #1543:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1543#issuecomment-1494824283

   > This seems false positive to me... [Connection is used (it is moved into 
connections_)](https://github.com/apache/nifi-minifi-cpp/blob/main/extensions/sftp/processors/SFTPProcessorBase.cpp#L203)
   
   This sort of false positive tends to happen when `compile_commands.json` is 
not found or is corrupted.  I have triggered a re-run of the CI job, let's see 
what happens.


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Updated] (NIFI-11378) Upgrade Jersey to 2.39.1

2023-04-03 Thread David Handermann (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-11378:

Status: Patch Available  (was: Open)

> Upgrade Jersey to 2.39.1
> 
>
> Key: NIFI-11378
> URL: https://issues.apache.org/jira/browse/NIFI-11378
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework, Extensions
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 1.latest, 2.latest
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Jersey 
> [2.39.1|https://projects.eclipse.org/projects/ee4j.jersey/releases/2.39.1] 
> includes several minor bug fixes and improvements over the current version 
> 2.36 used in multiple framework and extension components.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [nifi] exceptionfactory opened a new pull request, #7115: NIFI-11378 Upgrade Jersey from 2.36 to 2.39.1

2023-04-03 Thread via GitHub


exceptionfactory opened a new pull request, #7115:
URL: https://github.com/apache/nifi/pull/7115

   # Summary
   
   [NIFI-11378](https://issues.apache.org/jira/browse/NIFI-11378) Upgrades 
Jersey HTTP dependencies from 2.36 to 
[2.39.1](https://projects.eclipse.org/projects/ee4j.jersey/releases/2.39.1).
   
   # Tracking
   
   Please complete the following tracking steps prior to pull request creation.
   
   ### Issue Tracking
   
   - [X] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue 
created
   
   ### Pull Request Tracking
   
   - [X] Pull Request title starts with Apache NiFi Jira issue number, such as 
`NIFI-0`
   - [X] Pull Request commit message starts with Apache NiFi Jira issue number, 
as such `NIFI-0`
   
   ### Pull Request Formatting
   
   - [X] Pull Request based on current revision of the `main` branch
   - [X] Pull Request refers to a feature branch with one commit containing 
changes
   
   # Verification
   
   Please indicate the verification steps performed prior to pull request 
creation.
   
   ### Build
   
   - [X] Build completed using `mvn clean install -P contrib-check`
 - [X] JDK 11
 - [ ] JDK 17
   
   ### Licensing
   
   - [ ] New dependencies are compatible with the [Apache License 
2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License 
Policy](https://www.apache.org/legal/resolved.html)
   - [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` 
files
   
   ### Documentation
   
   - [ ] Documentation formatting appears as expected in rendered files
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Created] (NIFI-11378) Upgrade Jersey to 2.39.1

2023-04-03 Thread David Handermann (Jira)
David Handermann created NIFI-11378:
---

 Summary: Upgrade Jersey to 2.39.1
 Key: NIFI-11378
 URL: https://issues.apache.org/jira/browse/NIFI-11378
 Project: Apache NiFi
  Issue Type: Improvement
  Components: Core Framework, Extensions
Reporter: David Handermann
Assignee: David Handermann
 Fix For: 1.latest, 2.latest


Jersey 
[2.39.1|https://projects.eclipse.org/projects/ee4j.jersey/releases/2.39.1] 
includes several minor bug fixes and improvements over the current version 2.36 
used in multiple framework and extension components.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [nifi] mr1716 opened a new pull request, #7114: NIFI-11352 Upgrade postgresql to 42.6.0

2023-04-03 Thread via GitHub


mr1716 opened a new pull request, #7114:
URL: https://github.com/apache/nifi/pull/7114

   
   
   
   
   
   
   
   
   
   
   
   
   
   # Summary
   
   [NIFI-11352](https://issues.apache.org/jira/browse/NIFI-11352)
   
   # Tracking
   
   Please complete the following tracking steps prior to pull request creation.
   
   ### Issue Tracking
   
   - [X] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI-11352) 
issue created
   
   ### Pull Request Tracking
   
   - [X] Pull Request title starts with Apache NiFi Jira issue number, such as 
`NIFI-0`
   - [X] Pull Request commit message starts with Apache NiFi Jira issue number, 
as such `NIFI-0`
   
   ### Pull Request Formatting
   
   - [X] Pull Request based on current revision of the `main` branch
   - [X] Pull Request refers to a feature branch with one commit containing 
changes
   
   # Verification
   
   Please indicate the verification steps performed prior to pull request 
creation.
   
   ### Build
   
   - [ ] Build completed using `mvn clean install -P contrib-check`
 - [X] JDK 11
 - [X] JDK 17
   
   ### Licensing
   
   - [ ] New dependencies are compatible with the [Apache License 
2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License 
Policy](https://www.apache.org/legal/resolved.html)
   - [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` 
files
   
   ### Documentation
   
   - [ ] Documentation formatting appears as expected in rendered files
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Assigned] (NIFI-11352) Update postgresql 42.5.3 to 42.6.0

2023-04-03 Thread Mike R (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike R reassigned NIFI-11352:
-

Assignee: Mike R

> Update postgresql 42.5.3 to 42.6.0
> --
>
> Key: NIFI-11352
> URL: https://issues.apache.org/jira/browse/NIFI-11352
> Project: Apache NiFi
>  Issue Type: Improvement
>Affects Versions: 1.20.0
>Reporter: Mike R
>Assignee: Mike R
>Priority: Major
>
> Update postgresql 42.5.3 to 42.6.0 
> Release notes: [PostgreSQL JDBC Driver 42.6.0 Released | 
> pgJDBC|https://jdbc.postgresql.org/changelogs/2023-03-17-42.6.0-release/]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11377) Upgrade Apache Iceberg to 1.2.0

2023-04-03 Thread David Handermann (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-11377:

Fix Version/s: 1.latest
   2.latest
   Status: Patch Available  (was: Open)

> Upgrade Apache Iceberg to 1.2.0
> ---
>
> Key: NIFI-11377
> URL: https://issues.apache.org/jira/browse/NIFI-11377
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 1.latest, 2.latest
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Apache Iceberg [1.2.0|https://iceberg.apache.org/releases/#120-release] 
> includes bug features, new features, and transitive dependency upgrades.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [nifi] exceptionfactory opened a new pull request, #7113: NIFI-11377 Upgrade Apache Iceberg from 1.1.0 to 1.2.0

2023-04-03 Thread via GitHub


exceptionfactory opened a new pull request, #7113:
URL: https://github.com/apache/nifi/pull/7113

   # Summary
   
   [NIFI-11377](https://issues.apache.org/jira/browse/NIFI-11377) Upgrades 
Apache Iceberg components from 1.1.0 to 
[1.2.0](https://iceberg.apache.org/releases/#120-release).
   
   # Tracking
   
   Please complete the following tracking steps prior to pull request creation.
   
   ### Issue Tracking
   
   - [X] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue 
created
   
   ### Pull Request Tracking
   
   - [X] Pull Request title starts with Apache NiFi Jira issue number, such as 
`NIFI-0`
   - [X] Pull Request commit message starts with Apache NiFi Jira issue number, 
as such `NIFI-0`
   
   ### Pull Request Formatting
   
   - [X] Pull Request based on current revision of the `main` branch
   - [X] Pull Request refers to a feature branch with one commit containing 
changes
   
   # Verification
   
   Please indicate the verification steps performed prior to pull request 
creation.
   
   ### Build
   
   - [X] Build completed using `mvn clean install -P contrib-check`
 - [X] JDK 11
 - [ ] JDK 17
   
   ### Licensing
   
   - [ ] New dependencies are compatible with the [Apache License 
2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License 
Policy](https://www.apache.org/legal/resolved.html)
   - [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` 
files
   
   ### Documentation
   
   - [ ] Documentation formatting appears as expected in rendered files
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Created] (NIFI-11377) Upgrade Apache Iceberg to 1.2.0

2023-04-03 Thread David Handermann (Jira)
David Handermann created NIFI-11377:
---

 Summary: Upgrade Apache Iceberg to 1.2.0
 Key: NIFI-11377
 URL: https://issues.apache.org/jira/browse/NIFI-11377
 Project: Apache NiFi
  Issue Type: Improvement
  Components: Extensions
Reporter: David Handermann
Assignee: David Handermann


Apache Iceberg [1.2.0|https://iceberg.apache.org/releases/#120-release] 
includes bug features, new features, and transitive dependency upgrades.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MINIFICPP-2087) Deadlock when updating flow configuration from predefined nifi.c2.flow.url

2023-04-03 Thread Jira


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-2087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gábor Gyimesi resolved MINIFICPP-2087.
--
Fix Version/s: 0.14.0
   Resolution: Fixed

> Deadlock when updating flow configuration from predefined nifi.c2.flow.url
> --
>
> Key: MINIFICPP-2087
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2087
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Bug
>Reporter: Gábor Gyimesi
>Assignee: Gábor Gyimesi
>Priority: Major
> Fix For: 0.14.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> When flow configuration is not available on disk under the configuration 
> library and C2 is enabled with a predifined "nifi.c2.flow.url" property, the 
> initial workflow fetching causes a deadlock.
>  
> Thread 38 (Thread 0x7fffdbfff640 (LWP 353502) "minifi"):
> #0 futex_wait (private=0, expected=2, futex_word=0x6d05d0) at 
> ../sysdeps/nptl/futex-internal.h:146
> #1 __GI___lll_lock_wait (futex=futex@entry=0x6d05d0, private=0) at 
> ./nptl/lowlevellock.c:49
> #2 0x7733c0dd in lll_mutex_lock_optimized (mutex=0x6d05d0) at 
> ./nptl/pthread_mutex_lock.c:48
> #3 ___pthread_mutex_lock (mutex=0x6d05d0) at ./nptl/pthread_mutex_lock.c:128
> #4 0x77a37aaf in 
> org::apache::nifi::minifi::FlowController::executeOnAllComponents(std::function  (org::apache::nifi::minifi::state::StateController&)>) () from 
> /home/szaszm/Downloads/nifi-minifi-cpp-1.23.04-b6-bin-centos/nifi-minifi-cpp-1.23.04/bin/libcore-minifi.so
> #5 0x77b93fb1 in 
> org::apache::nifi::minifi::state::response::FlowInformation::serialize() () 
> from 
> /home/szaszm/Downloads/nifi-minifi-cpp-1.23.04-b6-bin-centos/nifi-minifi-cpp-1.23.04/bin/libcore-minifi.so
> #6 0x77a84715 in 
> org::apache::nifi::minifi::c2::C2MetricsPublisher::getHeartbeatNodes(bool) 
> const () from 
> /home/szaszm/Downloads/nifi-minifi-cpp-1.23.04-b6-bin-centos/nifi-minifi-cpp-1.23.04/bin/libcore-minifi.so
> #7 0x77a7a38f in 
> org::apache::nifi::minifi::c2::C2Agent::performHeartBeat() () from 
> /home/szaszm/Downloads/nifi-minifi-cpp-1.23.04-b6-bin-centos/nifi-minifi-cpp-1.23.04/bin/libcore-minifi.so
> #8 0x77a7b5a8 in org::apache::nifi::minifi::c2::C2Agent::produce() () 
> from 
> /home/szaszm/Downloads/nifi-minifi-cpp-1.23.04-b6-bin-centos/nifi-minifi-cpp-1.23.04/bin/libcore-minifi.so
> #9 0x77a7b69c in 
> std::_Function_handler (), 
> org::apache::nifi::minifi::c2::C2Agent::initialize(org::apache::nifi::minifi::core::controller::ControllerServiceProvider*,
>  org::apache::nifi::minifi::state::Pausable*, 
> org::apache::nifi::minifi::state::StateMonitor*)::\{lambda()#1}>::_M_invoke(std::_Any_data
>  const&) () from 
> /home/szaszm/Downloads/nifi-minifi-cpp-1.23.04-b6-bin-centos/nifi-minifi-cpp-1.23.04/bin/libcore-minifi.so
> #10 0x77a3a04e in 
> org::apache::nifi::minifi::utils::Worker::run()
>  () from 
> /home/szaszm/Downloads/nifi-minifi-cpp-1.23.04-b6-bin-centos/nifi-minifi-cpp-1.23.04/bin/libcore-minifi.so
> #11 0x77c1339c in 
> org::apache::nifi::minifi::utils::ThreadPool::run_tasks(std::shared_ptr
>  const&) () from 
> /home/szaszm/Downloads/nifi-minifi-cpp-1.23.04-b6-bin-centos/nifi-minifi-cpp-1.23.04/bin/libcore-minifi.so
> #12 0x77dee624 in execute_native_thread_routine () from 
> /home/szaszm/Downloads/nifi-minifi-cpp-1.23.04-b6-bin-centos/nifi-minifi-cpp-1.23.04/bin/libcore-minifi.so
> #13 0x77338b43 in start_thread (arg=) at 
> ./nptl/pthread_create.c:442
> #14 0x773caa00 in clone3 () at 
> ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
> Thread 1 (Thread 0x772a3080 (LWP 353449) "minifi"):
> #0 futex_wait (private=0, expected=2, futex_word=0x6ffc18) at 
> ../sysdeps/nptl/futex-internal.h:146
> #1 __GI___lll_lock_wait (futex=futex@entry=0x6ffc18, private=0) at 
> ./nptl/lowlevellock.c:49
> #2 0x7733c082 in lll_mutex_lock_optimized (mutex=0x6ffc18) at 
> ./nptl/pthread_mutex_lock.c:48
> #3 ___pthread_mutex_lock (mutex=0x6ffc18) at ./nptl/pthread_mutex_lock.c:93
> #4 0x77a844cf in non-virtual thunk to 
> org::apache::nifi::minifi::c2::C2MetricsPublisher::clearMetricNodes() () from 
> /home/szaszm/Downloads/nifi-minifi-cpp-1.23.04-b6-bin-centos/nifi-minifi-cpp-1.23.04/bin/libcore-minifi.so
> #5 0x77b73fcb in 
> org::apache::nifi::minifi::state::MetricsPublisherStore::clearMetricNodes() 
> () from 
> /home/szaszm/Downloads/nifi-minifi-cpp-1.23.04-b6-bin-centos/nifi-minifi-cpp-1.23.04/bin/libcore-minifi.so
> #6 0x77a5dd24 in 
> org::apache::nifi::minifi::RootProcessGroupWrapper::setNewRoot(std::unique_ptr  std::default_delete >) () 
> from 
> /home/szaszm/Downloads/nifi-minifi-cpp-1.23.04-b6-bin-centos/nifi-minifi-cpp-1.23.04/bin/libcore-minifi.so
> #7 

[jira] [Resolved] (MINIFICPP-1716) Core dumps should be recoverable from CI

2023-04-03 Thread Jira


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gábor Gyimesi resolved MINIFICPP-1716.
--
Fix Version/s: 0.14.0
   Resolution: Fixed

> Core dumps should be recoverable from CI
> 
>
> Key: MINIFICPP-1716
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1716
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Improvement
>Reporter: Ádám Markovics
>Assignee: Gábor Gyimesi
>Priority: Minor
> Fix For: 0.14.0
>
>  Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> It is impossible to figure out what happened when an error occurs on CI only, 
> such as:
> {{99% tests passed, 1 tests failed out of 162 }}
>  
> Total Test time (real) = 77.01 sec 
>  
> The following tests FAILED: 
>  140 - MergeFileTests (SEGFAULT) 
> Errors while running CTest 
> make: *** [test] Error 8 
> Error: Process completed with exit code 2.
>  
> A way should be provided to output backtraces and inspect core dumps in cases 
> like this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MINIFICPP-2090) Update version number to 0.14.0

2023-04-03 Thread Jira


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-2090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gábor Gyimesi resolved MINIFICPP-2090.
--
Fix Version/s: 0.14.0
   Resolution: Fixed

> Update version number to 0.14.0
> ---
>
> Key: MINIFICPP-2090
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2090
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Task
>Reporter: Gábor Gyimesi
>Assignee: Gábor Gyimesi
>Priority: Major
> Fix For: 0.14.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [nifi-minifi-cpp] martinzink commented on pull request #1543: MINIFICPP-2074 Fix time-period/integer validated properties during lo…

2023-04-03 Thread via GitHub


martinzink commented on PR #1543:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1543#issuecomment-1494588704

   > Another error popped up, this time in clang-tidy:
   > 
   > ```
   > 
/home/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/extensions/sftp/processors/../client/SFTPClient.h:20:10:
 error: 'curl/curl.h' file not found [clang-diagnostic-error]
   > #include 
   >  ^
   > 
/home/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/extensions/sftp/processors/SFTPProcessorBase.cpp:186:133:
 error: parameter 'connection' is unused 
[misc-unused-parameters,-warnings-as-errors]
   > void SFTPProcessorBase::addConnectionToCache(const 
SFTPProcessorBase::ConnectionCacheKey& key, 
std::unique_ptr&& connection) {
   >
 ^~
   >
  /*connection*/
   > ```
   
   This seems false positive to me...
[Connection is used (it is moved into 
connections_)](https://github.com/apache/nifi-minifi-cpp/blob/main/extensions/sftp/processors/SFTPProcessorBase.cpp#L203)
 


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [nifi-minifi-cpp] szaszm closed pull request #1546: MINIFICPP-2087 Fix deadlock when fetching initial flow from C2 url

2023-04-03 Thread via GitHub


szaszm closed pull request #1546: MINIFICPP-2087 Fix deadlock when fetching 
initial flow from C2 url
URL: https://github.com/apache/nifi-minifi-cpp/pull/1546


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [nifi-minifi-cpp] szaszm closed pull request #1547: MINIFICPP-2090 Update version number to 0.14.0

2023-04-03 Thread via GitHub


szaszm closed pull request #1547: MINIFICPP-2090 Update version number to 0.14.0
URL: https://github.com/apache/nifi-minifi-cpp/pull/1547


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [nifi-minifi-cpp] szaszm closed pull request #1511: MINIFICPP-1716 Recover core dumps from CI

2023-04-03 Thread via GitHub


szaszm closed pull request #1511: MINIFICPP-1716 Recover core dumps from CI
URL: https://github.com/apache/nifi-minifi-cpp/pull/1511


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [nifi-minifi-cpp] martinzink commented on a diff in pull request #1545: MINIFICPP-55 Implement test coverage report generation

2023-04-03 Thread via GitHub


martinzink commented on code in PR #1545:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1545#discussion_r1156152071


##
.github/workflows/ci.yml:
##
@@ -156,6 +159,14 @@ jobs:
 run: cd build && make shellcheck
   - id: flake8_check
 run: cd build && make flake8
+  - id: coverage

Review Comment:
   Do we need this on every CI run? Since this needs some manual intervention 
to evaluate I think this might be overkill.



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Updated] (MINIFICPP-2073) Separate docker build from docker tests in CI

2023-04-03 Thread Martin Zink (Jira)


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-2073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Zink updated MINIFICPP-2073:
---
Status: Patch Available  (was: In Progress)

https://github.com/apache/nifi-minifi-cpp/pull/1538

> Separate docker build from docker tests in CI
> -
>
> Key: MINIFICPP-2073
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2073
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Improvement
>Reporter: Martin Zink
>Assignee: Martin Zink
>Priority: Minor
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> Since the docker tests are not as consistent as we would like, it would be 
> nice if we could rerun just the tests without the need to rebuild the image.
> We could use docker save/load image and github upload/download artifact to 
> achive this capability.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (MINIFICPP-2074) Fix time-period/integer validated properties

2023-04-03 Thread Martin Zink (Jira)


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Zink updated MINIFICPP-2074:
---
Status: Patch Available  (was: In Progress)

https://github.com/apache/nifi-minifi-cpp/pull/1543

> Fix time-period/integer validated properties
> 
>
> Key: MINIFICPP-2074
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2074
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Bug
>Reporter: Marton Szasz
>Assignee: Martin Zink
>Priority: Major
>  Time Spent: 5h 10m
>  Remaining Estimate: 0h
>
> Currently we have mixed validation for time-period like properties. Some has 
> time-period validators (which require explicit units) and some have simple 
> integer validators (which require no units).
> One approach would be to use time-period validators everywhere, but that 
> could break compatibility with thirdparty C2 servers, and NiFi/MiNiFi Java 
> also has this problem.
> Another approach would be to fix the configuration during minifi startup, to 
> fix the property based on the configured validator. This would mean a 
> time-period validated property would change from "100" to "100 ms" on startup 
> and an integer validated property would change from "1min to 6" on 
> startup.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] (MINIFICPP-2073) Separate docker build from docker tests in CI

2023-04-03 Thread Martin Zink (Jira)


[ https://issues.apache.org/jira/browse/MINIFICPP-2073 ]


Martin Zink deleted comment on MINIFICPP-2073:


was (Author: mzink):
https://github.com/apache/nifi-minifi-cpp/pull/1531

> Separate docker build from docker tests in CI
> -
>
> Key: MINIFICPP-2073
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2073
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Improvement
>Reporter: Martin Zink
>Assignee: Martin Zink
>Priority: Minor
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> Since the docker tests are not as consistent as we would like, it would be 
> nice if we could rerun just the tests without the need to rebuild the image.
> We could use docker save/load image and github upload/download artifact to 
> achive this capability.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-11376) Upgrade Jetty to 9.4.51

2023-04-03 Thread David Handermann (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-11376:

Status: Patch Available  (was: Open)

> Upgrade Jetty to 9.4.51
> ---
>
> Key: NIFI-11376
> URL: https://issues.apache.org/jira/browse/NIFI-11376
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework, MiNiFi, NiFi Registry
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Minor
>  Labels: dependency-upgrade
> Fix For: 1.latest, 2.latest
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Jetty 
> [9.4.51|https://github.com/eclipse/jetty.project/releases/tag/jetty-9.4.51.v20230217]
>  includes a minor improvement related to cookie parsing as well as several 
> transitive dependency upgrades. Jetty should be upgraded to the latest patch 
> release prior to evaluating more significant version upgrades.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [nifi] exceptionfactory opened a new pull request, #7112: NIFI-11376 Upgrade Jetty from 9.4.50 to 9.4.51

2023-04-03 Thread via GitHub


exceptionfactory opened a new pull request, #7112:
URL: https://github.com/apache/nifi/pull/7112

   # Summary
   
   [NIFI-11376](https://issues.apache.org/jira/browse/NIFI-11376) Upgrades 
Jetty from 9.4.50 to 
[9.4.51](https://github.com/eclipse/jetty.project/releases/tag/jetty-9.4.51.v20230217)
 incorporating minor improvements to cookie parsing and several transitive 
dependency updates. This update is suitable for both main and support branches, 
but subsequent major version updates should focus on the main branch.
   
   # Tracking
   
   Please complete the following tracking steps prior to pull request creation.
   
   ### Issue Tracking
   
   - [X] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue 
created
   
   ### Pull Request Tracking
   
   - [X] Pull Request title starts with Apache NiFi Jira issue number, such as 
`NIFI-0`
   - [X] Pull Request commit message starts with Apache NiFi Jira issue number, 
as such `NIFI-0`
   
   ### Pull Request Formatting
   
   - [X] Pull Request based on current revision of the `main` branch
   - [X] Pull Request refers to a feature branch with one commit containing 
changes
   
   # Verification
   
   Please indicate the verification steps performed prior to pull request 
creation.
   
   ### Build
   
   - [X] Build completed using `mvn clean install -P contrib-check`
 - [X] JDK 11
 - [ ] JDK 17
   
   ### Licensing
   
   - [ ] New dependencies are compatible with the [Apache License 
2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License 
Policy](https://www.apache.org/legal/resolved.html)
   - [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` 
files
   
   ### Documentation
   
   - [ ] Documentation formatting appears as expected in rendered files
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Created] (NIFI-11376) Upgrade Jetty to 9.4.51

2023-04-03 Thread David Handermann (Jira)
David Handermann created NIFI-11376:
---

 Summary: Upgrade Jetty to 9.4.51
 Key: NIFI-11376
 URL: https://issues.apache.org/jira/browse/NIFI-11376
 Project: Apache NiFi
  Issue Type: Improvement
  Components: Core Framework, MiNiFi, NiFi Registry
Reporter: David Handermann
Assignee: David Handermann
 Fix For: 1.latest, 2.latest


Jetty 
[9.4.51|https://github.com/eclipse/jetty.project/releases/tag/jetty-9.4.51.v20230217]
 includes a minor improvement related to cookie parsing as well as several 
transitive dependency upgrades. Jetty should be upgraded to the latest patch 
release prior to evaluating more significant version upgrades.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [nifi-minifi-cpp] szaszm commented on pull request #1543: MINIFICPP-2074 Fix time-period/integer validated properties during lo…

2023-04-03 Thread via GitHub


szaszm commented on PR #1543:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1543#issuecomment-1494523571

   Another error popped up, this time in clang-tidy:
   ```
   
/home/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/extensions/sftp/processors/../client/SFTPClient.h:20:10:
 error: 'curl/curl.h' file not found [clang-diagnostic-error]
   #include 
^
   
/home/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/extensions/sftp/processors/SFTPProcessorBase.cpp:186:133:
 error: parameter 'connection' is unused 
[misc-unused-parameters,-warnings-as-errors]
   void SFTPProcessorBase::addConnectionToCache(const 
SFTPProcessorBase::ConnectionCacheKey& key, 
std::unique_ptr&& connection) {

   ^~

/*connection*/
   ```


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Assigned] (MINIFICPP-2058) AWS extension fails to load on ARM64

2023-04-03 Thread Martin Zink (Jira)


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-2058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Zink reassigned MINIFICPP-2058:
--

Assignee: (was: Martin Zink)

> AWS extension fails to load on ARM64
> 
>
> Key: MINIFICPP-2058
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2058
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Bug
>Reporter: Martin Zink
>Priority: Major
>
> With the [MINIFICPP-2048 ARM64 support part 
> 1|https://github.com/apache/nifi-minifi-cpp/pull/1517] included the AWS 
> extension builds but the extension fails to load due to missing symbol
>  
> {code:java}
> Failed to load extension 'minifi-aws' ... aws_cpu_has_feature: symbol not 
> found
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (MINIFICPP-2058) AWS extension fails to load on ARM64

2023-04-03 Thread Jira


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-2058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gábor Gyimesi reassigned MINIFICPP-2058:


Assignee: Gábor Gyimesi

> AWS extension fails to load on ARM64
> 
>
> Key: MINIFICPP-2058
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2058
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Bug
>Reporter: Martin Zink
>Assignee: Gábor Gyimesi
>Priority: Major
>
> With the [MINIFICPP-2048 ARM64 support part 
> 1|https://github.com/apache/nifi-minifi-cpp/pull/1517] included the AWS 
> extension builds but the extension fails to load due to missing symbol
>  
> {code:java}
> Failed to load extension 'minifi-aws' ... aws_cpu_has_feature: symbol not 
> found
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (MINIFICPP-2092) Link failure compiling OpenCV extension on ARM64

2023-04-03 Thread Jira


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gábor Gyimesi updated MINIFICPP-2092:
-
Status: Patch Available  (was: In Progress)

> Link failure compiling OpenCV extension on ARM64
> 
>
> Key: MINIFICPP-2092
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2092
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Bug
>Reporter: Gábor Gyimesi
>Assignee: Gábor Gyimesi
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Linking CaptureRTSPFrameTest fails with the following error on ubuntu 22.04 
> arm64:
> {code:java}
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::rgb2rgb565(carotene_o4t::Size2D const&, unsigned char const*, 
> long, unsigned char*, long)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::combine2(carotene_o4t::Size2D const&, unsigned char const*, 
> long, unsigned char const*, long, unsigned char*, long)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::sub(carotene_o4t::Size2D const&, unsigned short const*, long, 
> unsigned short const*, long, unsigned short*, long, 
> carotene_o4t::CONVERT_POLICY)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::max(carotene_o4t::Size2D const&, signed char const*, long, 
> signed char const*, long, signed char*, long)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::max(carotene_o4t::Size2D const&, int const*, long, int const*, 
> long, int*, long)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::cmpGE(carotene_o4t::Size2D const&, unsigned short const*, 
> long, unsigned short const*, long, unsigned char*, long)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::min(carotene_o4t::Size2D const&, int const*, long, int const*, 
> long, int*, long)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::add(carotene_o4t::Size2D const&, unsigned char const*, long, 
> unsigned char const*, long, unsigned char*, long, 
> carotene_o4t::CONVERT_POLICY)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::cmpNE(carotene_o4t::Size2D const&, unsigned char const*, long, 
> unsigned char const*, long, unsigned char*, long)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::combine3(carotene_o4t::Size2D const&, long const*, long, long 
> const*, long, long const*, long, long*, long)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::isSupportedConfiguration()'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::reciprocal(carotene_o4t::Size2D const&, signed char const*, 
> long, signed char*, long, float, carotene_o4t::CONVERT_POLICY)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::cmpGT(carotene_o4t::Size2D const&, float const*, long, float 
> const*, long, unsigned char*, long)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::absDiff(carotene_o4t::Size2D const&, unsigned short const*, 
> long, unsigned short const*, long, unsigned short*, long)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::cmpNE(carotene_o4t::Size2D const&, unsigned short const*, 
> long, unsigned short const*, long, unsigned char*, long)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::resizeLinearOpenCV(carotene_o4t::Size2D const&, 
> carotene_o4t::Size2D const&, unsigned char const*, long, unsigned char*, 
> long, float, float, unsigned int)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::cmpNE(carotene_o4t::Size2D const&, short const*, long, short 
> const*, long, unsigned char*, long)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::addWeighted(carotene_o4t::Size2D const&, unsigned char const*, 
> long, unsigned char const*, long, unsigned char*, long, float, float, float)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::mul(carotene_o4t::Size2D const&, short const*, long, short 
> const*, long, short*, long, float, carotene_o4t::CONVERT_POLICY)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> `carotene_o4t::min(carotene_o4t::Size2D const&, unsigned char const*, long, 
> unsigned char const*, long, unsigned char*, long)'
> /usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
> 

[GitHub] [nifi-minifi-cpp] lordgamez opened a new pull request, #1548: MINIFICPP-2092 Fix link issue of OpenCV on ARM64

2023-04-03 Thread via GitHub


lordgamez opened a new pull request, #1548:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1548

   We should not depend on NVidia carotene acceleration library when building 
OpenCV extension
   
   https://issues.apache.org/jira/browse/MINIFICPP-2092
   
   --
   Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
   
   In order to streamline the review of the contribution we ask you
   to ensure the following steps have been taken:
   
   ### For all changes:
   - [ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?
   
   - [ ] Does your PR title start with MINIFICPP- where  is the JIRA 
number you are trying to resolve? Pay particular attention to the hyphen "-" 
character.
   
   - [ ] Has your PR been rebased against the latest commit within the target 
branch (typically main)?
   
   - [ ] Is your initial contribution a single, squashed commit?
   
   ### For code changes:
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the LICENSE file?
   - [ ] If applicable, have you updated the NOTICE file?
   
   ### For documentation related changes:
   - [ ] Have you ensured that format looks appropriate for the output in which 
it is rendered?
   
   ### Note:
   Please ensure that once the PR is submitted, you check GitHub Actions CI 
results for build issues and submit an update to your PR as soon as possible.
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Assigned] (NIFI-11178) Improve memory efficiency of ListHDFS

2023-04-03 Thread Jira


 [ 
https://issues.apache.org/jira/browse/NIFI-11178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lehel Boér reassigned NIFI-11178:
-

Assignee: Lehel Boér

> Improve memory efficiency of ListHDFS
> -
>
> Key: NIFI-11178
> URL: https://issues.apache.org/jira/browse/NIFI-11178
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Mark Payne
>Assignee: Lehel Boér
>Priority: Major
>
> ListHDFS is used extremely commonly. Typically, a listing consists of several 
> hundred files or less. However, there are times (especially when performing 
> the first listing) when the Processor is configured to recurse into 
> subdirectories and creates a listing containing millions of files.
> Currently, performing a listing containing millions of files can occupy 
> several GB of heap space. Analyzing a recent heap dump, it was found that a 
> listing of 6.7 million files in HDFS occupied approximately 12 GB of heap 
> space in NiFi. The heap usage can be tracked back to the fact that we hold in 
> a local variable a HashSet and these FileStatus objects occupy 
> approximately 1-2 KB of heap each.
> There are several improvements that can be made here, some small changes will 
> have significant memory improvements. There are also large changes that could 
> dramatically reduce heap utilization, to nearly nothing. But these would 
> require complex rewrites of the Processor that would be much more difficult 
> to maintain.
> As a simple analysis, I built a small test to see how many FileStatus objects 
> could be kept in memory:
> {code:java}
> final Set statuses = new HashSet<>();
> for (int i=0; i < 10_000_000; i++) {
> if (i % 10_000 == 0) {
> System.out.println(i);
> }
> final FsPermission fsPermission = new FsPermission(777);
> final FileStatus status = new FileStatus(2, true, 1, 4_000_000, 
> System.currentTimeMillis(), 0L, fsPermission,
> "owner-" + i, "group-" + i, null, new Path("/path/to/my/file-" + i + 
> ".txt"), true, false, false);
> statuses.add(status);
> }
> {code}
> This gives us a way to see how many FileStatus objects can be added to our 
> set before we encounter OOME. With a 512 MB heap I reached approximately 1.13 
> million FileStatus objects. Note that the Paths here are very small, which 
> occupies less memory than would normally be the case.
> Making one small change, to change the {{Set}} to an 
> {{ArrayList}} yielded 1.21 million instead of 1.13 million 
> objects. This is reasonable, since we don't expect any duplicates anyway.
> Another small change that was made was to introduce a new class that keeps 
> only the fields we care about from the FileStatus:
> {code:java}
> private static class HdfsEntity {
> private final String path;
> private final long length;
> private final boolean isdir;
> private final long timestamp;
> private final boolean canRead;
> private final boolean canWrite;
> private final boolean canExecute;
> private final boolean encrypted;
> public HdfsEntity(final FileStatus status) {
> this.path = status.getPath().getName();
> this.length = status.getLen();
> this.isdir = status.isDirectory();
> this.timestamp = status.getModificationTime();
> this.canRead = 
> status.getPermission().getGroupAction().implies(FsAction.READ);
> this.canWrite = 
> status.getPermission().getGroupAction().implies(FsAction.WRITE);
> this.canExecute = 
> status.getPermission().getGroupAction().implies(FsAction.EXECUTE);
> this.encrypted = status.isEncrypted();
> }
> }
>  {code}
> This introduced significant savings, allowing a {{List}} to store 
> 5.2 million objects instead of 1.13 million.
> It is worth noting here that the HdfsEntity doesn't store the 'group' and 
> 'owner' that are part of the FileStatus. Interestingly, though, these values 
> are strings that are extremely repetitive, but are unique strings on the 
> heap. So a full solution here would mean tracking the owner and group, but 
> doing so in a way that we use a Map or something similar in 
> order to reuse identical Strings on the heap (in much the same way that 
> String.intern() does, but without interning the String as it's only reusable 
> within a small context).
> These changes will yield significant memory improvements.
> However, more penetrating changes can make even large improvements:
>  * Rather than keeping a Set or a List of entities at all, we could instead 
> just iterate over each of the FileStatus objects returned from HDFS and 
> determine whether or not the file should be included in the listing. If so, 
> create the FlowFile or write the Record to the RecordWriter. Eliminate the 
> collection all together. This would likely result in code 

[GitHub] [nifi] exceptionfactory opened a new pull request, #7111: NIFI-11375 Upgrade Surefire to 3.0.0 and upgrade other plugins

2023-04-03 Thread via GitHub


exceptionfactory opened a new pull request, #7111:
URL: https://github.com/apache/nifi/pull/7111

   # Summary
   
   [NIFI-11375](https://issues.apache.org/jira/browse/NIFI-11375) Upgrades the 
Maven Surefire Plugin and several other build plugins to the latest versions:
   
   - Surefire Plugin from 3.0.0-M8 to 3.0.0
   - Compiler Plugin from 3.10.1 to 3.11.0
   - Assembly Plugin from 3.4.2 to 3.5.0
   - Javadoc Plugin from 3.4.1 to 3.5.0
   - Release Plugin from 3.0.0-M7 to 3.0.0
   
   # Tracking
   
   Please complete the following tracking steps prior to pull request creation.
   
   ### Issue Tracking
   
   - [X] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue 
created
   
   ### Pull Request Tracking
   
   - [X] Pull Request title starts with Apache NiFi Jira issue number, such as 
`NIFI-0`
   - [X] Pull Request commit message starts with Apache NiFi Jira issue number, 
as such `NIFI-0`
   
   ### Pull Request Formatting
   
   - [X] Pull Request based on current revision of the `main` branch
   - [X] Pull Request refers to a feature branch with one commit containing 
changes
   
   # Verification
   
   Please indicate the verification steps performed prior to pull request 
creation.
   
   ### Build
   
   - [X] Build completed using `mvn clean install -P contrib-check`
 - [X] JDK 11
 - [ ] JDK 17
   
   ### Licensing
   
   - [ ] New dependencies are compatible with the [Apache License 
2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License 
Policy](https://www.apache.org/legal/resolved.html)
   - [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` 
files
   
   ### Documentation
   
   - [ ] Documentation formatting appears as expected in rendered files
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Updated] (NIFI-11375) Upgrade Surefire Plugin to 3.0.0 and Upgrade Other Plugins

2023-04-03 Thread David Handermann (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-11375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-11375:

Status: Patch Available  (was: Open)

> Upgrade Surefire Plugin to 3.0.0 and Upgrade Other Plugins
> --
>
> Key: NIFI-11375
> URL: https://issues.apache.org/jira/browse/NIFI-11375
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Tools and Build
>Reporter: David Handermann
>Assignee: David Handermann
>Priority: Major
>  Labels: dependency-upgrade
> Fix For: 1.latest, 2.latest
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The Maven Surefire Plugin version 
> [3.0.0|https://github.com/apache/maven-surefire/releases/tag/surefire-3.0.0] 
> includes several improvements over the previous milestone releases.
> Other Maven Plugins such as the Compiler Plugin and Assembly Plugin should 
> also be upgraded to the latest versions



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (NIFI-11375) Upgrade Surefire Plugin to 3.0.0 and Upgrade Other Plugins

2023-04-03 Thread David Handermann (Jira)
David Handermann created NIFI-11375:
---

 Summary: Upgrade Surefire Plugin to 3.0.0 and Upgrade Other Plugins
 Key: NIFI-11375
 URL: https://issues.apache.org/jira/browse/NIFI-11375
 Project: Apache NiFi
  Issue Type: Improvement
  Components: Tools and Build
Reporter: David Handermann
Assignee: David Handermann
 Fix For: 1.latest, 2.latest


The Maven Surefire Plugin version 
[3.0.0|https://github.com/apache/maven-surefire/releases/tag/surefire-3.0.0] 
includes several improvements over the previous milestone releases.

Other Maven Plugins such as the Compiler Plugin and Assembly Plugin should also 
be upgraded to the latest versions



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (NIFI-8710) StandardProvenanceReporter - receive() incorrectly overiding details parameter

2023-04-03 Thread Nissim Shiman (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-8710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17707984#comment-17707984
 ] 

Nissim Shiman commented on NIFI-8710:
-

Thank you [~mattyb149] for looping back to this to get into 2.0.  I appreciate 
it.

> StandardProvenanceReporter - receive() incorrectly overiding details parameter
> --
>
> Key: NIFI-8710
> URL: https://issues.apache.org/jira/browse/NIFI-8710
> Project: Apache NiFi
>  Issue Type: Bug
>Reporter: Nissim Shiman
>Assignee: Matt Burgess
>Priority: Major
> Fix For: 2.0.0
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> The ProvenanceReporter interface has receive() with details as the third 
> parameter [1]:
> void receive(FlowFile flowFile, String transitUri, String details, long 
> transmissionMillis);
> StandardProvenanceReporter.java implements this with 
> sourceSystemFlowFileIdentifier as the third parameter [2]:
>  public void receive(final FlowFile flowFile, final String transitUri, final 
> String sourceSystemFlowFileIdentifier, final long transmissionMillis)
> This implementation in StandardProvenanceReporter should be modified to 
> reflect the interface.
>  
> [1] 
> [https://github.com/apache/nifi/blob/main/nifi-api/src/main/java/org/apache/nifi/provenance/ProvenanceReporter.java#L100]
> [2] 
> [https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/controller/repository/StandardProvenanceReporter.java#L159]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [nifi] exceptionfactory commented on a diff in pull request #7092: NIFI-11327 Add Export/Import All - NiFi CLI - NiFi Registry

2023-04-03 Thread via GitHub


exceptionfactory commented on code in PR #7092:
URL: https://github.com/apache/nifi/pull/7092#discussion_r1155979058


##
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/api/BucketFlowResource.java:
##
@@ -295,6 +295,48 @@ public Response createFlowVersion(
 return 
Response.status(Response.Status.OK).entity(createdSnapshot).build();
 }
 
+@POST
+@Path("{flowId}/versions/migrate")

Review Comment:
   Having a verb `migrate` in the path does not follow general REST API 
conventions, where the path should be a noun and the HTTP method is the verb. 
One option could be to make `migrate` and `Boolean` query parameter on the 
`/versions` resource method. However, the word `migrate` itself does not 
clearly convey what is happening, so perhaps another parameter name would be 
better. As the method name mentions keeping the author, it seems like a better 
approach would be to adding a query parameter named something like 
`preserveAuthor`. If there are other properties to be preserved, perhaps it 
could be named `preserveSourceProperties`.



##
nifi-toolkit/nifi-toolkit-cli/src/main/java/org/apache/nifi/toolkit/cli/impl/command/CommandOption.java:
##
@@ -164,7 +164,9 @@ public enum CommandOption {
 OUTPUT_TYPE("ot", "outputType", "The type of output to produce (json or 
simple)", true),
 VERBOSE("verbose", "verbose", "Indicates that verbose output should be 
provided", false),
 RECURSIVE("r", "recursive", "Indicates the command should perform the 
action recursively", false),
-HELP("h", "help", "Help", false)
+HELP("h", "help", "Help", false),
+SKIP("skip", "skip", "Indicates to skip an operation if target object 
exists", true),

Review Comment:
   The word `skip` does not clearly convey the intent of this parameter. 
Perhaps `skip-existing` could work, or some other combination of words that 
makes it clear what should be skipped.



##
nifi-toolkit/nifi-toolkit-cli/src/main/java/org/apache/nifi/toolkit/cli/impl/command/CommandOption.java:
##
@@ -164,7 +164,9 @@ public enum CommandOption {
 OUTPUT_TYPE("ot", "outputType", "The type of output to produce (json or 
simple)", true),
 VERBOSE("verbose", "verbose", "Indicates that verbose output should be 
provided", false),
 RECURSIVE("r", "recursive", "Indicates the command should perform the 
action recursively", false),
-HELP("h", "help", "Help", false)
+HELP("h", "help", "Help", false),
+SKIP("skip", "skip", "Indicates to skip an operation if target object 
exists", true),
+KEEP("keep", "keep", "Indicates to keep the original format or type of an 
object", true)

Review Comment:
   Similar to `skip`, the word `keep` by itself does not indicate the meaning. 
Perhaps `preserve-format` or `preserve-type` could be better.



##
nifi-toolkit/nifi-toolkit-cli/src/main/java/org/apache/nifi/toolkit/cli/impl/command/registry/flow/ExportAllFlows.java:
##
@@ -0,0 +1,182 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.nifi.toolkit.cli.impl.command.registry.flow;
+
+import org.apache.commons.cli.ParseException;
+import org.apache.nifi.registry.bucket.Bucket;
+import org.apache.nifi.registry.client.NiFiRegistryClient;
+import org.apache.nifi.registry.client.NiFiRegistryException;
+import org.apache.nifi.registry.flow.VersionedFlow;
+import org.apache.nifi.registry.flow.VersionedFlowSnapshot;
+import org.apache.nifi.registry.flow.VersionedFlowSnapshotMetadata;
+import org.apache.nifi.toolkit.cli.api.CommandException;
+import org.apache.nifi.toolkit.cli.api.Context;
+import org.apache.nifi.toolkit.cli.impl.command.CommandOption;
+import 
org.apache.nifi.toolkit.cli.impl.command.registry.AbstractNiFiRegistryCommand;
+import org.apache.nifi.toolkit.cli.impl.command.registry.bucket.ListBuckets;
+import 
org.apache.nifi.toolkit.cli.impl.result.registry.VersionedFlowSnapshotsResult;
+
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import java.util.Properties;
+import java.util.function.Function;
+import java.util.stream.Collectors;
+
+public class 

[jira] [Created] (MINIFICPP-2092) Link failure compiling OpenCV extension on ARM64

2023-04-03 Thread Jira
Gábor Gyimesi created MINIFICPP-2092:


 Summary: Link failure compiling OpenCV extension on ARM64
 Key: MINIFICPP-2092
 URL: https://issues.apache.org/jira/browse/MINIFICPP-2092
 Project: Apache NiFi MiNiFi C++
  Issue Type: Bug
Reporter: Gábor Gyimesi
Assignee: Gábor Gyimesi


Linking CaptureRTSPFrameTest fails with the following error on ubuntu 22.04 
arm64:
{code:java}
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::rgb2rgb565(carotene_o4t::Size2D const&, unsigned char const*, 
long, unsigned char*, long)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::combine2(carotene_o4t::Size2D const&, unsigned char const*, 
long, unsigned char const*, long, unsigned char*, long)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::sub(carotene_o4t::Size2D const&, unsigned short const*, long, 
unsigned short const*, long, unsigned short*, long, 
carotene_o4t::CONVERT_POLICY)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::max(carotene_o4t::Size2D const&, signed char const*, long, 
signed char const*, long, signed char*, long)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::max(carotene_o4t::Size2D const&, int const*, long, int const*, 
long, int*, long)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::cmpGE(carotene_o4t::Size2D const&, unsigned short const*, long, 
unsigned short const*, long, unsigned char*, long)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::min(carotene_o4t::Size2D const&, int const*, long, int const*, 
long, int*, long)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::add(carotene_o4t::Size2D const&, unsigned char const*, long, 
unsigned char const*, long, unsigned char*, long, carotene_o4t::CONVERT_POLICY)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::cmpNE(carotene_o4t::Size2D const&, unsigned char const*, long, 
unsigned char const*, long, unsigned char*, long)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::combine3(carotene_o4t::Size2D const&, long const*, long, long 
const*, long, long const*, long, long*, long)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::isSupportedConfiguration()'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::reciprocal(carotene_o4t::Size2D const&, signed char const*, 
long, signed char*, long, float, carotene_o4t::CONVERT_POLICY)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::cmpGT(carotene_o4t::Size2D const&, float const*, long, float 
const*, long, unsigned char*, long)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::absDiff(carotene_o4t::Size2D const&, unsigned short const*, 
long, unsigned short const*, long, unsigned short*, long)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::cmpNE(carotene_o4t::Size2D const&, unsigned short const*, long, 
unsigned short const*, long, unsigned char*, long)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::resizeLinearOpenCV(carotene_o4t::Size2D const&, 
carotene_o4t::Size2D const&, unsigned char const*, long, unsigned char*, long, 
float, float, unsigned int)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::cmpNE(carotene_o4t::Size2D const&, short const*, long, short 
const*, long, unsigned char*, long)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::addWeighted(carotene_o4t::Size2D const&, unsigned char const*, 
long, unsigned char const*, long, unsigned char*, long, float, float, float)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::mul(carotene_o4t::Size2D const&, short const*, long, short 
const*, long, short*, long, float, carotene_o4t::CONVERT_POLICY)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::min(carotene_o4t::Size2D const&, unsigned char const*, long, 
unsigned char const*, long, unsigned char*, long)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::cmpGT(carotene_o4t::Size2D const&, short const*, long, short 
const*, long, unsigned char*, long)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::combine2(carotene_o4t::Size2D const&, long const*, long, long 
const*, long, long*, long)'
/usr/bin/ld: ../../../bin/libminifi-opencv.so: undefined reference to 
`carotene_o4t::add(carotene_o4t::Size2D const&, float const*, long, float 
const*, long, float*, 

[GitHub] [nifi] exceptionfactory commented on a diff in pull request #6744: NIFI-10867 Refactor Stateless NiFi Connectors to support subclassing …

2023-04-03 Thread via GitHub


exceptionfactory commented on code in PR #6744:
URL: https://github.com/apache/nifi/pull/6744#discussion_r1155955942


##
nifi-external/nifi-kafka-connect/nifi-kafka-connector/src/main/java/org/apache/nifi/kafka/connect/StatelessNiFiCommonConfig.java:
##
@@ -0,0 +1,267 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.nifi.kafka.connect;
+
+import org.apache.kafka.common.config.AbstractConfig;
+import org.apache.kafka.common.config.ConfigDef;
+import org.apache.kafka.common.config.types.Password;
+import 
org.apache.nifi.kafka.connect.validators.ConnectDirectoryExistsValidator;
+import org.apache.nifi.kafka.connect.validators.ConnectHttpUrlValidator;
+import org.apache.nifi.kafka.connect.validators.FlowSnapshotValidator;
+import org.apache.nifi.stateless.config.ParameterOverride;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
+import static 
org.apache.kafka.common.config.ConfigDef.NonEmptyStringWithoutControlChars.nonEmptyStringWithoutControlChars;
+
+public abstract class StatelessNiFiCommonConfig extends AbstractConfig {
+private static final Logger logger = 
LoggerFactory.getLogger(StatelessNiFiCommonConfig.class);
+public static final String NAR_DIRECTORY = "nar.directory";
+public static final String EXTENSIONS_DIRECTORY = "extensions.directory";
+public static final String WORKING_DIRECTORY = "working.directory";
+public static final String FLOW_SNAPSHOT = "flow.snapshot";
+public static final String KRB5_FILE = "krb5.file";
+public static final String NEXUS_BASE_URL = "nexus.url";
+public static final String DATAFLOW_TIMEOUT = "dataflow.timeout";
+public static final String DATAFLOW_NAME = "name";
+public static final String TRUSTSTORE_FILE = "security.truststore";
+public static final String TRUSTSTORE_TYPE = "security.truststoreType";
+public static final String TRUSTSTORE_PASSWORD = 
"security.truststorePasswd";
+public static final String KEYSTORE_FILE = "security.keystore";
+public static final String KEYSTORE_TYPE = "security.keystoreType";
+public static final String KEYSTORE_PASSWORD = "security.keystorePasswd";
+public static final String KEY_PASSWORD = "security.keyPasswd";
+public static final String SENSITIVE_PROPS_KEY = "sensitive.props.key";
+public static final String BOOTSTRAP_SNAPSHOT_URL = 
"nifi.stateless.flow.snapshot.url";
+public static final String BOOTSTRAP_SNAPSHOT_FILE = 
"nifi.stateless.flow.snapshot.file";
+public static final String BOOTSTRAP_SNAPSHOT_CONTENTS = 
"nifi.stateless.flow.snapshot.contents";
+public static final String BOOTSTRAP_FLOW_NAME = 
"nifi.stateless.flow.name";
+public static final String DEFAULT_KRB5_FILE = "/etc/krb5.conf";
+public static final String DEFAULT_DATAFLOW_TIMEOUT = "60 sec";
+public static final File DEFAULT_WORKING_DIRECTORY = new 
File("/tmp/nifi-stateless-working");
+public static final File DEFAULT_EXTENSIONS_DIRECTORY = new 
File("/tmp/nifi-stateless-extensions");
+public static final String DEFAULT_SENSITIVE_PROPS_KEY = "nifi-stateless";
+public static final String FLOW_GROUP = "Flow";
+public static final String DIRECTORIES_GROUP = "Directories";
+public static final String TLS_GROUP = "TLS";
+public static final String KERBEROS_GROUP = "Kerberos";
+public static final String NEXUS_GROUP = "Nexus";
+public static final String SECURITY_GROUP = "Security";
+public static final String RECORD_GROUP = "Record";
+
+protected static final Pattern PARAMETER_WITH_CONTEXT_PATTERN = 
Pattern.compile("parameter\\.(.*?):(.*)");
+protected static final Pattern PARAMETER_WITHOUT_CONTEXT_PATTERN = 
Pattern.compile("parameter\\.(.*)");
+
+protected StatelessNiFiCommonConfig(ConfigDef definition, Map 
originals, Map configProviderProps, boolean doLog) {
+super(definition, originals, configProviderProps, doLog);
+}
+
+protected StatelessNiFiCommonConfig(ConfigDef definition, Map 
originals) {
+

[jira] [Created] (NIFI-11374) Update json-path to 2.8.0

2023-04-03 Thread Mike R (Jira)
Mike R created NIFI-11374:
-

 Summary: Update json-path to 2.8.0
 Key: NIFI-11374
 URL: https://issues.apache.org/jira/browse/NIFI-11374
 Project: Apache NiFi
  Issue Type: Improvement
Affects Versions: 1.20.0, 2.0.0
Reporter: Mike R


Update code to latest json-path. It helps fix some vulnerabilities. 

 

Plus some of the NiFi modules use 2.7.0, while others use 2.6.0. Therefore, 
this will help keep the versions consistent

[Release json-path-2.8.0 · json-path/JsonPath 
(github.com)|https://github.com/json-path/JsonPath/releases/tag/json-path-2.8.0]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (MINIFICPP-2091) Update docker tests with ARM64 supported test images

2023-04-03 Thread Jira


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-2091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gábor Gyimesi updated MINIFICPP-2091:
-
Issue Type: Test  (was: Bug)

> Update docker tests with ARM64 supported test images
> 
>
> Key: MINIFICPP-2091
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2091
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Test
>Reporter: Gábor Gyimesi
>Assignee: Gábor Gyimesi
>Priority: Major
>
> We need to be able to run docker system tests on ARM64 to have the same test 
> coverage as on x86/x64 architectures. There are some docker images used for 
> testing that are not available with the currently used version on ARM64.
> Images that only need a version upgrade to the latest version to support 
> ARM64:
> mcr.microsoft.com/azure-storage/azurite:3.14.2 -> 3.23.0
> apache/nifi:1.16.0 -> 1.20.0
> adobe/s3mock:2.1.28 -> 2.11.0
> apache/nifi-minifi-c2:1.18.0 -> 1.20.0
> These images use the "latest" version should be pinned to a specific version:
> fsouza/fake-gcs-server:latest -> 1.44.1
> opensearchproject/opensearch:latest -> 2.6.0
> The following images have no available ARM64 support:
>  
> sameersbn/squid - Used for HTTP proxy, we may be able to find an alternative 
> proxy image with ARM64
> wurstmeister/zookeeper - Used for kafka tests, we need to find an alternative 
> zookeeper image
> lordgamez/open62541 - Custom built image, as the official repository does not 
> regularily build their docker image, we need to build a new custom image on 
> ARM64 arch
> splunk/splunk - No officially build image, but can be customly built using 
> [https://github.com/splunk/docker-splunk] repository according to 
> https://github.com/splunk/docker-splunk/issues/516[,|https://hub.docker.com/r/odidev/docker-splunk/tags,]
>  some custom images can already be found at 
> [https://hub.docker.com/r/odidev/docker-splunk/tags|https://hub.docker.com/r/odidev/docker-splunk/tags,]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (MINIFICPP-2091) Update docker tests with ARM64 supported test images

2023-04-03 Thread Jira


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-2091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gábor Gyimesi updated MINIFICPP-2091:
-
Issue Type: Bug  (was: Task)

> Update docker tests with ARM64 supported test images
> 
>
> Key: MINIFICPP-2091
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2091
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Bug
>Reporter: Gábor Gyimesi
>Assignee: Gábor Gyimesi
>Priority: Major
>
> We need to be able to run docker system tests on ARM64 to have the same test 
> coverage as on x86/x64 architectures. There are some docker images used for 
> testing that are not available with the currently used version on ARM64.
> Images that only need a version upgrade to the latest version to support 
> ARM64:
> mcr.microsoft.com/azure-storage/azurite:3.14.2 -> 3.23.0
> apache/nifi:1.16.0 -> 1.20.0
> adobe/s3mock:2.1.28 -> 2.11.0
> apache/nifi-minifi-c2:1.18.0 -> 1.20.0
> These images use the "latest" version should be pinned to a specific version:
> fsouza/fake-gcs-server:latest -> 1.44.1
> opensearchproject/opensearch:latest -> 2.6.0
> The following images have no available ARM64 support:
>  
> sameersbn/squid - Used for HTTP proxy, we may be able to find an alternative 
> proxy image with ARM64
> wurstmeister/zookeeper - Used for kafka tests, we need to find an alternative 
> zookeeper image
> lordgamez/open62541 - Custom built image, as the official repository does not 
> regularily build their docker image, we need to build a new custom image on 
> ARM64 arch
> splunk/splunk - No officially build image, but can be customly built using 
> [https://github.com/splunk/docker-splunk] repository according to 
> https://github.com/splunk/docker-splunk/issues/516[,|https://hub.docker.com/r/odidev/docker-splunk/tags,]
>  some custom images can already be found at 
> [https://hub.docker.com/r/odidev/docker-splunk/tags|https://hub.docker.com/r/odidev/docker-splunk/tags,]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (MINIFICPP-2083) CronTests fails on ARM64

2023-04-03 Thread Jira


[ 
https://issues.apache.org/jira/browse/MINIFICPP-2083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17707948#comment-17707948
 ] 

Gábor Gyimesi commented on MINIFICPP-2083:
--

Ran the same test on Ubuntu:22.04 arm64, and the issue was not present, the 
test passed. Maybe it is RockyLinux:9 specific
{code:java}
Linux ip-172-31-55-180 5.19.0-1022-aws #23~22.04.1-Ubuntu SMP Fri Mar 17 
15:42:08 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux {code}

> CronTests fails on ARM64
> 
>
> Key: MINIFICPP-2083
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2083
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Bug
>Reporter: Martin Zink
>Priority: Trivial
>
> {code:java}
> ---
> Cron expression ctor tests
> ---
> /nifi-minifi-cpp/libminifi/test/unit/CronTests.cpp:35
> ...
> /nifi-minifi-cpp/libminifi/test/unit/CronTests.cpp:104: FAILED:
>   REQUIRE_NOTHROW( Cron("0 10,44 14 ? 3 WED") )
> due to unexpected exception with message:
>   Couldn't parse cron field: WED Invalid weekday: WED
> ---
> Cron allowed nonnumerical inputs
> ---
> /nifi-minifi-cpp/libminifi/test/unit/CronTests.cpp:125
> ...
> /nifi-minifi-cpp/libminifi/test/unit/CronTests.cpp:126: FAILED:
>   REQUIRE_NOTHROW( Cron("* * * * 
> Jan,fEb,MAR,Apr,May,jun,Jul,Aug,Sep,Oct,Nov,Dec * *") )
> due to unexpected exception with message:
>   Couldn't parse cron field: Jan,fEb,MAR,Apr,May,jun,Jul,Aug,Sep,Oct,Nov,Dec
>   Invalid month fEb
> ===
> test cases:   4 |   2 passed | 2 failed
> assertions: 598 | 596 passed | 2 failed {code}
> Encountered on RockyLinux:9 aarch64
> {code:java}
> Linux 4a12e7385b51 5.15.49-linuxkit #1 SMP PREEMPT Tue Sep 13 07:51:32 UTC 
> 2022 aarch64 aarch64 aarch64 GNU/Linux {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (MINIFICPP-2091) Update docker tests with ARM64 supported test images

2023-04-03 Thread Jira
Gábor Gyimesi created MINIFICPP-2091:


 Summary: Update docker tests with ARM64 supported test images
 Key: MINIFICPP-2091
 URL: https://issues.apache.org/jira/browse/MINIFICPP-2091
 Project: Apache NiFi MiNiFi C++
  Issue Type: Task
Reporter: Gábor Gyimesi
Assignee: Gábor Gyimesi


We need to be able to run docker system tests on ARM64 to have the same test 
coverage as on x86/x64 architectures. There are some docker images used for 
testing that are not available with the currently used version on ARM64.

Images that only need a version upgrade to the latest version to support ARM64:

mcr.microsoft.com/azure-storage/azurite:3.14.2 -> 3.23.0
apache/nifi:1.16.0 -> 1.20.0
adobe/s3mock:2.1.28 -> 2.11.0
apache/nifi-minifi-c2:1.18.0 -> 1.20.0

These images use the "latest" version should be pinned to a specific version:

fsouza/fake-gcs-server:latest -> 1.44.1
opensearchproject/opensearch:latest -> 2.6.0

The following images have no available ARM64 support:

 
sameersbn/squid - Used for HTTP proxy, we may be able to find an alternative 
proxy image with ARM64
wurstmeister/zookeeper - Used for kafka tests, we need to find an alternative 
zookeeper image
lordgamez/open62541 - Custom built image, as the official repository does not 
regularily build their docker image, we need to build a new custom image on 
ARM64 arch
splunk/splunk - No officially build image, but can be customly built using 
[https://github.com/splunk/docker-splunk] repository according to 
https://github.com/splunk/docker-splunk/issues/516[,|https://hub.docker.com/r/odidev/docker-splunk/tags,]
 some custom images can already be found at 
[https://hub.docker.com/r/odidev/docker-splunk/tags|https://hub.docker.com/r/odidev/docker-splunk/tags,]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (MINIFICPP-2091) Update docker tests with ARM64 supported test images

2023-04-03 Thread Jira


 [ 
https://issues.apache.org/jira/browse/MINIFICPP-2091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gábor Gyimesi updated MINIFICPP-2091:
-
Epic Link: MINIFICPP-2048

> Update docker tests with ARM64 supported test images
> 
>
> Key: MINIFICPP-2091
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2091
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Task
>Reporter: Gábor Gyimesi
>Assignee: Gábor Gyimesi
>Priority: Major
>
> We need to be able to run docker system tests on ARM64 to have the same test 
> coverage as on x86/x64 architectures. There are some docker images used for 
> testing that are not available with the currently used version on ARM64.
> Images that only need a version upgrade to the latest version to support 
> ARM64:
> mcr.microsoft.com/azure-storage/azurite:3.14.2 -> 3.23.0
> apache/nifi:1.16.0 -> 1.20.0
> adobe/s3mock:2.1.28 -> 2.11.0
> apache/nifi-minifi-c2:1.18.0 -> 1.20.0
> These images use the "latest" version should be pinned to a specific version:
> fsouza/fake-gcs-server:latest -> 1.44.1
> opensearchproject/opensearch:latest -> 2.6.0
> The following images have no available ARM64 support:
>  
> sameersbn/squid - Used for HTTP proxy, we may be able to find an alternative 
> proxy image with ARM64
> wurstmeister/zookeeper - Used for kafka tests, we need to find an alternative 
> zookeeper image
> lordgamez/open62541 - Custom built image, as the official repository does not 
> regularily build their docker image, we need to build a new custom image on 
> ARM64 arch
> splunk/splunk - No officially build image, but can be customly built using 
> [https://github.com/splunk/docker-splunk] repository according to 
> https://github.com/splunk/docker-splunk/issues/516[,|https://hub.docker.com/r/odidev/docker-splunk/tags,]
>  some custom images can already be found at 
> [https://hub.docker.com/r/odidev/docker-splunk/tags|https://hub.docker.com/r/odidev/docker-splunk/tags,]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [nifi-minifi-cpp] martinzink commented on pull request #1543: MINIFICPP-2074 Fix time-period/integer validated properties during lo…

2023-04-03 Thread via GitHub


martinzink commented on PR #1543:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1543#issuecomment-1494183140

   > There is a build error in one of the CI jobs:
   > 
   > ```
   > 
/home/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/extensions/sftp/processors/SFTPProcessorBase.cpp:142:36:
 error: ‘port_tmp’ may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
   >   142 |   common_properties.proxy_port = 
static_cast(port_tmp);
   > ```
   
   I am not sure why does this only fail in this PR :thinking: , but fixed the 
issue nontheless in 
https://github.com/apache/nifi-minifi-cpp/pull/1543/commits/423558ad876eea3c8fe0c77021ce62135a419e61


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [nifi-minifi-cpp] martinzink commented on a diff in pull request #1543: MINIFICPP-2074 Fix time-period/integer validated properties during lo…

2023-04-03 Thread via GitHub


martinzink commented on code in PR #1543:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1543#discussion_r1155856932


##
libminifi/src/properties/Properties.cpp:
##
@@ -62,8 +63,100 @@ int Properties::getInt(const std::string , int 
default_value) const {
   return it != properties_.end() ? std::stoi(it->second.active_value) : 
default_value;
 }
 
+namespace {
+const core::PropertyValidator* getValidator(const std::string& lookup_value) {
+  auto configuration_property = 
Configuration::CONFIGURATION_PROPERTIES.find(lookup_value);
+
+  if (configuration_property != Configuration::CONFIGURATION_PROPERTIES.end())
+return configuration_property->second;
+  return nullptr;
+}
+
+std::optional 
ensureTimePeriodValidatedPropertyHasExplicitUnit(const core::PropertyValidator* 
const validator, std::string& value) {
+  if (validator != core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())
+return std::nullopt;
+  if (value.empty() || !std::all_of(value.begin(), value.end(), ::isdigit))
+return std::nullopt;
+
+  return value + " ms";
+}
+
+std::optional 
ensureDataSizeValidatedPropertyHasExplicitUnit(const core::PropertyValidator* 
const validator, std::string& value) {
+  if (validator != core::StandardValidators::get().DATA_SIZE_VALIDATOR.get())
+return std::nullopt;
+  if (value.empty() || !std::all_of(value.begin(), value.end(), ::isdigit))
+return std::nullopt;
+
+  return value + " B";
+}
+
+bool integerValidatedProperty(const core::PropertyValidator* const validator) {
+  return validator == core::StandardValidators::get().INTEGER_VALIDATOR.get()
+  || validator == 
core::StandardValidators::get().UNSIGNED_INT_VALIDATOR.get()
+  || validator == core::StandardValidators::get().LONG_VALIDATOR.get()
+  || validator == 
core::StandardValidators::get().UNSIGNED_LONG_VALIDATOR.get();
+}
+
+std::optional stringToDataSize(std::string_view input) {
+  int64_t value;
+  std::string unit_str;
+  if (!utils::StringUtils::splitToUnitAndValue(input, unit_str, value))
+return std::nullopt;
+  if (auto unit_multiplier = core::DataSizeValue::getUnitMultiplier(unit_str)) 
{
+return value * *unit_multiplier;
+  }

Review Comment:
   nice catch, fixed them in 
https://github.com/apache/nifi-minifi-cpp/pull/1543/commits/64c5975e3fda0911820465778fa4d73f16d12002#diff-f841426e292e70012a81b0fae92f08df7b13120e17b17a92fc360f2f50ec072fR114-R116



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [nifi-minifi-cpp] martinzink commented on a diff in pull request #1543: MINIFICPP-2074 Fix time-period/integer validated properties during lo…

2023-04-03 Thread via GitHub


martinzink commented on code in PR #1543:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1543#discussion_r1155856612


##
libminifi/test/unit/StringUtilsTests.cpp:
##
@@ -536,4 +536,25 @@ TEST_CASE("StringUtils::matchesSequence works correctly", 
"[matchesSequence]") {
   REQUIRE(StringUtils::matchesSequence("xxxabcxxxabcxxxdefxxx", {"abc", "abc", 
"def"}));
   REQUIRE(!StringUtils::matchesSequence("xxxabcxxxdefxxx", {"abc", "abc", 
"def"}));
 }
+
+TEST_CASE("StringUtils::splitToUnitAndValue tests") {

Review Comment:
   I've included these tests (except for the 017 bananas that would parse as 17 
"bananas", and "0x17 bananas" would parse as 0 "x17 bananas")



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [nifi-minifi-cpp] martinzink commented on a diff in pull request #1543: MINIFICPP-2074 Fix time-period/integer validated properties during lo…

2023-04-03 Thread via GitHub


martinzink commented on code in PR #1543:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1543#discussion_r1155851899


##
libminifi/src/utils/StringUtils.cpp:
##
@@ -510,4 +511,20 @@ bool StringUtils::matchesSequence(std::string_view str, 
const std::vectorhttps://github.com/apache/nifi-minifi-cpp/pull/1543/commits/c7d10838758e9b96631e8bbb99d5ad307e17bd8c
  https://godbolt.org/z/jvs91f44o



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



  1   2   >