[feature](tls) Add TLS framework #63145
Conversation
### What problem does this PR solve? Issue Number: None Related PR: selectdb/selectdb-core#8598 Problem Summary: Port the public mTLS scaffolding, configuration, protocol startup split, certificate-auth contracts, and TLS validation tests while excluding all enterprise module directories. ### Release note Add TLS configuration and certificate-auth scaffolding for optional TLS modules. ### Check List (For Author) - Test: bash -n build.sh run-fe-ut.sh run-be-ut.sh run-cloud-ut.sh; git diff --check --cached; ./run-fe-ut.sh --run org.apache.doris.analysis.TlsOptionsTest (fails on existing missing edu.umd.cs.findbugs.annotations.SuppressFBWarnings for generated ImmutableFlightAuthResult) - Behavior changed: Yes, adds TLS-related configuration and startup/auth extension points. - Does this need documentation: Yes
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
### What problem does this PR solve? Issue Number: None Related PR: apache#63145 Problem Summary: Fix clang-format and FE CheckStyle failures in the TLS scaffolding PR. ### Release note None ### Check List (For Author) - Test: ./build-support/check-format.sh with clang-format 16; cd fe && mvn clean checkstyle:check; git diff --check - Behavior changed: No - Does this need documentation: No
|
run buildall |
### What problem does this PR solve? Issue Number: None Related PR: apache#63145 Problem Summary: Remove thirdparty brpc TLS implementation patches from the OSS scaffolding PR to keep the change focused on public extension points. ### Release note None ### Check List (For Author) - Test: git diff --check --cached - Behavior changed: No - Does this need documentation: No
|
run buildall |
### What problem does this PR solve? Issue Number: None Related PR: apache#63145 Problem Summary: Remove cloud TLS regression cases that depend on custom TLS capabilities from the OSS scaffolding PR. ### Release note None ### Check List (For Author) - Test: git diff --check --cached - Behavior changed: No - Does this need documentation: No
|
run buildall |
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
### What problem does this PR solve? Issue Number: None Related PR: apache#63145 Problem Summary: Fix FE compilation by returning the resolved UserIdentity directly instead of treating it as a list. ### Release note None ### Check List (For Author) - Test: git diff --check; cd fe && mvn -pl fe-core checkstyle:check - Behavior changed: No - Does this need documentation: No
|
run buildall |
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
### What problem does this PR solve? Issue Number: None Related PR: apache#63145 Problem Summary: Align the TlsOptions test expectation with SanEntryCodec normalization, which canonicalizes SAN types and strips trailing dots without changing value case. ### Release note None ### Check List (For Author) - Test: git diff --check; cd fe && mvn -pl fe-core checkstyle:check - Behavior changed: No - Does this need documentation: No
TPC-H: Total hot run time: 29842 ms |
TPC-DS: Total hot run time: 170568 ms |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
FE Regression Coverage ReportIncrement line coverage |
What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: Port the public mTLS scaffolding, configuration, protocol startup split, certificate-auth contracts, and TLS validation tests while excluding all enterprise module directories.
Release note
Add TLS configuration and certificate-auth scaffolding for optional TLS modules.
Check List (For Author)
Test: bash -n build.sh run-fe-ut.sh run-be-ut.sh run-cloud-ut.sh; git diff --check --cached; ./run-fe-ut.sh --run org.apache.doris.analysis.TlsOptionsTest (fails on existing missing edu.umd.cs.findbugs.annotations.SuppressFBWarnings for generated ImmutableFlightAuthResult)
Behavior changed: Yes, adds TLS-related configuration and startup/auth extension points.
Does this need documentation: Yes
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)