Skip to content

Commit

Permalink
feat: Rename property "sonar.zpa.file.suffixes" to "sonar.plsqlopen.f…
Browse files Browse the repository at this point in the history
…ile.suffixes"

The change was necessary because the new "Analyzers loading optimization" feature in SonarQube 10.4 uses this property to check file extensions and ensure the plugin is only loaded when required.
  • Loading branch information
felipebz committed Feb 6, 2024
1 parent 68be10a commit 5732e53
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class PlSqlPlugin : Plugin {

context.addExtensions(
PropertyDefinition.builder(FILE_SUFFIXES_KEY)
.deprecatedKey(OLD_FILE_SUFFIXES_KEY)
.name("File Suffixes")
.description("Comma-separated list of suffixes of PL/SQL files to analyze.")
.category(DEFAULT_CATEGORY)
Expand Down Expand Up @@ -73,7 +74,8 @@ class PlSqlPlugin : Plugin {

companion object {
private const val DEFAULT_CATEGORY = "Z PL/SQL Analyzer"
internal const val FILE_SUFFIXES_KEY = "sonar.zpa.file.suffixes"
internal const val FILE_SUFFIXES_KEY = "sonar.plsqlopen.file.suffixes"
internal const val OLD_FILE_SUFFIXES_KEY = "sonar.zpa.file.suffixes"
internal const val FORMS_METADATA_KEY = "sonar.zpa.forms.metadata"
internal const val ERROR_RECOVERY_KEY = "sonar.zpa.errorRecoveryEnabled"
internal const val CONCURRENT_EXECUTION_KEY = "sonar.zpa.concurrentExecution"
Expand Down

0 comments on commit 5732e53

Please sign in to comment.