Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2942 from tobespc/issue2937
Browse files Browse the repository at this point in the history
[0.12.0] add correct endpoint for spring and add tests
  • Loading branch information
tobespc authored May 14, 2020
2 parents 2114e69 + 1d572f8 commit 7286bfd
Show file tree
Hide file tree
Showing 6 changed files with 632 additions and 461 deletions.
4 changes: 2 additions & 2 deletions src/pfe/portal/modules/utils/metricsStatusChecker.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const VALID_METRIC_ENDPOINT = {
hosting: METRICS_DASH_HOST.project,
},
javametricsDash: {
endpoint: '/javametrics-dash',
endpoint: '/javametrics-dash/',
hosting: METRICS_DASH_HOST.project,
},
swiftmetricsDash: {
Expand Down Expand Up @@ -248,7 +248,7 @@ function getMetricsDashboardHostAndPath(endpoints, projectID, projectLanguage) {

function getDashboardPath(metricsDashHost, projectMetricEndpoint, projectID, language, injectMetrics) {
if (metricsDashHost === METRICS_DASH_HOST.project && !injectMetrics) {
return `${projectMetricEndpoint}/?theme=dark`;
return path.join(projectMetricEndpoint, '?theme=dark');
}

// Currently we only support java and nodejs on the performance dashboard
Expand Down
Loading

0 comments on commit 7286bfd

Please sign in to comment.