[
https://issues.apache.org/jira/browse/KNOX-3296?focusedWorklogId=1014555&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1014555
]
ASF GitHub Bot logged work on KNOX-3296:
----------------------------------------
Author: ASF GitHub Bot
Created on: 10/Apr/26 15:04
Start Date: 10/Apr/26 15:04
Worklog Time Spent: 10m
Work Description: hanicz merged PR #1196:
URL: https://github.com/apache/knox/pull/1196
Issue Time Tracking
-------------------
Worklog Id: (was: 1014555)
Remaining Estimate: 23.5h (was: 23h 40m)
Time Spent: 40m (was: 0.5h)
> 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)