Hello Marton Greber, Zoltan Chovan, Alexey Serbin, Kudu Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/21823

to look at the new patch set (#16).

Change subject: [WIP] KUDU-3608: REST API for Metadata Management
......................................................................

[WIP] KUDU-3608: REST API for Metadata Management

This commit introduces a REST API integrated directly into the Kudu
master web server to simplify metadata access and management. The API
operates under the /api path and focuses exclusively on
metadata-related operations. The following endpoints have been added:

- GET /api/v1/tables - Lists all tables by name and ID.
- POST /api/v1/tables - Creates a new table.
- GET /api/v1/tables/<table_id> - Retrieves table details.
- PUT /api/v1/tables/<table_id> - Updates table metadata.
- DELETE /api/v1/tables/<table_id> - Deletes a table.

HTTP Status Codes: Introduced additional HTTP status codes like 201
Created and 204 No Content for operations such as creating and deleting
tables.
Enhanced the web server's content-length check to include the PUT
method, allowing it to handle errors similar to POST.

Limitations: No Security Measures Yet. This implementation does not
currently include authentication or authorization.
Deleting, altering, or retrieving a table object requires the table's
ID. Operations using table names are not yet supported.

Testing: A new test file called rest_catalog-test.cc has been created to
validate these endpoints using an internal mini-cluster setup.

Usage:
When running Kudu, the endpoints are accessible via the /api/v1/ path
on the master web server. For POST and PUT endpoints, appropriate
data must be provided with the HTTP request (e.g., via curl).

Change-Id: I67f964c4f950edfde31772cafd5c3ed5d6b87413
---
M src/kudu/master/CMakeLists.txt
M src/kudu/master/master_path_handlers.cc
M src/kudu/master/master_path_handlers.h
A src/kudu/master/rest_catalog-test.cc
M src/kudu/server/webserver.cc
M src/kudu/util/web_callback_registry.h
6 files changed, 835 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/23/21823/16
--
To view, visit http://gerrit.cloudera.org:8080/21823
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

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

Reply via email to