exceptionfactory opened a new pull request, #10124: URL: https://github.com/apache/nifi/pull/10124
# Summary [NIFI-14720](https://issues.apache.org/jira/browse/NIFI-14720) Changes the SSH library supporting the SFTP Processors from [SSHJ](https://github.com/hierynomus/sshj) to [Apache MINA SSHD](https://github.com/apache/mina-sshd/tree/master). The refactored implementation maintains feature parity across existing configuration properties in SFTP Processors. The Apache MINA SSHD libraries are existing dependencies, primarily used for testing as an SFTP server. The majority of the changes involve new SSH client and session configuration, and revised SFTP transfer operations. Apache MINA SSHD 2 does not provide direct support for SOCKS5 or HTTP proxy servers, but the Netty module for Apache MINA SSHD provides a functional foundation for integration with Netty handler proxy library, which supports these proxy server protocols. The current snapshot version of Apache MINA SSHD 3 includes direct support for proxy servers, so direct delegation to Netty for socket operations should not be necessary once MINA SSHD 3 is released. The custom Netty-based classes provide a bridge supporting access through a proxy server when configured. Changes include the addition of a new `Algorithm Configuration` property with values of `DEFAULT` and `CUSTOM`. The SFTP Processors support multiple properties for setting allowed algorithms, but these additional properties are optional. The new Algorithm Configuration property makes it clear that internal default algorithms should be used. Property migration methods support setting the value to `CUSTOM` when an SFTP Processor has an existing value of one of the algorithm properties. # 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-00000` - [X] Pull Request commit message starts with Apache NiFi Jira issue number, as such `NIFI-00000` ### 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 21 ### Licensing - [X] 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) - [X] New dependencies are documented in applicable `LICENSE` and `NOTICE` files ### Documentation - [X] 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
