Skip to content
Merged
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 @@ -33,7 +33,6 @@
import javax.inject.Inject;
import javax.ws.rs.Consumes;
import javax.ws.rs.DefaultValue;
import javax.ws.rs.Encoded;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
Expand Down Expand Up @@ -63,7 +62,7 @@ public LanceNamespaceOperations(NamespaceWrapper lanceNamespace) {
@Timed(name = "list-namespaces." + MetricNames.HTTP_PROCESS_DURATION, absolute = true)
@ResponseMetered(name = "list-namespaces", absolute = true)
public Response listNamespaces(
@Encoded @PathParam("id") String namespaceId,
@PathParam("id") String namespaceId,
@DefaultValue(NAMESPACE_DELIMITER_DEFAULT) @QueryParam("delimiter") String delimiter,
@QueryParam("page_token") String pageToken,
@QueryParam("limit") Integer limit) {
Expand All @@ -83,7 +82,7 @@ public Response listNamespaces(
@Timed(name = "describe-namespaces." + MetricNames.HTTP_PROCESS_DURATION, absolute = true)
@ResponseMetered(name = "describe-namespaces", absolute = true)
public Response describeNamespace(
@Encoded @PathParam("id") String namespaceId,
@PathParam("id") String namespaceId,
@DefaultValue(NAMESPACE_DELIMITER_DEFAULT) @QueryParam("delimiter") String delimiter) {
try {
DescribeNamespaceResponse response =
Expand All @@ -99,7 +98,7 @@ public Response describeNamespace(
@Timed(name = "create-namespaces." + MetricNames.HTTP_PROCESS_DURATION, absolute = true)
@ResponseMetered(name = "create-namespaces", absolute = true)
public Response createNamespace(
@Encoded @PathParam("id") String namespaceId,
@PathParam("id") String namespaceId,
@DefaultValue(NAMESPACE_DELIMITER_DEFAULT) @QueryParam("delimiter") String delimiter,
CreateNamespaceRequest request) {
try {
Expand All @@ -124,7 +123,7 @@ public Response createNamespace(
@Timed(name = "drop-namespaces." + MetricNames.HTTP_PROCESS_DURATION, absolute = true)
@ResponseMetered(name = "drop-namespaces", absolute = true)
public Response dropNamespace(
@Encoded @PathParam("id") String namespaceId,
@PathParam("id") String namespaceId,
@DefaultValue(NAMESPACE_DELIMITER_DEFAULT) @QueryParam("delimiter") String delimiter,
DropNamespaceRequest request) {
try {
Expand All @@ -151,7 +150,7 @@ public Response dropNamespace(
@Timed(name = "namespace-exists." + MetricNames.HTTP_PROCESS_DURATION, absolute = true)
@ResponseMetered(name = "namespace-exists", absolute = true)
public Response namespaceExists(
@Encoded @PathParam("id") String namespaceId,
@PathParam("id") String namespaceId,
@DefaultValue(NAMESPACE_DELIMITER_DEFAULT) @QueryParam("delimiter") String delimiter) {
try {
lanceNamespace.asNamespaceOps().namespaceExists(namespaceId, Pattern.quote(delimiter));
Expand Down