You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by jo...@apache.org on 2020/07/03 12:37:18 UTC
[incubator-heron] branch master updated: Adding missing baseUrl
(#3553)
This is an automated email from the ASF dual-hosted git repository.
joshfischer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/master by this push:
new 7544160 Adding missing baseUrl (#3553)
7544160 is described below
commit 754416088bc040f2ea99e96f2c56580f807cd986
Author: Nicholas Nezis <ni...@gmail.com>
AuthorDate: Fri Jul 3 08:37:11 2020 -0400
Adding missing baseUrl (#3553)
---
heron/tools/ui/resources/static/js/stat-trendlines.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/heron/tools/ui/resources/static/js/stat-trendlines.js b/heron/tools/ui/resources/static/js/stat-trendlines.js
index 964f0cf..2f32229 100644
--- a/heron/tools/ui/resources/static/js/stat-trendlines.js
+++ b/heron/tools/ui/resources/static/js/stat-trendlines.js
@@ -215,9 +215,9 @@ function StatTrendlines(baseUrl, cluster, environ, toponame, physicalPlan, logic
.append('div')
.attr('class', 'text-center')
.html([
- '<a class="btn btn-primary btn-xs" target="_blank" href="/topologies/' + cluster + '/' + environ + '/' + toponame + '/' + container + '/file?path=./log-files/' + instance + '.log.0">logs</a>',
- '<a class="btn btn-primary btn-xs" target="_blank" href="/topologies/filestats/' + cluster + '/' + environ + '/' + toponame + '/' + container + '">job</a>',
- '<a class="btn btn-primary btn-xs" target="_blank" href="/topologies/' + cluster + '/' + environ + '/' + toponame + '/' + name + '/' + instance + '/exceptions">exceptions</a>',
+ '<a class="btn btn-primary btn-xs" target="_blank" href="' + baseUrl + '/topologies/' + cluster + '/' + environ + '/' + toponame + '/' + container + '/file?path=./log-files/' + instance + '.log.0">logs</a>',
+ '<a class="btn btn-primary btn-xs" target="_blank" href="' + baseUrl + '/topologies/filestats/' + cluster + '/' + environ + '/' + toponame + '/' + container + '">job</a>',
+ '<a class="btn btn-primary btn-xs" target="_blank" href="' + baseUrl + '/topologies/' + cluster + '/' + environ + '/' + toponame + '/' + name + '/' + instance + '/exceptions">exceptions</a>',
'<br>',
].join(' '));
}