From 8f74c288df659d1bcf16a236c01546177d461689 Mon Sep 17 00:00:00 2001 From: Claudio Mezzasalma Date: Wed, 29 Jul 2020 16:55:58 +0200 Subject: [PATCH] Restore Path annotation in DeviceManagementOperations REST APIs --- .../v1/resources/DeviceManagementOperationNotifications.java | 4 ++-- .../resources/v1/resources/DeviceManagementOperations.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementOperationNotifications.java b/rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementOperationNotifications.java index 27d269ab6e5..03d0021611c 100644 --- a/rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementOperationNotifications.java +++ b/rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementOperationNotifications.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2018, 2019 Eurotech and/or its affiliates and others + * Copyright (c) 2018, 2020 Eurotech and/or its affiliates and others * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -40,7 +40,7 @@ import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; -//@Path("{scopeId}/devices/{deviceId}/operations/{operationId}/notifications") +@Path("{scopeId}/devices/{deviceId}/operations/{operationId}/notifications") public class DeviceManagementOperationNotifications extends AbstractKapuaResource { private final KapuaLocator locator = KapuaLocator.getInstance(); diff --git a/rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementOperations.java b/rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementOperations.java index 2aaf8b05242..7dc4094796b 100644 --- a/rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementOperations.java +++ b/rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementOperations.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2018, 2019 Eurotech and/or its affiliates and others + * Copyright (c) 2018, 2020 Eurotech and/or its affiliates and others * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -41,7 +41,7 @@ import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; -//@Path("{scopeId}/devices/{deviceId}/operations") +@Path("{scopeId}/devices/{deviceId}/operations") public class DeviceManagementOperations extends AbstractKapuaResource { private final KapuaLocator locator = KapuaLocator.getInstance();