Loading src/automation/src/main/java/eu/teraflow/automation/AutomationServiceImpl.java +4 −4 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ import org.jboss.logging.Logger; @ApplicationScoped public class AutomationServiceImpl implements AutomationService { private static final Logger LOGGER = Logger.getLogger(AutomationServiceImpl.class); private static final String MESSAGE = "Retrieved %s"; //private static final String MESSAGE = "Retrieved %s"; private final DeviceService deviceService; private final ContextService contextService; Loading Loading @@ -61,7 +61,7 @@ public class AutomationServiceImpl implements AutomationService { return; } LOGGER.infof(MESSAGE, device); //LOGGER.infof(MESSAGE, device); final var initialConfiguration = deviceService.getInitialConfiguration(device.getDeviceId()); Loading Loading @@ -114,7 +114,7 @@ public class AutomationServiceImpl implements AutomationService { device.disableDevice(); LOGGER.infof("Disabled device [%s]", id); LOGGER.infof(MESSAGE, device); //LOGGER.infof(MESSAGE, device); final var empty = deviceService.deleteDevice(device.getDeviceId()); Loading Loading @@ -150,7 +150,7 @@ public class AutomationServiceImpl implements AutomationService { return; } LOGGER.infof(MESSAGE, device); //LOGGER.infof(MESSAGE, device); device.setDeviceConfiguration(deviceConfig); final var updatedDeviceIdUni = deviceService.configureDevice(device); Loading Loading
src/automation/src/main/java/eu/teraflow/automation/AutomationServiceImpl.java +4 −4 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ import org.jboss.logging.Logger; @ApplicationScoped public class AutomationServiceImpl implements AutomationService { private static final Logger LOGGER = Logger.getLogger(AutomationServiceImpl.class); private static final String MESSAGE = "Retrieved %s"; //private static final String MESSAGE = "Retrieved %s"; private final DeviceService deviceService; private final ContextService contextService; Loading Loading @@ -61,7 +61,7 @@ public class AutomationServiceImpl implements AutomationService { return; } LOGGER.infof(MESSAGE, device); //LOGGER.infof(MESSAGE, device); final var initialConfiguration = deviceService.getInitialConfiguration(device.getDeviceId()); Loading Loading @@ -114,7 +114,7 @@ public class AutomationServiceImpl implements AutomationService { device.disableDevice(); LOGGER.infof("Disabled device [%s]", id); LOGGER.infof(MESSAGE, device); //LOGGER.infof(MESSAGE, device); final var empty = deviceService.deleteDevice(device.getDeviceId()); Loading Loading @@ -150,7 +150,7 @@ public class AutomationServiceImpl implements AutomationService { return; } LOGGER.infof(MESSAGE, device); //LOGGER.infof(MESSAGE, device); device.setDeviceConfiguration(deviceConfig); final var updatedDeviceIdUni = deviceService.configureDevice(device); Loading