From e9420ab66429a5291875c4d2e98c2c2277e2ba53 Mon Sep 17 00:00:00 2001
From: xkollar3 <xkollar3@fi.muni.cz>
Date: Wed, 8 May 2024 15:52:43 +0200
Subject: [PATCH] fixed locust, fixed readme

---
 locustfile.py | 2 +-
 pom.xml       | 2 +-
 readme.md     | 4 ++++
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/locustfile.py b/locustfile.py
index 97f0b4d..6ec04a9 100644
--- a/locustfile.py
+++ b/locustfile.py
@@ -46,4 +46,4 @@ class ObsUser(HttpUser):
 
         print(response.json())
 
-    wait_time = between(5, 10)  # Adjust the wait time between tasks
\ No newline at end of file
+    wait_time = between(0, 0.5)  # Adjust the wait time between tasks
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index d7970ca..dcf116b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
     <version>0.0.1-SNAPSHOT</version>
     <packaging>pom</packaging>
     <name>obs</name>
-    <description>Online banking system developed for learning purposed in the course pa165 at FI MU</description>
+    <description>Online banking system developed for learning purposes in the course pa165 at FI MU</description>
     <modules>
         <module>user-service</module>
         <module>transaction-service</module>
diff --git a/readme.md b/readme.md
index 4755acc..d0141b3 100644
--- a/readme.md
+++ b/readme.md
@@ -19,6 +19,10 @@ there is defined a scenario when someone deposits money via ATM meaning in the s
 it is deducted
 from the banks account
 
+analytics data is not seeded so just run after locust so you launch etl that will create the data warehouse content,
+normally it is run every day at 1 am to transform data from transaction service from previous day
+POST http://localhost:8080/api/analytics-service/v1/etl/execute
+
 ## Use case:
 ![img_2.png](img_2.png)
 
-- 
GitLab