Skip to content

Commit

Permalink
Fixed handling of GenericRequestChannel.resources field
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Codutti <[email protected]>
  • Loading branch information
Coduz committed Mar 23, 2021
1 parent f252762 commit 9819e9f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ public class DeviceManagementRequestsJson extends AbstractKapuaResource implemen
* @throws KapuaException Whenever something bad happens. See specific {@link KapuaService} exceptions.
*/
@POST
@Consumes({ MediaType.APPLICATION_JSON })
@Produces({ MediaType.APPLICATION_JSON })
@Consumes({MediaType.APPLICATION_JSON})
@Produces({MediaType.APPLICATION_JSON})
public JsonGenericResponseMessage sendRequest(
@PathParam("scopeId") ScopeId scopeId,
@PathParam("deviceId") EntityId deviceId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
*******************************************************************************/
package org.eclipse.kapua.service.device.management.message;

import javax.xml.bind.annotation.XmlElement;

/**
* Kapua application message channel definition.<br>
* This object defines the common channel behavior for a Kapua request or response message.<br>
Expand All @@ -26,6 +28,7 @@ public interface KapuaAppChannel extends KapuaControlChannel {
*
* @return
*/
@XmlElement(name = "appName")
KapuaAppProperties getAppName();

/**
Expand All @@ -40,6 +43,7 @@ public interface KapuaAppChannel extends KapuaControlChannel {
*
* @return
*/
@XmlElement(name = "version")
KapuaAppProperties getVersion();

/**
Expand Down

0 comments on commit 9819e9f

Please sign in to comment.