You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/04/10 15:05:00 UTC

[jira] [Commented] (KNOX-3296) Expand CI integration tests: health metrics, HSTS, and KnoxLDAP auth paths

    [ https://issues.apache.org/jira/browse/KNOX-3296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18072646#comment-18072646 ] 

ASF subversion and git services commented on KNOX-3296:
-------------------------------------------------------

Commit e52a16953d5e67826919925cf368f44e041486cc in knox's branch refs/heads/master from Raghav Maheshwari
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=e52a16953 ]

KNOX-3296: Expand CI integration tests: health metrics, HSTS, and KnoxLDAP auth paths (#1196)

* KNOX-3296: Expand CI integration tests: health metrics, HSTS, and KnoxLDAP auth paths

* KNOX-3296: Added test descriptions

* Address review feedback on workflow integration tests

> Expand CI integration tests: health metrics, HSTS, and KnoxLDAP auth paths
> --------------------------------------------------------------------------
>
>                 Key: KNOX-3296
>                 URL: https://issues.apache.org/jira/browse/KNOX-3296
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: KnoxCLI
>            Reporter: Raghav Maheshwari
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 23.5h
>
> * Health API tests ({{{}test_health.py{}}})
>  ** {{/gateway/health/v1/metrics}}: JSON response, alignment with Java {{GatewayHealthFuncTest}} top-level keys (timers, histograms, counters, gauges, version, meters), with and without {{{}pretty=true{}}}.
>  ** {{/gateway/health/v1/ping}}: {{Content-Type}} is plain text; existing ping + HSTS checks retained.
>  * KnoxLDAP auth tests ({{{}test_knoxauth_preauth_and_paths.py{}}})
>  ** Preauth ({{{}/gateway/knoxldap/auth/api/v1/pre{}}}): unauthenticated → 401; bad credentials → 401; POST and GET with valid guest credentials → 200 and {{{}x-knox-actor-username{}}}; admin → 200 and expected group headers ({{{}longGroupName1{}}}, {{{}longGroupName2{}}}).
>  ** Extauthz path behavior: GET under {{extauthz}} with an extra path segment returns 404 (path not ignored), guarding routing/regression for KnoxLDAP.



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