From 061ea1864e550ea7f9fbc6bc2a096b2cedd94b96 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Mon, 9 Apr 2018 11:51:18 +0200 Subject: PAL: Static content - indexes Change-Id: I5ebe1bc959e893fc617f69b9c3e01eee262651e0 Signed-off-by: Tibor Frank --- resources/tools/presentation/generator_CPTA.py | 3 +++ resources/tools/presentation/specification_CPTA.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'resources/tools/presentation') diff --git a/resources/tools/presentation/generator_CPTA.py b/resources/tools/presentation/generator_CPTA.py index 69c52d4180..9cce8ed8b2 100644 --- a/resources/tools/presentation/generator_CPTA.py +++ b/resources/tools/presentation/generator_CPTA.py @@ -365,6 +365,7 @@ def _generate_all_charts(spec, input_data): csv_table = list() # Create the header: builds = spec.cpta["data"].values()[0] + job_name = spec.cpta["data"].keys()[0] builds_lst = [str(build) for build in range(builds[0], builds[-1] + 1)] header = "Build Number:," + ",".join(builds_lst) + '\n' csv_table.append(header) @@ -424,6 +425,8 @@ def _generate_all_charts(spec, input_data): idx += 1 # Generate the chart: + chart["layout"]["xaxis"]["title"] = \ + chart["layout"]["xaxis"]["title"].format(job=job_name) _generate_chart(traces, chart["layout"], file_name="{0}-{1}-{2}{3}".format( diff --git a/resources/tools/presentation/specification_CPTA.yaml b/resources/tools/presentation/specification_CPTA.yaml index f5097fc782..e1b80351b2 100644 --- a/resources/tools/presentation/specification_CPTA.yaml +++ b/resources/tools/presentation/specification_CPTA.yaml @@ -102,7 +102,7 @@ showgrid: True xaxis: showticklabels: True - title: "VPP Performance Trending Job ID" + title: "/csit/job/{job}/$id" autorange: True showgrid: True gridcolor: "rgb(238, 238, 238)" -- cgit 1.2.3-korg