From f5daffd07c67df913a510393c538c8dcf38026ac Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Wed, 1 Feb 2023 13:35:33 +0000
Subject: [PATCH 1/2] Automation component:

- removed unneeded log
---
 .../eu/teraflow/automation/AutomationServiceImpl.java     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/automation/src/main/java/eu/teraflow/automation/AutomationServiceImpl.java b/src/automation/src/main/java/eu/teraflow/automation/AutomationServiceImpl.java
index 93f86e8d2..98acfccb3 100644
--- a/src/automation/src/main/java/eu/teraflow/automation/AutomationServiceImpl.java
+++ b/src/automation/src/main/java/eu/teraflow/automation/AutomationServiceImpl.java
@@ -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;
@@ -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());
@@ -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());
 
@@ -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);
 
-- 
GitLab


From 63d185a301b4a5647ac01ef8154cdb65db0e4ffe Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Wed, 1 Feb 2023 13:36:10 +0000
Subject: [PATCH 2/2] PathComp component:

- silented warning
---
 .../frontend/service/algorithms/KDisjointPathAlgorithm.py       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pathcomp/frontend/service/algorithms/KDisjointPathAlgorithm.py b/src/pathcomp/frontend/service/algorithms/KDisjointPathAlgorithm.py
index 6a80fe698..f8021338e 100644
--- a/src/pathcomp/frontend/service/algorithms/KDisjointPathAlgorithm.py
+++ b/src/pathcomp/frontend/service/algorithms/KDisjointPathAlgorithm.py
@@ -141,7 +141,7 @@ class KDisjointPathAlgorithm(_Algorithm):
             _request = PathCompRequest()
             for service_key, service_details in self.services_details.items():
                 service_type, constraints, endpoints = service_details
-                _service = _request.services.add()
+                _service = _request.services.add()  # pylint: disable=no-member
                 _service.service_id.context_id.context_uuid.uuid = service_key[0]
                 _service.service_id.service_uuid.uuid = service_key[1]
                 _service.service_type = service_type
-- 
GitLab