X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fdash%2Fapp%2Fpal%2F__init__.py;h=bb110a254d9f19c63180e3beb49bdfbb19673096;hp=4e32598147258d80316d913b18fdd5124b08c385;hb=refs%2Fchanges%2F55%2F36155%2F8;hpb=099b961a0aa234f870ff60e36492e324bb2abe11 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