diff --git a/components/logger/io.entgra.device.mgt.core.notification.logger/pom.xml b/components/logger/io.entgra.device.mgt.core.notification.logger/pom.xml index 97e20fdbbd..03bf590308 100644 --- a/components/logger/io.entgra.device.mgt.core.notification.logger/pom.xml +++ b/components/logger/io.entgra.device.mgt.core.notification.logger/pom.xml @@ -35,7 +35,7 @@ org.ops4j.pax.logging pax-logging-api - + provided org.testng @@ -48,7 +48,6 @@ org.slf4j slf4j-ext - 1.7.29 @@ -84,7 +83,6 @@ io.entgra.device.mgt.core.device.mgt.extensions.logger;version="[5.0,6)", io.entgra.device.mgt.core.device.mgt.extensions.logger.spi;version="[5.0,6)", org.slf4j, - org.slf4j.ext, org.apache.commons.logging;version="[1.2,2)" diff --git a/components/ui-request-interceptor/io.entgra.device.mgt.core.ui.request.interceptor/src/main/java/io/entgra/device/mgt/core/ui/request/interceptor/util/HandlerUtil.java b/components/ui-request-interceptor/io.entgra.device.mgt.core.ui.request.interceptor/src/main/java/io/entgra/device/mgt/core/ui/request/interceptor/util/HandlerUtil.java index af1141ceed..3fe3bb381a 100644 --- a/components/ui-request-interceptor/io.entgra.device.mgt.core.ui.request.interceptor/src/main/java/io/entgra/device/mgt/core/ui/request/interceptor/util/HandlerUtil.java +++ b/components/ui-request-interceptor/io.entgra.device.mgt.core.ui.request.interceptor/src/main/java/io/entgra/device/mgt/core/ui/request/interceptor/util/HandlerUtil.java @@ -533,7 +533,7 @@ public class HandlerUtil { if (scopes != null && scopes.isArray() && !scopes.isEmpty()) { StringBuilder builder = new StringBuilder(); for (JsonNode objNode : scopes) { - builder.append(objNode).append(" "); + builder.append(objNode.asText()).append(" "); } return builder.toString(); } else { diff --git a/features/logger/io.entgra.device.mgt.core.notification.logger.feature/pom.xml b/features/logger/io.entgra.device.mgt.core.notification.logger.feature/pom.xml index da195dae26..70bea2ba1d 100644 --- a/features/logger/io.entgra.device.mgt.core.notification.logger.feature/pom.xml +++ b/features/logger/io.entgra.device.mgt.core.notification.logger.feature/pom.xml @@ -40,7 +40,7 @@ org.ops4j.pax.logging pax-logging-api - + provided org.testng diff --git a/pom.xml b/pom.xml index 044319b315..4b34fddaf4 100644 --- a/pom.xml +++ b/pom.xml @@ -1823,6 +1823,11 @@ org.apache.felix.scr.ds-annotations ${apache.felix.scr.ds.annotations.version} + + org.slf4j + slf4j-ext + ${slf4j.ext.version} + @@ -2173,6 +2178,7 @@ 2.0.2 1.4.0.wso2v1 1.7.25 + 1.7.29 1.21