Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First SQ 10 version #2629

Merged
merged 12 commits into from
Feb 7, 2024
Merged

First SQ 10 version #2629

merged 12 commits into from
Feb 7, 2024

Conversation

guwirth
Copy link
Collaborator

@guwirth guwirth commented Feb 7, 2024

merged #2616 into new branch SQ-10.


This change is Reviewable

guwirth and others added 11 commits January 19, 2024 15:16
- CI is testing with SQ 9.9 LTS and SQ 10.3 with Java 17
  - use SonarQube 10.3.0.82913 for testing
  - use SonarScanner 5.0.1.3006 for testing
- pom.xml: use Java 17 as default (Java 11 no more supported)
….15.0.435

Refactor the code to use new artifact sonar-plugin-api-test-fixtures.
Get rid of deprecated LoggerLevel.
…0.3.0.1951

And bump also org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures

Some classes move to org.sonar.api.testfixtures.measure package.
… to 10.3.0.82913

And bump org.sonarsource.sonarqube:sonar-testing-harness
The call /api/measures/component does no longer support query paramter metricKeys=directoriesi.

This request
  curl 'http://localhost:9000/api/measures/component?component=smoketest_project&metricKeys=ncloc,lines,statements,classes,files,directories,functions,comment_lines_density,comment_lines,duplicated_lines_density,duplicated_lines,duplicated_blocks,duplicated_files,complexity,cognitive_complexity,file_complexity,violations,lines_to_cover,coverage,line_coverage,branch_coverage,uncovered_conditions,uncovered_lines,tests,test_failures,test_errors,skipped_tests,test_execution_time,test_success_density,false_positive_issues,open_issues,confirmed_issues,reopened_issues,code_smells,sqale_index,sqale_debt_ratio,bugs,reliability_remediation_effort,vulnerabilities,security_remediation_effort,security_hotspots'

returned error 404 with body:
  {"errors":[{"msg":"The following metric keys are not found: directories"}]}
Change in SonarQube 10.0 for /api/rules/create:
  Drop deprecated keys: 'custom_key', 'template_key', 'markdown_description', 'prevent_reactivation'

The parameter names changed.
  custom_key -> customKey
  template_key -> templateKey
  markdown_description -> markdownDescription

We got for example this error:
 {"errors":[{"msg":"The markdownDescription parameter is missing"}]}
@guwirth guwirth self-assigned this Feb 7, 2024
@guwirth guwirth added this to the 2.2.0 milestone Feb 7, 2024
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@guwirth guwirth merged commit 21dee86 into SonarOpenCommunity:SQ-10 Feb 7, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants