From 5f06edbb6750ea4e17f1afafd42e57476bc2f154 Mon Sep 17 00:00:00 2001 From: Christopher Gross cogross Date: Fri, 12 Jul 2024 14:12:23 +0000 Subject: [PATCH] 2365 consistent translateId name --- .../datawave/webservice/query/runner/IdTranslatorBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web-services/query/src/main/java/datawave/webservice/query/runner/IdTranslatorBean.java b/web-services/query/src/main/java/datawave/webservice/query/runner/IdTranslatorBean.java index 8541eb822c5..95cdbc3870d 100644 --- a/web-services/query/src/main/java/datawave/webservice/query/runner/IdTranslatorBean.java +++ b/web-services/query/src/main/java/datawave/webservice/query/runner/IdTranslatorBean.java @@ -198,12 +198,12 @@ public BaseQueryResponse translateId(@PathParam("id") String id, @QueryParam("pa * @HTTP 500 internal server error */ @POST - @Path("/translateIDs") + @Path("/translateIds") @Produces({"application/xml", "text/xml", "application/json", "text/yaml", "text/x-yaml", "application/x-yaml", "application/x-protobuf", "application/x-protostuff"}) @GZIP @Interceptors({RequiredInterceptor.class, ResponseInterceptor.class}) - public BaseQueryResponse translateIDs(@FormParam("idList") String idList, @FormParam("pagesize") @DefaultValue("100") int pagesize, + public BaseQueryResponse translateIds(@FormParam("idList") String idList, @FormParam("pagesize") @DefaultValue("100") int pagesize, @FormParam("pageTimeout") @DefaultValue("-1") int pageTimeout, @FormParam("TLDonly") @DefaultValue("true") String TLDonly) { return submitTranslationQuery(idList, pagesize, pageTimeout, TLDonly);