From 88924ac8d6a88a19237497672b74a5fdf810d957 Mon Sep 17 00:00:00 2001 From: Ruwan Yatawara Date: Thu, 15 Mar 2018 14:31:44 +0530 Subject: [PATCH] Correcting issue with events resource path --- .../carbon/device/mgt/jaxrs/service/api/DeviceAgentService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/api/DeviceAgentService.java b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/api/DeviceAgentService.java index e295b06c506..0cf94395f74 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/api/DeviceAgentService.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/api/DeviceAgentService.java @@ -247,7 +247,7 @@ public interface DeviceAgentService { @Valid Device updateDevice); @POST - @Path("events/publish{type}/{deviceId}") + @Path("events/publish/{type}/{deviceId}") @ApiOperation( produces = MediaType.APPLICATION_JSON, consumes = MediaType.APPLICATION_JSON,