From 0629bea12873513aa10d088f31bc7d590df9dbf1 Mon Sep 17 00:00:00 2001 From: isuri Date: Thu, 12 Oct 2023 15:23:26 +0530 Subject: [PATCH] pom modifications --- .../device/organization/api/DeviceOrganizationMgtService.java | 4 ++++ .../pom.xml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/components/device-mgt-extensions/io.entgra.device.mgt.core.device.mgt.extensions.device.organization.api/src/main/java/io/entgra/device/mgt/core/device/mgt/extensions/device/organization/api/DeviceOrganizationMgtService.java b/components/device-mgt-extensions/io.entgra.device.mgt.core.device.mgt.extensions.device.organization.api/src/main/java/io/entgra/device/mgt/core/device/mgt/extensions/device/organization/api/DeviceOrganizationMgtService.java index 22e82e1e4a..219cb9fe68 100644 --- a/components/device-mgt-extensions/io.entgra.device.mgt.core.device.mgt.extensions.device.organization.api/src/main/java/io/entgra/device/mgt/core/device/mgt/extensions/device/organization/api/DeviceOrganizationMgtService.java +++ b/components/device-mgt-extensions/io.entgra.device.mgt.core.device.mgt.extensions.device.organization.api/src/main/java/io/entgra/device/mgt/core/device/mgt/extensions/device/organization/api/DeviceOrganizationMgtService.java @@ -243,6 +243,10 @@ public interface DeviceOrganizationMgtService { @ApiResponse( code = 200, message = "OK. Successfully retrieved the list of all device organizations."), + @ApiResponse( + code = 404, + message = "Not Found. \n No organizations found.", + response = ErrorResponse.class), @ApiResponse( code = 500, message = "Internal Server Error. An error occurred while processing the request.", diff --git a/features/device-mgt-extensions/io.entgra.device.mgt.core.device.mgt.extensions.device.organization.feature/pom.xml b/features/device-mgt-extensions/io.entgra.device.mgt.core.device.mgt.extensions.device.organization.feature/pom.xml index 4a7f287240..d43b1689ad 100644 --- a/features/device-mgt-extensions/io.entgra.device.mgt.core.device.mgt.extensions.device.organization.feature/pom.xml +++ b/features/device-mgt-extensions/io.entgra.device.mgt.core.device.mgt.extensions.device.organization.feature/pom.xml @@ -31,7 +31,7 @@ pom Entgra IoT - Device Organization Feature http://entgra.io - WSO2 Carbon - Device Organization Feature + Entgra IoT - Device Organization Feature