rdblue opened a new pull request #4348: URL: https://github.com/apache/iceberg/pull/4348
This adds `RESTCatalog` and `RESTTableOperations` implementations that are passing `CatalogTests` from #4319. In addition, this adds `CatalogHandlers` that implements the REST server operations that accept request classes, call `Catalog`, and produce response classes. This class can be used to implement REST catalog services that are backed by a `Catalog`, like `JdbcCatalog`. In this PR, the handlers are used to test `RESTCatalog` and `RESTTableOperations` along with a test class that implements `RESTClient` and calls the correct handler. There are some features of the REST catalog that are missing and will be done in follow-up PRs: * The config route is not called to configure the catalog * The purge flag is not passed to the catalog service * Rename is not implemented To support create transactions in `CatalogHandlers`, this exposes the table operations and starting metadata in `BaseTransaction`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
