You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by ni...@apache.org on 2020/06/30 04:10:24 UTC

[incubator-heron] branch nicknezis/ui-baseurl-fix created (now e8318f0)

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

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


      at e8318f0  Adding missing baseUrl

This branch includes the following new commits:

     new e8318f0  Adding missing baseUrl

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-heron] 01/01: Adding missing baseUrl

Posted by ni...@apache.org.
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 <ni...@gmail.com>
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(' '));
     }