test(auth): add TC-30 subsystem test for auth disabled ignoring garbage headers - #50
Conversation
PR Summary by QodoAdd subsystem tests for auth-disabled header handling and concurrent JIT provisioning
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1.
|
37688e7 to
0bcbc47
Compare
…ge headers Add TC-30: verify AUTH_DISABLED=true ignores garbage auth headers on protected endpoints (/providers, /catalog-items). Placed in the catalog subsystem suite which already runs with AUTH_DISABLED=true. Unlike the unit test in internal/auth/middleware_test.go, this exercises the full HTTP stack with a real compose config. Covers FLPATH-3254 test plan item TC-30 (P2). Signed-off-by: Vladislav Kolodny <vkolodny@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
0bcbc47 to
6b63061
Compare
Signed-off-by: Vladislav Kolodny <vkolodny@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
Small metadata nit now that TC-25 was dropped from this PR (per the thread - moving it to dcm-utilities E2E makes sense). The title, summary, and test plan still read like both TC-25 and TC-30 ship here:
Current diff is only |
Signed-off-by: Vladislav Kolodny <vkolodny@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Vladislav Kolodny <vkolodny@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
Heads-up: the TC-30 specs added here are failing |
|
@jordigilh PR #51 removed /providers after this merged. Fix is up in #54 (replaces with /service-types). |
Summary
AUTH_DISABLED=trueignores garbage auth headers on protectedendpoints (
/providers,/catalog-items). Placed in the catalog subsystem suitewhich already runs with
AUTH_DISABLED=true.Unlike the unit test in
internal/auth/middleware_test.go, this exercises thefull HTTP stack with a real compose config.
Covers FLPATH-3254 test plan item TC-30 (P2).
Test plan
make catalog-subsystem-test— 41 specs passed (4 new from TC-30)