Marton Greber has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/23045 )

Change subject: Add REST API integration tests
......................................................................

Add REST API integration tests

Additions to master_authz-itest.cc:
- Add TestTableIsolationBetweenUsersWithRestApi: Verify users cannot
  access unauthorized tables via PUT/DELETE endpoints (HTTP 403)
- Add TestRestApiCreateTableWithAuthorization: Verify table creation
  via POST /api/v1/tables enforces CREATE privileges
- Add TestRestApiDeleteTableWithAuthorization: Verify table deletion
  via DELETE /api/v1/tables/<table_id> enforces DROP privileges
- Add TestRestApiPrincipalMapping: Verify Kerberos principals are
  properly mapped to local usernames for REST API access
- Add TestListTablesIsolationWithRestApi: Verify GET /api/v1/tables
  filters results based on user permissions

Multi-Master SPNEGO Tests in spnego_authz-itest.cc:
- Add TestAuthenticatedLeaderAccess: Verify authenticated REST API
  access to leader master with SPNEGO authentication
- Add TestUnauthenticatedRequestsRejected: Verify all masters properly
  reject unauthenticated requests with HTTP 401
- Add TestTableOperationsWithAuthentication: Verify table operations
  work correctly across multi-master setup with SPNEGO authentication
- Add TestRequestsToFormerLeaderAfterElection: Verify former leader
  properly rejects requests with "Master is not the leader" error
  after leadership change

Change-Id: Ifd3ff0dfd67cbc2b5ed0454372dd2bcea71e2ba3
Reviewed-on: http://gerrit.cloudera.org:8080/23045
Reviewed-by: Marton Greber <[email protected]>
Tested-by: Marton Greber <[email protected]>
Reviewed-by: Alexey Serbin <[email protected]>
---
M src/kudu/integration-tests/master_authz-itest.cc
M src/kudu/master/spnego_rest_catalog-test.cc
2 files changed, 440 insertions(+), 3 deletions(-)

Approvals:
  Marton Greber: Looks good to me, approved; Verified
  Alexey Serbin: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/23045
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifd3ff0dfd67cbc2b5ed0454372dd2bcea71e2ba3
Gerrit-Change-Number: 23045
Gerrit-PatchSet: 12
Gerrit-Owner: Gabriella Lotz <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Gabriella Lotz <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>
Gerrit-Reviewer: Zoltan Chovan <[email protected]>

Reply via email to