Caideyipi opened a new pull request, #18269: URL: https://github.com/apache/iotdb/pull/18269
## Description Backport #18259 to `dev/1.3`. - Prevent the OPC UA client from following an advertised endpoint host/port by default, with an opt-in redirect setting. - Add an advertised-host setting for the embedded OPC UA server and include it in endpoint/certificate generation. - Add coverage for endpoint selection, redirects, advertised hosts, IPv6, and certificates. ## Tests - `mvn test -pl iotdb-core/node-commons,iotdb-core/datanode -Dtest=ClientRunnerTest,OpcUaServerBuilderTest -Dsurefire.failIfNoSpecifiedTests=false -Ddevelocity.off=true` - 9 tests passed, 0 failures/errors. This PR has: - [x] been self-reviewed. - [x] added unit tests to cover new code paths. ##### Key changed/added classes - `OpcUaSink` - `ClientRunner` - `OpcUaServerBuilder` - `OpcUaKeyStoreLoader` -- 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]
