This is an automated email from the ASF dual-hosted git repository.

nicknezis pushed a commit to branch nicknezis/ui-baseurl-fix
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git

commit e8318f0b7ca614254e131c898d019de5f296f9f6
Author: Nicholas Nezis <[email protected]>
AuthorDate: Tue Jun 30 00:10:00 2020 -0400

    Adding missing baseUrl
---
 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(' '));
     }

Reply via email to