From a37f4aa37f4b73c3636651e2d78314f812a58d00 Mon Sep 17 00:00:00 2001
From: Max Lou Hartel-Kaduk <mhartel@digitallearning.gmbh>
Date: Mon, 30 Jan 2023 17:10:50 +0100
Subject: [PATCH] Adding analtytics engine configurations

---
 scheduler/configuration/another_analytics.yml | 3 ---
 scheduler/configuration/dummy_engines_1.yml   | 9 +++++++++
 scheduler/configuration/dummy_engines_3.yml   | 4 ++++
 scheduler/configuration/dummy_engines_4.yml   | 4 ++++
 scheduler/configuration/dummy_engines_5.yml   | 4 ++++
 scheduler/configuration/dummy_engines_6.yml   | 4 ++++
 scheduler/configuration/sample-analytics.yaml | 9 ---------
 7 files changed, 25 insertions(+), 12 deletions(-)
 delete mode 100644 scheduler/configuration/another_analytics.yml
 create mode 100644 scheduler/configuration/dummy_engines_1.yml
 create mode 100644 scheduler/configuration/dummy_engines_3.yml
 create mode 100644 scheduler/configuration/dummy_engines_4.yml
 create mode 100644 scheduler/configuration/dummy_engines_5.yml
 create mode 100644 scheduler/configuration/dummy_engines_6.yml
 delete mode 100644 scheduler/configuration/sample-analytics.yaml

diff --git a/scheduler/configuration/another_analytics.yml b/scheduler/configuration/another_analytics.yml
deleted file mode 100644
index 33db6c1..0000000
--- a/scheduler/configuration/another_analytics.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-dummy_engine:
-    run: "*/1 * * * *"
-    repo: "https://scheduler:glpat-MsDsrHMH-k3-DzEfNRgk@gitlab.digitallearning.gmbh/polaris/engines/dummy-engine.git"
\ No newline at end of file
diff --git a/scheduler/configuration/dummy_engines_1.yml b/scheduler/configuration/dummy_engines_1.yml
new file mode 100644
index 0000000..d05bb2f
--- /dev/null
+++ b/scheduler/configuration/dummy_engines_1.yml
@@ -0,0 +1,9 @@
+dummy_engine_1_moodle:
+    crontab: "*/1 * * * *"
+    repo: "https://scheduler:glpat-MsDsrHMH-k3-DzEfNRgk@gitlab.digitallearning.gmbh/polaris/engines/dummy-engine.git"
+    analytics_token: "3265d4c5a0c83789d32d66d943012da42d2b3824b3b0f030b1dcb2009007619a"
+
+dummy_engine_1_h5p:
+    crontab: "*/1 * * * *"
+    repo: "https://scheduler:glpat-MsDsrHMH-k3-DzEfNRgk@gitlab.digitallearning.gmbh/polaris/engines/dummy-engine.git"
+    analytics_token: "21f37b67ec114cc533b200de80f71af33b9b387df7874d9948d494499cd08954"
\ No newline at end of file
diff --git a/scheduler/configuration/dummy_engines_3.yml b/scheduler/configuration/dummy_engines_3.yml
new file mode 100644
index 0000000..ea449e6
--- /dev/null
+++ b/scheduler/configuration/dummy_engines_3.yml
@@ -0,0 +1,4 @@
+dummy_engine_3:
+    crontab: "*/1 * * * *"
+    repo: "https://mhartel:glpat-XCUF-tRqorfPeqA666ew@gitlab.digitallearning.gmbh/polaris/engines/dummy-engine-3.git"
+    analytics_token: "e1f3e6625ade7463d34c4d25e8c26e235a23925067dfc9f9b635145784a0afe8"
\ No newline at end of file
diff --git a/scheduler/configuration/dummy_engines_4.yml b/scheduler/configuration/dummy_engines_4.yml
new file mode 100644
index 0000000..8d3350c
--- /dev/null
+++ b/scheduler/configuration/dummy_engines_4.yml
@@ -0,0 +1,4 @@
+dummy_engine_4:
+    crontab: "*/1 * * * *"
+    repo: "https://mhartel:glpat-sT4McKX7hBC_a3cbgyEh@gitlab.digitallearning.gmbh/polaris/engines/dummy-engine-4.git"
+    analytics_token: "7c849ef79cb0714ba507210adc267c93a30f84cd99e4625f8852a81141f9cb32"
\ No newline at end of file
diff --git a/scheduler/configuration/dummy_engines_5.yml b/scheduler/configuration/dummy_engines_5.yml
new file mode 100644
index 0000000..9bd2745
--- /dev/null
+++ b/scheduler/configuration/dummy_engines_5.yml
@@ -0,0 +1,4 @@
+dummy_engine_5:
+    crontab: "*/1 * * * *"
+    repo: "https://mhartel:glpat-sa7_27agCHnU8xczaSSq@gitlab.digitallearning.gmbh/polaris/engines/dummy-engine-5.git"
+    analytics_token: "b3256d932e6b3441221ecfe231663dd87521061a53716b6d46d0d382aeb432f2"
\ No newline at end of file
diff --git a/scheduler/configuration/dummy_engines_6.yml b/scheduler/configuration/dummy_engines_6.yml
new file mode 100644
index 0000000..0aa53ad
--- /dev/null
+++ b/scheduler/configuration/dummy_engines_6.yml
@@ -0,0 +1,4 @@
+dummy_engine_6:
+    crontab: "*/1 * * * *"
+    repo: "https://mhartel:glpat-qbEhRrxLxdtVC-v47dMJ@gitlab.digitallearning.gmbh/polaris/engines/dummy-engine-6.git"
+    analytics_token: "b480ffdb885baa3f5a383307f5a2367f612c8856094793d890f04026847cc5be"
diff --git a/scheduler/configuration/sample-analytics.yaml b/scheduler/configuration/sample-analytics.yaml
deleted file mode 100644
index 942859e..0000000
--- a/scheduler/configuration/sample-analytics.yaml
+++ /dev/null
@@ -1,9 +0,0 @@
-engine_every_ten_minute:
-    run: "*/1 * * * *"
-    repo: "https://gitlab.digitallearning.gmbh/polaris/engines/dummy-engine.git"
-    
-engine_hourly_example:
-    run: "0 * * * *"
-    repo: "https://gitlab.digitallearning.gmbh/polaris/engines/dummy-engine.git"
-    depends_on:
-        - engine_every_ten_minute
\ No newline at end of file
-- 
GitLab