Skip to content

Commit

Permalink
Merge pull request #2429 from lorthirk/fix-missingQueryParamDeviceCon…
Browse files Browse the repository at this point in the history
…nections

Fixed missing QueryParam in DeviceConnections.simpleQuery()
  • Loading branch information
Coduz authored Feb 26, 2019
2 parents a16ad7b + 5f668d7 commit 5d93ac3
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 5d93ac3

Please sign in to comment.