Skip to content

Commit

Permalink
fix: Sonar 8.8 support
Browse files Browse the repository at this point in the history
blackducksoftware#11 - hub-sonarqube giving "component" error
due to deprecation of Sonar api/measures/component_tree 'baseComponentKey' parameter in Sonar v8.8
  • Loading branch information
zkb-cisupport committed Nov 30, 2021
1 parent 207c5bf commit 135d799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/static/overview.js
Expand Up @@ -69,7 +69,7 @@ window.registerExtension('hubsonarqube/overview', function (options) {

function getAndDisplayData(wrapper, page = 1) {
window.SonarRequest.getJSON('/api/measures/component_tree', {
baseComponentKey: window.globalOptions.component.key,
component: window.globalOptions.component.key,
p: page,
ps: PAGE_SIZE,
metricKeys: METRIC_KEYS,
Expand Down

0 comments on commit 135d799

Please sign in to comment.