[ 
https://issues.apache.org/jira/browse/KNOX-3293?focusedWorklogId=1014276&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1014276
 ]

ASF GitHub Bot logged work on KNOX-3293:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Apr/26 14:51
            Start Date: 09/Apr/26 14:51
    Worklog Time Spent: 10m 
      Work Description: hanicz merged PR #1194:
URL: https://github.com/apache/knox/pull/1194




Issue Time Tracking
-------------------

            Worklog Id:     (was: 1014276)
    Remaining Estimate: 23h 10m  (was: 23h 20m)
            Time Spent: 50m  (was: 40m)

> Add integration tests: health metrics JSON, KnoxLDAP preauth/extauthz paths, 
> RemoteAuth extauthz
> ------------------------------------------------------------------------------------------------
>
>                 Key: KNOX-3293
>                 URL: https://issues.apache.org/jira/browse/KNOX-3293
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: KnoxShell
>            Reporter: Raghav Maheshwari
>            Priority: Major
>   Original Estimate: 24h
>          Time Spent: 50m
>  Remaining Estimate: 23h 10m
>
> New/extended pytest coverage under {{.github/workflows/tests/}} for the 
> Docker Compose–driven Knox stack (health, {{{}knoxldap{}}}, {{remoteauth}} 
> topologies).
> {{test_health.py}}
>  * {{test_health_metrics_returns_json}} — {{GET 
> /gateway/health/v1/metrics?pretty=true}} returns 200, response is JSON 
> ({{{}Content-Type{}}} and parseable body as an object).
> {{test_knoxauth_preauth_and_paths.py}} (KnoxLDAP)
>  * {{test_preauth_requires_auth}} — preauth without credentials → 401.
>  * {{test_preauth_bad_credentials_unauthorized}} — invalid Basic auth → 401.
>  * {{test_preauth_post_supported}} — POST to preauth with valid credentials 
> works.
>  * {{test_extauthz_additional_path_not_ignored_in_knoxldap}} — extra path 
> under extauthz is not treated as the base resource (404 vs success).
> {{test_remoteauth_extauthz_additional_path.py}} (RemoteAuth)
>  * {{test_extauthz_success}} — valid Basic auth → 200 and expected 
> {{{}X-Knox-Actor-ID{}}}.
>  * {{test_extauthz_additional_path_is_ignored}} — with 
> ignore-additional-path, extra segments still succeed.
>  * {{test_extauthz_bad_credentials_unauthorized}} — bad credentials → 401.
>  * {{test_extauthz_missing_credentials_server_error}} — no {{Authorization}} 
> header → 500 (current behavior).



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

Reply via email to