aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/dash/app/pal/__init__.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2022-05-17 14:30:37 +0200
committerTibor Frank <tifrank@cisco.com>2022-05-19 11:58:43 +0000
commit3343fe81729eb4005319ca15b1e6881630d38c5b (patch)
treefd172c3ba1146d5ddffb3ced53e4bed0e7ad2a1c /resources/tools/dash/app/pal/__init__.py
parent099b961a0aa234f870ff60e36492e324bb2abe11 (diff)
feat(uti): Add iterative data
Change-Id: Iaa7253b377f019235289f6bbf48eafd850a2dfc8 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/dash/app/pal/__init__.py')
-rw-r--r--resources/tools/dash/app/pal/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/resources/tools/dash/app/pal/__init__.py b/resources/tools/dash/app/pal/__init__.py
index 4e32598147..bb110a254d 100644
--- a/resources/tools/dash/app/pal/__init__.py
+++ b/resources/tools/dash/app/pal/__init__.py
@@ -30,6 +30,10 @@ MAX_TIME_PERIOD = 180
# TIME_PERIOD = MAX_TIME_PERIOD is the default value
TIME_PERIOD = MAX_TIME_PERIOD # [days]
+# List of releases used for iterative data processing.
+# The releases MUST be in the order from the current (newest) to the last
+# (oldest).
+RELEASES=["rls2202", ]
def init_app():
"""Construct core Flask application with embedded Dash app.
@@ -65,6 +69,9 @@ def init_app():
from .trending.trending import init_trending
app = init_trending(app, time_period=time_period)
+ from .report.report import init_report
+ app = init_report(app, releases=RELEASES)
+
return app