Skip to content

Commit

Permalink
jaxrs: fix typo in AdminResource
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
  • Loading branch information
pierre committed Jan 4, 2017
1 parent 533f0e0 commit 6182bb0
Showing 1 changed file with 9 additions and 9 deletions.
Expand Up @@ -147,15 +147,15 @@ public AdminResource(final JaxrsUriBuilder uriBuilder,
@Produces(APPLICATION_JSON) @Produces(APPLICATION_JSON)
@ApiOperation(value = "Get queues entries", response = Response.class) @ApiOperation(value = "Get queues entries", response = Response.class)
@ApiResponses(value = {}) @ApiResponses(value = {})
public Response getCurrentTime(@QueryParam("accountId") final String accountIdStr, public Response getQueueEntries(@QueryParam("accountId") final String accountIdStr,
@QueryParam("queueName") final String queueName, @QueryParam("queueName") final String queueName,
@QueryParam("serviceName") final String serviceName, @QueryParam("serviceName") final String serviceName,
@QueryParam("withHistory") @DefaultValue("true") final Boolean withHistory, @QueryParam("withHistory") @DefaultValue("true") final Boolean withHistory,
@QueryParam("minDate") final String minDateOrNull, @QueryParam("minDate") final String minDateOrNull,
@QueryParam("withInProcessing") @DefaultValue("true") final Boolean withInProcessing, @QueryParam("withInProcessing") @DefaultValue("true") final Boolean withInProcessing,
@QueryParam("withBusEvents") @DefaultValue("true") final Boolean withBusEvents, @QueryParam("withBusEvents") @DefaultValue("true") final Boolean withBusEvents,
@QueryParam("withNotifications") @DefaultValue("true") final Boolean withNotifications, @QueryParam("withNotifications") @DefaultValue("true") final Boolean withNotifications,
@javax.ws.rs.core.Context final HttpServletRequest request) { @javax.ws.rs.core.Context final HttpServletRequest request) {
final TenantContext tenantContext = context.createContext(request); final TenantContext tenantContext = context.createContext(request);
final Long tenantRecordId = recordIdApi.getRecordId(tenantContext.getTenantId(), ObjectType.TENANT, tenantContext); final Long tenantRecordId = recordIdApi.getRecordId(tenantContext.getTenantId(), ObjectType.TENANT, tenantContext);
final Long accountRecordId = Strings.isNullOrEmpty(accountIdStr) ? null : recordIdApi.getRecordId(UUID.fromString(accountIdStr), ObjectType.ACCOUNT, tenantContext); final Long accountRecordId = Strings.isNullOrEmpty(accountIdStr) ? null : recordIdApi.getRecordId(UUID.fromString(accountIdStr), ObjectType.ACCOUNT, tenantContext);
Expand Down

0 comments on commit 6182bb0

Please sign in to comment.