mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Add Entgra Device Notification Logger
This commit is contained in:
parent
80458a4b9d
commit
db624d26df
@ -112,7 +112,9 @@
|
||||
org.wso2.carbon.event.processor.stub,
|
||||
org.wso2.carbon.identity.jwt.client.extension.service,
|
||||
org.apache.commons.codec.binary,
|
||||
io.entgra.server.bootup.heartbeat.beacon
|
||||
io.entgra.server.bootup.heartbeat.beacon,
|
||||
io.entgra.device.mgt.extensions.logger.*,
|
||||
io.entgra.logger.*,
|
||||
</Import-Package>
|
||||
<Export-Package>
|
||||
!org.wso2.carbon.device.mgt.core.internal,
|
||||
@ -347,6 +349,10 @@
|
||||
<artifactId>okhttp</artifactId>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wso2.carbon.devicemgt</groupId>
|
||||
<artifactId>io.entgra.notification.logger</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
|
||||
@ -18,8 +18,9 @@
|
||||
|
||||
package org.wso2.carbon.device.mgt.core.notification.mgt;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import io.entgra.device.mgt.extensions.logger.spi.EntgraLogger;
|
||||
import io.entgra.notification.logger.DeviceLogContext;
|
||||
import io.entgra.notification.logger.impl.EntgraLoggerImpl;
|
||||
import org.wso2.carbon.device.mgt.common.Device;
|
||||
import org.wso2.carbon.device.mgt.common.DeviceIdentifier;
|
||||
import org.wso2.carbon.device.mgt.common.exceptions.DeviceManagementException;
|
||||
@ -45,8 +46,8 @@ import java.util.List;
|
||||
*/
|
||||
public class NotificationManagementServiceImpl implements NotificationManagementService {
|
||||
|
||||
private static final Log log = LogFactory.getLog(NotificationManagementServiceImpl.class);
|
||||
|
||||
private static final EntgraLogger log = new EntgraLoggerImpl(NotificationManagementServiceImpl.class);
|
||||
DeviceLogContext.Builder deviceLogContexBuilder = new DeviceLogContext.Builder();
|
||||
private NotificationDAO notificationDAO;
|
||||
|
||||
public NotificationManagementServiceImpl() {
|
||||
|
||||
@ -25,17 +25,13 @@
|
||||
<parent>
|
||||
<groupId>org.wso2.carbon.devicemgt</groupId>
|
||||
<artifactId>logger</artifactId>
|
||||
<version>5.0.16-SNAPSHOT</version>
|
||||
<version>5.0.17-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>io.entgra.notification.logger</artifactId>
|
||||
<packaging>bundle</packaging>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.wso2.carbon.devicemgt</groupId>
|
||||
<artifactId>io.entgra.device.mgt.extensions.logger</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wso2.carbon</groupId>
|
||||
<artifactId>org.wso2.carbon.logging</artifactId>
|
||||
@ -45,8 +41,11 @@
|
||||
<groupId>org.testng</groupId>
|
||||
<artifactId>testng</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wso2.carbon.devicemgt</groupId>
|
||||
<artifactId>io.entgra.device.mgt.extensions.logger</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<version>5.0.16-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
<parent>
|
||||
<artifactId>carbon-devicemgt</artifactId>
|
||||
<groupId>org.wso2.carbon.devicemgt</groupId>
|
||||
<version>5.0.16-SNAPSHOT</version>
|
||||
<version>5.0.17-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
5
pom.xml
5
pom.xml
@ -349,6 +349,11 @@
|
||||
<artifactId>org.wso2.carbon.apimgt.keymgt.extension.api</artifactId>
|
||||
<version>${carbon.device.mgt.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wso2.carbon.devicemgt</groupId>
|
||||
<artifactId>io.entgra.notification.logger</artifactId>
|
||||
<version>${carbon.device.mgt.version}</version>
|
||||
</dependency>
|
||||
<!-- Device Management dependencies -->
|
||||
|
||||
<!-- Governance dependencies -->
|
||||
|
||||
Loading…
Reference in New Issue
Block a user