From 1b6678fbef88f6f53610ac08fe177f18f80c31d8 Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Tue, 14 Nov 2023 15:54:55 +0000
Subject: [PATCH] Forecast component:

- Fixed Dockerfile dependencies
- Updated TODO.txt file
---
 src/forecaster/Dockerfile       |  1 +
 src/forecaster/service/TODO.txt | 17 -----------------
 2 files changed, 1 insertion(+), 17 deletions(-)

diff --git a/src/forecaster/Dockerfile b/src/forecaster/Dockerfile
index a0d4cd561..4e0c4fe01 100644
--- a/src/forecaster/Dockerfile
+++ b/src/forecaster/Dockerfile
@@ -63,6 +63,7 @@ RUN python3 -m pip install -r requirements.txt
 # Add component files into working directory
 WORKDIR /var/teraflow
 COPY src/context/. context/
+COPY src/device/. device/
 COPY src/forecaster/. forecaster/
 COPY src/monitoring/. monitoring/
 
diff --git a/src/forecaster/service/TODO.txt b/src/forecaster/service/TODO.txt
index e5fabe3fe..621a31654 100644
--- a/src/forecaster/service/TODO.txt
+++ b/src/forecaster/service/TODO.txt
@@ -1,21 +1,4 @@
 
-Use a smaller network:
-INFO     forecaster.tests.Tools:Tools.py:75 Discovering Devices and Links...
-INFO     forecaster.tests.Tools:Tools.py:104   Found 22 devices and 462 links...
-
-In topology forecaster, the data file should contain more than 1 row per link, otherwise, it crashes with no enough samples.
-
-- implement integration with pathcomputation
-
-
-test case:
-- instantiate Context and Monitoring
-- populate topology
-- populate monitoring timeseries with link utilizations
-- run test for link
-- run test for topology
-
-
 ## PathComp Impact
 After retrieving the topology, if the service has a duration constraint configured, the PathComp component should interrogate the Forecaster and request a topology forecast according to the requested duration of the service. The computed link capacity forecast should be used as link capacity in path computations.
 
-- 
GitLab