Skip to content

Commit

Permalink
Fixed missing QueryParam in DeviceConnections.simpleQuery()
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
  • Loading branch information
Claudio Mezzasalma committed Feb 20, 2019
1 parent cf796d5 commit 5f668d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public class DeviceConnections extends AbstractKapuaResource {
@Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
public DeviceConnectionListResult simpleQuery(
@ApiParam(value = "The ScopeId in which to search results.", required = true, defaultValue = DEFAULT_SCOPE_ID) @PathParam("scopeId") ScopeId scopeId,
@ApiParam(value = "The client id to filter results.") String clientId,
@ApiParam(value = "The client id to filter results.") @QueryParam("clientId") String clientId,
@ApiParam(value = "The connection status to filter results.") @QueryParam("status") DeviceConnectionStatus status,
@ApiParam(value = "The result set offset.", defaultValue = "0") @QueryParam("offset") @DefaultValue("0") int offset,
@ApiParam(value = "The result set limit.", defaultValue = "50") @QueryParam("limit") @DefaultValue("50") int limit) throws Exception {
Expand Down

0 comments on commit 5f668d7

Please sign in to comment.