From 0462edf6c12cf77b00728dc8973b2130097092ba Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Fri, 20 Jan 2023 16:17:28 +0000
Subject: [PATCH] WebUI component:

- added dependencies for load generator
---
 src/common/method_wrappers/tests/deploy_specs.sh | 2 +-
 src/webui/Dockerfile                             | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/common/method_wrappers/tests/deploy_specs.sh b/src/common/method_wrappers/tests/deploy_specs.sh
index ab90ab3d3..a5af70b04 100644
--- a/src/common/method_wrappers/tests/deploy_specs.sh
+++ b/src/common/method_wrappers/tests/deploy_specs.sh
@@ -7,7 +7,7 @@ export TFS_REGISTRY_IMAGE="http://localhost:32000/tfs/"
 #   interdomain slice pathcomp dlt
 #   dbscanserving opticalattackmitigator opticalattackdetector
 #   l3_attackmitigator l3_centralizedattackdetector l3_distributedattackdetector
-export TFS_COMPONENTS="context device pathcomp service slice webui load_generator" # automation monitoring compute
+export TFS_COMPONENTS="context device pathcomp service slice webui load_generator" # automation monitoring compute dlt
 
 # Set the tag you want to use for your images.
 export TFS_IMAGE_TAG="dev"
diff --git a/src/webui/Dockerfile b/src/webui/Dockerfile
index a17d2bd9a..f0ab35629 100644
--- a/src/webui/Dockerfile
+++ b/src/webui/Dockerfile
@@ -77,6 +77,8 @@ COPY --chown=webui:webui src/context/__init__.py context/__init__.py
 COPY --chown=webui:webui src/context/client/. context/client/
 COPY --chown=webui:webui src/device/__init__.py device/__init__.py
 COPY --chown=webui:webui src/device/client/. device/client/
+COPY --chown=webui:webui src/load_generator/__init__.py load_generator/__init__.py
+COPY --chown=webui:webui src/load_generator/client/. load_generator/client/
 COPY --chown=webui:webui src/service/__init__.py service/__init__.py
 COPY --chown=webui:webui src/service/client/. service/client/
 COPY --chown=webui:webui src/slice/__init__.py slice/__init__.py
-- 
GitLab