Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import jakarta.servlet.http.HttpServletResponse;
import org.apache.hc.core5.http.ContentType;
import org.apache.iceberg.rest.RESTCatalogAdapter;
import org.apache.iceberg.rest.RestCatalogServlet;
import org.apache.iceberg.rest.RESTCatalogServlet;
import org.apache.iceberg.rest.credentials.ImmutableCredential;
import org.apache.iceberg.rest.responses.ImmutableLoadCredentialsResponse;
import org.apache.iceberg.rest.responses.LoadCredentialsResponse;
Expand All @@ -28,10 +28,10 @@
import java.util.concurrent.atomic.AtomicInteger;

/**
* Extends {@link RestCatalogServlet} to handle the {@code GET .../credentials} custom endpoint.
* Extends {@link RESTCatalogServlet} to handle the {@code GET .../credentials} custom endpoint.
*/
public abstract class VendedCredentialsRestCatalogServlet
extends RestCatalogServlet
extends RESTCatalogServlet
{
private final AtomicInteger vendedCredentialsRefreshCount = new AtomicInteger();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public TestingHttpServer testServer()
.setHttpAcceptQueueSize(10)
.setHttpEnabled(true);
HttpServerInfo httpServerInfo = new HttpServerInfo(config, nodeInfo);
RestCatalogServlet servlet = new RestCatalogServlet(adapter);
RESTCatalogServlet servlet = new RESTCatalogServlet(adapter);

return new TestingHttpServer("rest-catalog", httpServerInfo, nodeInfo, config, servlet, ServerFeature.builder()
// Required due to URIs like: HEAD /v1/namespaces/level_1%1Flevel_2
Expand Down

This file was deleted.