From 2bf8736eefebd968b1526c7c0eb4f0eff303ffc3 Mon Sep 17 00:00:00 2001 From: Matteo Mara Date: Wed, 9 Nov 2022 12:19:20 +0100 Subject: [PATCH] SONAR-17580 add edition information to api/system/info response --- .../monitoring/StandaloneSystemSection.java | 7 +- .../cluster/GlobalSystemSection.java | 7 +- .../StandaloneSystemSectionTest.java | 29 +- .../cluster/GlobalSystemSectionTest.java | 18 +- .../sonar/server/platform/ws/InfoAction.java | 3 +- .../server/platform/ws/info-example.json | 511 ++++++++++++------ 6 files changed, 414 insertions(+), 161 deletions(-) diff --git a/server/sonar-webserver-core/src/main/java/org/sonar/server/platform/monitoring/StandaloneSystemSection.java b/server/sonar-webserver-core/src/main/java/org/sonar/server/platform/monitoring/StandaloneSystemSection.java index 457b6377951..643f39eaf48 100644 --- a/server/sonar-webserver-core/src/main/java/org/sonar/server/platform/monitoring/StandaloneSystemSection.java +++ b/server/sonar-webserver-core/src/main/java/org/sonar/server/platform/monitoring/StandaloneSystemSection.java @@ -24,6 +24,7 @@ import java.util.List; import javax.annotation.CheckForNull; import javax.annotation.Nullable; import org.sonar.api.CoreProperties; +import org.sonar.api.SonarRuntime; import org.sonar.api.config.Configuration; import org.sonar.api.platform.Server; import org.sonar.api.security.SecurityRealm; @@ -55,9 +56,11 @@ public class StandaloneSystemSection extends BaseSectionMBean implements SystemS private final OfficialDistribution officialDistribution; private final DockerSupport dockerSupport; + private final SonarRuntime sonarRuntime; + public StandaloneSystemSection(Configuration config, SecurityRealmFactory securityRealmFactory, IdentityProviderRepository identityProviderRepository, Server server, ServerLogging serverLogging, - OfficialDistribution officialDistribution, DockerSupport dockerSupport) { + OfficialDistribution officialDistribution, DockerSupport dockerSupport, SonarRuntime sonarRuntime) { this.config = config; this.securityRealmFactory = securityRealmFactory; this.identityProviderRepository = identityProviderRepository; @@ -65,6 +68,7 @@ public class StandaloneSystemSection extends BaseSectionMBean implements SystemS this.serverLogging = serverLogging; this.officialDistribution = officialDistribution; this.dockerSupport = dockerSupport; + this.sonarRuntime = sonarRuntime; } @Override @@ -122,6 +126,7 @@ public class StandaloneSystemSection extends BaseSectionMBean implements SystemS setAttribute(protobuf, "Server ID", server.getId()); setAttribute(protobuf, "Version", getVersion()); + setAttribute(protobuf, "Edition", sonarRuntime.getEdition().getLabel()); setAttribute(protobuf, "Docker", dockerSupport.isRunningInDocker()); setAttribute(protobuf, "External User Authentication", getExternalUserAuthentication()); addIfNotEmpty(protobuf, "Accepted external identity providers", getEnabledIdentityProviders()); diff --git a/server/sonar-webserver-core/src/main/java/org/sonar/server/platform/monitoring/cluster/GlobalSystemSection.java b/server/sonar-webserver-core/src/main/java/org/sonar/server/platform/monitoring/cluster/GlobalSystemSection.java index 9fb9afef322..c9e3386d812 100644 --- a/server/sonar-webserver-core/src/main/java/org/sonar/server/platform/monitoring/cluster/GlobalSystemSection.java +++ b/server/sonar-webserver-core/src/main/java/org/sonar/server/platform/monitoring/cluster/GlobalSystemSection.java @@ -24,6 +24,7 @@ import java.util.List; import javax.annotation.CheckForNull; import javax.annotation.Nullable; import org.sonar.api.CoreProperties; +import org.sonar.api.SonarRuntime; import org.sonar.api.config.Configuration; import org.sonar.api.platform.Server; import org.sonar.api.security.SecurityRealm; @@ -50,13 +51,16 @@ public class GlobalSystemSection implements SystemInfoSection, Global { private final IdentityProviderRepository identityProviderRepository; private final DockerSupport dockerSupport; + private final SonarRuntime sonarRuntime; + public GlobalSystemSection(Configuration config, Server server, SecurityRealmFactory securityRealmFactory, - IdentityProviderRepository identityProviderRepository, DockerSupport dockerSupport) { + IdentityProviderRepository identityProviderRepository, DockerSupport dockerSupport, SonarRuntime sonarRuntime) { this.config = config; this.server = server; this.securityRealmFactory = securityRealmFactory; this.identityProviderRepository = identityProviderRepository; this.dockerSupport = dockerSupport; + this.sonarRuntime = sonarRuntime; } @Override @@ -65,6 +69,7 @@ public class GlobalSystemSection implements SystemInfoSection, Global { protobuf.setName("System"); setAttribute(protobuf, "Server ID", server.getId()); + setAttribute(protobuf, "Edition", sonarRuntime.getEdition().getLabel()); setAttribute(protobuf, "Docker", dockerSupport.isRunningInDocker()); setAttribute(protobuf, "High Availability", true); setAttribute(protobuf, "External User Authentication", getExternalUserAuthentication()); diff --git a/server/sonar-webserver-core/src/test/java/org/sonar/server/platform/monitoring/StandaloneSystemSectionTest.java b/server/sonar-webserver-core/src/test/java/org/sonar/server/platform/monitoring/StandaloneSystemSectionTest.java index b6157d1e9b3..3b9f38757e1 100644 --- a/server/sonar-webserver-core/src/test/java/org/sonar/server/platform/monitoring/StandaloneSystemSectionTest.java +++ b/server/sonar-webserver-core/src/test/java/org/sonar/server/platform/monitoring/StandaloneSystemSectionTest.java @@ -27,6 +27,8 @@ import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import org.sonar.api.CoreProperties; +import org.sonar.api.SonarEdition; +import org.sonar.api.SonarRuntime; import org.sonar.api.config.internal.MapSettings; import org.sonar.api.platform.Server; import org.sonar.api.security.SecurityRealm; @@ -42,6 +44,10 @@ import org.sonar.server.user.SecurityRealmFactory; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; +import static org.sonar.api.SonarEdition.COMMUNITY; +import static org.sonar.api.SonarEdition.DATACENTER; +import static org.sonar.api.SonarEdition.DEVELOPER; +import static org.sonar.api.SonarEdition.ENTERPRISE; import static org.sonar.process.systeminfo.SystemInfoUtils.attribute; import static org.sonar.server.platform.monitoring.SystemInfoTesting.assertThatAttributeIs; @@ -58,12 +64,15 @@ public class StandaloneSystemSectionTest { private OfficialDistribution officialDistribution = mock(OfficialDistribution.class); private DockerSupport dockerSupport = mock(DockerSupport.class); + private SonarRuntime sonarRuntime = mock(SonarRuntime.class); + private StandaloneSystemSection underTest = new StandaloneSystemSection(settings.asConfig(), securityRealmFactory, identityProviderRepository, server, - serverLogging, officialDistribution, dockerSupport); + serverLogging, officialDistribution, dockerSupport, sonarRuntime); @Before public void setUp() { when(serverLogging.getRootLoggerLevel()).thenReturn(LoggerLevel.DEBUG); + when(sonarRuntime.getEdition()).thenReturn(COMMUNITY); } @Test @@ -179,6 +188,14 @@ public class StandaloneSystemSectionTest { assertThat(attribute(protobuf, "Docker").getBooleanValue()).isEqualTo(flag); } + @Test + @UseDataProvider("editions") + public void get_edition(SonarEdition sonarEdition, String editionLabel) { + when(sonarRuntime.getEdition()).thenReturn(sonarEdition); + ProtobufSystemInfo.Section protobuf = underTest.toProtobuf(); + assertThatAttributeIs(protobuf, "Edition", editionLabel); + } + @DataProvider public static Object[][] trueOrFalse() { return new Object[][] { @@ -186,4 +203,14 @@ public class StandaloneSystemSectionTest { {false} }; } + + @DataProvider + public static Object[][] editions() { + return new Object[][] { + {COMMUNITY, COMMUNITY.getLabel()}, + {DEVELOPER, DEVELOPER.getLabel()}, + {ENTERPRISE, ENTERPRISE.getLabel()}, + {DATACENTER, DATACENTER.getLabel()}, + }; + } } diff --git a/server/sonar-webserver-core/src/test/java/org/sonar/server/platform/monitoring/cluster/GlobalSystemSectionTest.java b/server/sonar-webserver-core/src/test/java/org/sonar/server/platform/monitoring/cluster/GlobalSystemSectionTest.java index fcc4bdfda26..258c7e0ad9f 100644 --- a/server/sonar-webserver-core/src/test/java/org/sonar/server/platform/monitoring/cluster/GlobalSystemSectionTest.java +++ b/server/sonar-webserver-core/src/test/java/org/sonar/server/platform/monitoring/cluster/GlobalSystemSectionTest.java @@ -22,10 +22,12 @@ package org.sonar.server.platform.monitoring.cluster; import com.tngtech.java.junit.dataprovider.DataProvider; import com.tngtech.java.junit.dataprovider.DataProviderRunner; import com.tngtech.java.junit.dataprovider.UseDataProvider; +import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import org.sonar.api.CoreProperties; +import org.sonar.api.SonarRuntime; import org.sonar.api.config.internal.MapSettings; import org.sonar.api.platform.Server; import org.sonar.api.security.SecurityRealm; @@ -38,6 +40,7 @@ import org.sonar.server.user.SecurityRealmFactory; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; +import static org.sonar.api.SonarEdition.COMMUNITY; import static org.sonar.process.systeminfo.SystemInfoUtils.attribute; import static org.sonar.server.platform.monitoring.SystemInfoTesting.assertThatAttributeIs; @@ -52,8 +55,15 @@ public class GlobalSystemSectionTest { private SecurityRealmFactory securityRealmFactory = mock(SecurityRealmFactory.class); private DockerSupport dockerSupport = mock(DockerSupport.class); + + private SonarRuntime sonarRuntime = mock(SonarRuntime.class); private GlobalSystemSection underTest = new GlobalSystemSection(settings.asConfig(), - server, securityRealmFactory, identityProviderRepository, dockerSupport); + server, securityRealmFactory, identityProviderRepository, dockerSupport, sonarRuntime); + + @Before + public void setUp() { + when(sonarRuntime.getEdition()).thenReturn(COMMUNITY); + } @Test public void name_is_not_empty() { @@ -141,6 +151,12 @@ public class GlobalSystemSectionTest { assertThatAttributeIs(protobuf, "Docker", flag); } + @Test + public void get_edition() { + ProtobufSystemInfo.Section protobuf = underTest.toProtobuf(); + assertThatAttributeIs(protobuf, "Edition", COMMUNITY.getLabel()); + } + @DataProvider public static Object[][] trueOrFalse() { return new Object[][] { diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/platform/ws/InfoAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/platform/ws/InfoAction.java index fb9571b901f..5b3f79f7c44 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/platform/ws/InfoAction.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/platform/ws/InfoAction.java @@ -51,7 +51,8 @@ public class InfoAction implements SystemWsAction { action.setChangelog( new Change("5.5", "Becomes internal to easily update result"), new Change("8.3", "Becomes public"), - new Change("9.7", "'Statistics' field has been removed from response") + new Change("9.7", "'Statistics' field has been removed from response"), + new Change("9.8", "'Edition' field added to the response under the 'System' section") ); } diff --git a/server/sonar-webserver-webapi/src/main/resources/org/sonar/server/platform/ws/info-example.json b/server/sonar-webserver-webapi/src/main/resources/org/sonar/server/platform/ws/info-example.json index a7f679e72e6..dc492f92502 100644 --- a/server/sonar-webserver-webapi/src/main/resources/org/sonar/server/platform/ws/info-example.json +++ b/server/sonar-webserver-webapi/src/main/resources/org/sonar/server/platform/ws/info-example.json @@ -1,194 +1,393 @@ { + "Health": "GREEN", + "Health Causes": [], "System": { - "System Date": "2015-02-23T18:54:23+0100", - "Start Time": "2015-02-23T18:53:22+0100", - "JVM Vendor": "Oracle Corporation", - "JVM Name": "Java HotSpot(TM) 64-Bit Server VM", - "JVM Version": "24.71-b01", - "Processors": 8, - "System Classpath": "./lib/common/commons-codec-1.8.jar:./lib/common/commons-io-2.4.jar:./lib/common/commons-lang-2.6.jar:./lib/common/elasticsearch-1.4.2.jar:./lib/common/logback-classic-1.1.2.jar:./lib/common/logback-core-1.1.2.jar:./lib/common/lucene-analyzers-common-4.10.2.jar:./lib/common/lucene-core-4.10.2.jar:./lib/common/lucene-grouping-4.10.2.jar:./lib/common/lucene-highlighter-4.10.2.jar:./lib/common/lucene-join-4.10.2.jar:./lib/common/lucene-memory-4.10.2.jar:./lib/common/lucene-misc-4.10.2.jar:./lib/common/lucene-queries-4.10.2.jar:./lib/common/lucene-queryparser-4.10.2.jar:./lib/common/lucene-sandbox-4.10.2.jar:./lib/common/lucene-suggest-4.10.2.jar:./lib/common/slf4j-api-1.7.10.jar:./lib/common/sonar-process-5.1-tests.jar:./lib/common/sonar-process-5.1.jar:./lib/common/sonar-process-monitor-5.1.jar:./lib/server/antlr-2.7.6.jar:./lib/server/blueprints-core-2.2.0.jar:./lib/server/commons-beanutils-1.8.3.jar:./lib/server/commons-collections-3.2.2.jar:./lib/server/commons-csv-1.0.jar:./lib/server/commons-dbcp-1.4.jar:./lib/server/commons-dbutils-1.5.jar:./lib/server/commons-pool-1.5.4.jar:./lib/server/dom4j-1.6.1.jar:./lib/server/ejb3-persistence-1.0.2.GA.jar:./lib/server/geronimo-spec-jta-1.0-M1.jar:./lib/server/gson-2.3.1.jar:./lib/server/guava-10.0.1.jar:./lib/server/hibernate-annotations-3.4.0.GA.jar:./lib/server/hibernate-commons-annotations-3.1.0.GA.jar:./lib/server/hibernate-core-3.3.2.GA.jar:./lib/server/hibernate-entitymanager-3.4.0.GA.jar:./lib/server/javassist-3.4.GA.jar:./lib/server/jcl-over-slf4j-1.7.10.jar:./lib/server/jcommon-1.0.12.jar:./lib/server/jfreechart-1.0.9.jar:./lib/server/jruby-complete-1.7.9.jar:./lib/server/jruby-rack-1.1.13.2.jar:./lib/server/json-simple-1.1.1.jar:./lib/server/jul-to-slf4j-1.7.10.jar:./lib/server/log4j-over-slf4j-1.7.10.jar:./lib/server/logback-access-1.1.2.jar:./lib/server/lz4-1.3.0.jar:./lib/server/mybatis-3.2.7.jar:./lib/server/picocontainer-2.14.3.jar:./lib/server/plexus-classworlds-2.5.1.jar:./lib/server/protobuf-java-2.6.1.jar:./lib/server/sonar-batch-protocol-5.1.jar:./lib/server/sonar-channel-4.1.jar:./lib/server/sonar-check-api-5.1.jar:./lib/server/sonar-colorizer-5.1.jar:./lib/server/sonar-core-5.1.jar:./lib/server/sonar-deprecated-5.1.jar:./lib/server/sonar-duplications-5.1.jar:./lib/server/sonar-graph-5.1.jar:./lib/server/sonar-home-5.1.jar:./lib/server/sonar-java-api-5.1.jar:./lib/server/sonar-markdown-5.1.jar:./lib/server/sonar-plugin-api-5.1.jar:./lib/server/sonar-server-5.1.jar:./lib/server/sonar-squid-4.1.jar:./lib/server/sonar-update-center-common-1.11.jar:./lib/server/stax-api-1.0-2.jar:./lib/server/stax2-api-3.1.4.jar:./lib/server/staxmate-2.0.1.jar:./lib/server/tomcat-embed-core-8.0.18.jar:./lib/server/tomcat-embed-el-8.0.18.jar:./lib/server/tomcat-embed-jasper-8.0.18.jar:./lib/server/tomcat-embed-logging-juli-8.0.18.jar:./lib/server/woodstox-core-lgpl-4.4.0.jar:./lib/server/xml-apis-1.4.01.jar:/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-5.1/lib/jdbc/h2/h2-1.3.176.jar", - "BootClassPath": "/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/classes", - "Library Path": "/Users/foo/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.", - "Total Memory": "323 MB", - "Free Memory": "173 MB", - "Max Memory": "716 MB", - "Heap": "init = 134217728(131072K) used = 150395872(146870K) committed = 323485696(315904K) max = 716177408(699392K)", - "Non Heap": "init = 24576000(24000K) used = 91012976(88879K) committed = 114163712(111488K) max = 218103808(212992K)", - "System Load Average": "394.9% (last minute)", - "Loaded Classes": 15392, - "Total Loaded Classes": 15392, - "Unloaded Classes": 0, - "Threads": 52, - "Threads Peak": 52, - "Daemon Thread": 40 - }, - "SonarQube": { - "Version": "5.1", - "External User Authentication": "", - "Automatic User Creation": true, - "Allow Users to Sign Up": false, + "Server ID": "AAAAAAAA-BBBBBBBBBBBBBBBBBBBB", + "Version": "9.8", + "Edition": "Enterprise", + "Docker": false, + "Accepted external identity providers": "Keycloak", + "External identity providers whose users are allowed to sign themselves up": "Keycloak", + "High Availability": false, + "Official Distribution": false, "Force authentication": false, - "Home Dir": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-5.1", - "Data Dir": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-5.1/data", - "Logs Dir": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-5.1/logs", - "Temp Dir": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-5.1/temp" + "Home Dir": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8", + "Data Dir": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/data", + "Temp Dir": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/temp", + "Processors": 10 }, - "ElasticSearch": { - "State": "GREEN", - "Indices": { - "sourcelines": { - "Docs": 0, - "Shards": 1, - "Store Size": "115 bytes" - }, - "users": { - "Docs": 1, - "Shards": 1, - "Store Size": "3 KB" - }, - "logs": { - "Docs": 1104, - "Shards": 1, - "Store Size": "162 KB" - }, - "views": { - "Docs": 0, - "Shards": 1, - "Store Size": "115 bytes" - }, - "issues": { - "Docs": 0, - "Shards": 1, - "Store Size": "115 bytes" - }, - "rules": { - "Docs": 1491, - "Shards": 1, - "Store Size": "2 MB" - } - }, - "Number of Nodes": 1, - "Nodes": { - "6DYkdNuvT6abEdShyEK5ow": { - "Address": "inet[/10.150.0.193:9001]", - "Type": "Master", - "Disk Usage": "465 GB", - "Disk Available": "67 GB", - "Store Size": "2 MB", - "Open Files": 212, - "JVM Heap Usage": "8.0%", - "JVM Heap Used": "79 MB", - "JVM Heap Max": "989 MB", - "JVM Non Heap Used": "40 MB", - "JVM Threads": 104, - "Field Cache Memory": "0 bytes", - "Filter Cache Memory": "0 bytes", - "ID Cache Memory": "51 KB", - "Query Cache Memory": "0 bytes" - } - } - }, - "Plugins": { - "scmgit": { - "Name": "Git", - "Version": "1.0-RC1" - }, - "findbugs": { - "Name": "Findbugs", - "Version": "3.1" - }, - "scmsvn": { - "Name": "SVN", - "Version": "1.0-RC1" - }, - "java": { - "Name": "Java", - "Version": "2.9.1" - } - }, - "JvmProperties": { + "Database": { + "Database": "PostgreSQL", + "Database Version": "12.10 (Debian 12.10-1.pgdg110+1)", + "Username": "username", + "URL": "jdbc:postgresql://localhost:5432/sonarqube", + "Driver": "PostgreSQL JDBC Driver", + "Driver Version": "42.5.0", + "Default transaction isolation": "TRANSACTION_READ_COMMITTED" + }, + "Bundled": { + "python": "3.19.0.10254 [Python Code Quality and Security]", + "jacoco": "1.1.1.1157 [JaCoCo]", + "go": "1.11.0.3905 [Go Code Quality and Security]", + "kotlin": "2.10.0.1456 [Kotlin Code Quality and Security]", + "iac": "1.9.2.2279 [IaC Code Quality and Security]", + "javascript": "9.9.0.19492 [JavaScript/TypeScript/CSS Code Quality and Security]", + "ruby": "1.11.0.3905 [Ruby Code Quality and Security]", + "sonarscala": "1.11.0.3905 [Scala Code Quality and Security]", + "csharp": "8.46.0.54807 [C# Code Quality and Security]", + "java": "7.14.0.30229 [Java Code Quality and Security]", + "web": "3.6.0.3106 [HTML Code Quality and Security]", + "flex": "2.7.0.2865 [Flex Code Quality and Security]", + "xml": "2.6.1.3686 [XML Code Quality and Security]", + "php": "3.25.0.9077 [PHP Code Quality and Security]", + "text": "1.1.0.282 [Text file Code Quality and Security]", + "vbnet": "8.46.0.54807 [VB.NET Code Quality and Security]", + "config": "1.2.0.267 [Configuration detection fot Code Quality and Security]" + }, + "Plugins": {}, + "Web JVM State": { + "Max Memory (MB)": 1024, + "Free Memory (MB)": 212, + "Heap Committed (MB)": 379, + "Heap Init (MB)": 128, + "Heap Max (MB)": 1024, + "Heap Used (MB)": 166, + "Non Heap Committed (MB)": 167, + "Non Heap Init (MB)": 7, + "Non Heap Used (MB)": 160, + "System Load Average": "530.8% (last minute)", + "Threads": 41 + }, + "Web Database Connection": { + "Pool Total Connections": 10, + "Pool Active Connections": 1, + "Pool Idle Connections": 9, + "Pool Max Connections": 60, + "Pool Min Idle Connections": 10, + "Pool Max Wait (ms)": 8000, + "Pool Max Lifetime (ms)": 1800000 + }, + "Web Logging": { + "Logs Level": "INFO", + "Logs Dir": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/logs" + }, + "Web JVM Properties": { "awt.toolkit": "sun.lwawt.macosx.LWCToolkit", - "catalina.base": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-5.1/temp/tc", - "catalina.home": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-5.1/temp/tc", + "catalina.base": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/temp/tc", + "catalina.home": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/temp/tc", "catalina.useNaming": "false", + "com.redhat.fips": "false", + "com.zaxxer.hikari.pool_number": "1", "file.encoding": "UTF-8", - "file.encoding.pkg": "sun.io", "file.separator": "/", "ftp.nonProxyHosts": "local|*.local|169.254/16|*.169.254/16", "gopherProxySet": "false", - "http.agent": "SonarQube 5.1", - "http.nonProxyHosts": "local|*.local|169.254/16|*.169.254/16", + "http.agent": "SonarQube 9.8 # AAAAAAAA-BBBBBBBBBBBBBBBBBBBB", + "http.nonProxyHosts": "localhost|127.*|[::1]", "java.awt.graphicsenv": "sun.awt.CGraphicsEnvironment", "java.awt.headless": "true", "java.awt.printerjob": "sun.lwawt.macosx.CPrinterJob", - "java.class.path": "./lib/common/commons-codec-1.8.jar:./lib/common/commons-io-2.4.jar:./lib/common/commons-lang-2.6.jar:./lib/common/elasticsearch-1.4.2.jar:./lib/common/logback-classic-1.1.2.jar:./lib/common/logback-core-1.1.2.jar:./lib/common/lucene-analyzers-common-4.10.2.jar:./lib/common/lucene-core-4.10.2.jar:./lib/common/lucene-grouping-4.10.2.jar:./lib/common/lucene-highlighter-4.10.2.jar:./lib/common/lucene-join-4.10.2.jar:./lib/common/lucene-memory-4.10.2.jar:./lib/common/lucene-misc-4.10.2.jar:./lib/common/lucene-queries-4.10.2.jar:./lib/common/lucene-queryparser-4.10.2.jar:./lib/common/lucene-sandbox-4.10.2.jar:./lib/common/lucene-suggest-4.10.2.jar:./lib/common/slf4j-api-1.7.10.jar:./lib/common/sonar-process-5.1-tests.jar:./lib/common/sonar-process-5.1.jar:./lib/common/sonar-process-monitor-5.1.jar:./lib/server/antlr-2.7.6.jar:./lib/server/blueprints-core-2.2.0.jar:./lib/server/commons-beanutils-1.8.3.jar:./lib/server/commons-collections-3.2.2.jar:./lib/server/commons-csv-1.0.jar:./lib/server/commons-dbcp-1.4.jar:./lib/server/commons-dbutils-1.5.jar:./lib/server/commons-pool-1.5.4.jar:./lib/server/dom4j-1.6.1.jar:./lib/server/ejb3-persistence-1.0.2.GA.jar:./lib/server/geronimo-spec-jta-1.0-M1.jar:./lib/server/gson-2.3.1.jar:./lib/server/guava-10.0.1.jar:./lib/server/hibernate-annotations-3.4.0.GA.jar:./lib/server/hibernate-commons-annotations-3.1.0.GA.jar:./lib/server/hibernate-core-3.3.2.GA.jar:./lib/server/hibernate-entitymanager-3.4.0.GA.jar:./lib/server/javassist-3.4.GA.jar:./lib/server/jcl-over-slf4j-1.7.10.jar:./lib/server/jcommon-1.0.12.jar:./lib/server/jfreechart-1.0.9.jar:./lib/server/jruby-complete-1.7.9.jar:./lib/server/jruby-rack-1.1.13.2.jar:./lib/server/json-simple-1.1.1.jar:./lib/server/jul-to-slf4j-1.7.10.jar:./lib/server/log4j-over-slf4j-1.7.10.jar:./lib/server/logback-access-1.1.2.jar:./lib/server/lz4-1.3.0.jar:./lib/server/mybatis-3.2.7.jar:./lib/server/picocontainer-2.14.3.jar:./lib/server/plexus-classworlds-2.5.1.jar:./lib/server/protobuf-java-2.6.1.jar:./lib/server/sonar-batch-protocol-5.1.jar:./lib/server/sonar-channel-4.1.jar:./lib/server/sonar-check-api-5.1.jar:./lib/server/sonar-colorizer-5.1.jar:./lib/server/sonar-core-5.1.jar:./lib/server/sonar-deprecated-5.1.jar:./lib/server/sonar-duplications-5.1.jar:./lib/server/sonar-graph-5.1.jar:./lib/server/sonar-home-5.1.jar:./lib/server/sonar-java-api-5.1.jar:./lib/server/sonar-markdown-5.1.jar:./lib/server/sonar-plugin-api-5.1.jar:./lib/server/sonar-server-5.1.jar:./lib/server/sonar-squid-4.1.jar:./lib/server/sonar-update-center-common-1.11.jar:./lib/server/stax-api-1.0-2.jar:./lib/server/stax2-api-3.1.4.jar:./lib/server/staxmate-2.0.1.jar:./lib/server/tomcat-embed-core-8.0.18.jar:./lib/server/tomcat-embed-el-8.0.18.jar:./lib/server/tomcat-embed-jasper-8.0.18.jar:./lib/server/tomcat-embed-logging-juli-8.0.18.jar:./lib/server/woodstox-core-lgpl-4.4.0.jar:./lib/server/xml-apis-1.4.01.jar:/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-5.1/lib/jdbc/h2/h2-1.3.176.jar", - "java.class.version": "51.0", - "java.endorsed.dirs": "/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/endorsed", - "java.ext.dirs": "/Users/foo/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/ext:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java", - "java.home": "/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre", - "java.io.tmpdir": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-5.1/temp", + "java.class.path": "./lib/sonar-application-9.8.jar:/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/lib/jdbc/postgresql/postgresql-42.5.0.jar", + "java.class.version": "55.0", + "java.home": "/Users/foo/Library/Java/JavaVirtualMachines/azul-11.0.14.1/Contents/Home", + "java.io.tmpdir": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/temp", "java.library.path": "/Users/foo/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.", - "java.net.preferIPv4Stack": "true", - "java.runtime.name": "Java(TM) SE Runtime Environment", - "java.runtime.version": "1.7.0_71-b14", + "java.runtime.name": "OpenJDK Runtime Environment", + "java.runtime.version": "11.0.14.1+1-LTS", "java.specification.name": "Java Platform API Specification", "java.specification.vendor": "Oracle Corporation", - "java.specification.version": "1.7", - "java.vendor": "Oracle Corporation", - "java.vendor.url": "http://java.oracle.com/", - "java.vendor.url.bug": "http://bugreport.sun.com/bugreport/", - "java.version": "1.7.0_71", + "java.specification.version": "11", + "java.vendor": "Azul Systems, Inc.", + "java.vendor.url": "http://www.azul.com/", + "java.vendor.url.bug": "http://www.azul.com/support/", + "java.vendor.version": "Zulu11.54+25-CA", + "java.version": "11.0.14.1", + "java.version.date": "2022-02-08", + "java.vm.compressedOopsMode": "Zero based", "java.vm.info": "mixed mode", - "java.vm.name": "Java HotSpot(TM) 64-Bit Server VM", + "java.vm.name": "OpenJDK 64-Bit Server VM", "java.vm.specification.name": "Java Virtual Machine Specification", "java.vm.specification.vendor": "Oracle Corporation", - "java.vm.specification.version": "1.7", - "java.vm.vendor": "Oracle Corporation", - "java.vm.version": "24.71-b01", + "java.vm.specification.version": "11", + "java.vm.vendor": "Azul Systems, Inc.", + "java.vm.version": "11.0.14.1+1-LTS", + "jdk.debug": "release", + "jdk.vendor.version": "Zulu11.54+25-CA", "line.separator": "\n", + "logbackDisableServletContainerInitializer": "true", "org.apache.catalina.startup.EXIT_ON_INIT_FAILURE": "true", "org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH": "true", - "os.arch": "x86_64", + "os.arch": "aarch64", "os.name": "Mac OS X", - "os.version": "10.9.5", + "os.version": "12.6.1", "path.separator": ":", "socksNonProxyHosts": "local|*.local|169.254/16|*.169.254/16", "sun.arch.data.model": "64", - "sun.boot.class.path": "/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/classes", - "sun.boot.library.path": "/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib", + "sun.boot.library.path": "/Users/foo/Library/Java/JavaVirtualMachines/azul-11.0.14.1/Contents/Home/lib", "sun.cpu.endian": "little", "sun.cpu.isalist": "", + "sun.font.fontmanager": "sun.font.CFontManager", "sun.io.unicode.encoding": "UnicodeBig", - "sun.java.command": "org.sonar.server.app.WebServer /var/folders/ny/2lkywbzs63xc1n1k7rzprjj40000gn/T/sq-process8077706653824090037properties", + "sun.java.command": "org.sonar.server.app.WebServer /Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/temp/sq-process2815315825085214498properties", "sun.java.launcher": "SUN_STANDARD", "sun.jnu.encoding": "UTF-8", "sun.management.compiler": "HotSpot 64-Bit Tiered Compilers", - "sun.nio.ch.bugLevel": "", "sun.os.patch.level": "unknown", - "user.country": "US", - "user.country.format": "FR", - "user.dir": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-5.1", + "user.country": "CH", + "user.dir": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8", "user.home": "/Users/foo", "user.language": "en", - "user.name": "foo", - "user.timezone": "Europe/Paris" + "user.name": "user", + "user.timezone": "Europe/Zurich" }, - "Database": { - "Database": "H2", - "Database Version": "1.3.176 (2014-04-05)", - "Username": "SONAR", - "URL": "jdbc:h2:tcp://localhost:9092/sonar", - "Driver": "H2 JDBC Driver", - "Driver Version": "1.3.176 (2014-04-05)", - "Version Status": "UP_TO_DATE", - "Pool Active Connections": 2, - "Pool Max Connections": 50, - "Pool Initial Size": 0, - "Pool Idle Connections": 2, - "Pool Min Idle Connections": 2, - "Pool Max Idle Connections": 5, - "Pool Max Wait (ms)": 5000, - "Pool Remove Abandoned": false, - "Pool Remove Abandoned Timeout (seconds)": 300 + "Compute Engine Tasks": { + "Pending": 0, + "Longest Time Pending (ms)": 0, + "In Progress": 0, + "Processed With Error": 0, + "Processed With Success": 662, + "Processing Time (ms)": 48416, + "Worker Count": 2, + "Max Worker Count": 10, + "Workers Paused": false + }, + "Compute Engine JVM State": { + "Max Memory (MB)": 2048, + "Free Memory (MB)": 43, + "Heap Committed (MB)": 213, + "Heap Init (MB)": 128, + "Heap Max (MB)": 2048, + "Heap Used (MB)": 168, + "Non Heap Committed (MB)": 114, + "Non Heap Init (MB)": 7, + "Non Heap Used (MB)": 106, + "System Load Average": "530.8% (last minute)", + "Threads": 35 + }, + "Compute Engine Database Connection": { + "Pool Total Connections": 11, + "Pool Active Connections": 0, + "Pool Idle Connections": 11, + "Pool Max Connections": 60, + "Pool Min Idle Connections": 10, + "Pool Max Wait (ms)": 8000, + "Pool Max Lifetime (ms)": 1800000 + }, + "Compute Engine Logging": { + "Logs Level": "INFO", + "Logs Dir": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/logs" + }, + "Compute Engine JVM Properties": { + "awt.toolkit": "sun.lwawt.macosx.LWCToolkit", + "com.redhat.fips": "false", + "com.zaxxer.hikari.pool_number": "1", + "file.encoding": "UTF-8", + "file.separator": "/", + "ftp.nonProxyHosts": "local|*.local|169.254/16|*.169.254/16", + "gopherProxySet": "false", + "http.nonProxyHosts": "localhost|127.*|[::1]", + "java.awt.graphicsenv": "sun.awt.CGraphicsEnvironment", + "java.awt.headless": "true", + "java.awt.printerjob": "sun.lwawt.macosx.CPrinterJob", + "java.class.path": "./lib/sonar-application-9.8.jar:/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/lib/jdbc/postgresql/postgresql-42.5.0.jar", + "java.class.version": "55.0", + "java.home": "/Users/foo/Library/Java/JavaVirtualMachines/azul-11.0.14.1/Contents/Home", + "java.io.tmpdir": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/temp", + "java.library.path": "/Users/foo/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.", + "java.runtime.name": "OpenJDK Runtime Environment", + "java.runtime.version": "11.0.14.1+1-LTS", + "java.specification.name": "Java Platform API Specification", + "java.specification.vendor": "Oracle Corporation", + "java.specification.version": "11", + "java.vendor": "Azul Systems, Inc.", + "java.vendor.url": "http://www.azul.com/", + "java.vendor.url.bug": "http://www.azul.com/support/", + "java.vendor.version": "Zulu11.54+25-CA", + "java.version": "11.0.14.1", + "java.version.date": "2022-02-08", + "java.vm.compressedOopsMode": "Zero based", + "java.vm.info": "mixed mode", + "java.vm.name": "OpenJDK 64-Bit Server VM", + "java.vm.specification.name": "Java Virtual Machine Specification", + "java.vm.specification.vendor": "Oracle Corporation", + "java.vm.specification.version": "11", + "java.vm.vendor": "Azul Systems, Inc.", + "java.vm.version": "11.0.14.1+1-LTS", + "jdk.debug": "release", + "jdk.vendor.version": "Zulu11.54+25-CA", + "line.separator": "\n", + "os.arch": "aarch64", + "os.name": "Mac OS X", + "os.version": "12.6.1", + "path.separator": ":", + "socksNonProxyHosts": "local|*.local|169.254/16|*.169.254/16", + "sun.arch.data.model": "64", + "sun.boot.library.path": "/Users/foo/Library/Java/JavaVirtualMachines/azul-11.0.14.1/Contents/Home/lib", + "sun.cpu.endian": "little", + "sun.cpu.isalist": "", + "sun.io.unicode.encoding": "UnicodeBig", + "sun.java.command": "org.sonar.ce.app.CeServer /Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/temp/sq-process12192072660286272535properties", + "sun.java.launcher": "SUN_STANDARD", + "sun.jnu.encoding": "UTF-8", + "sun.management.compiler": "HotSpot 64-Bit Tiered Compilers", + "sun.os.patch.level": "unknown", + "user.country": "CH", + "user.dir": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8", + "user.home": "/Users/foo", + "user.language": "en", + "user.name": "user", + "user.timezone": "Europe/Zurich" + }, + "Search State": { + "State": "GREEN", + "CPU Usage (%)": 0, + "Disk Available": "705.6 GB", + "Store Size": "66.9 MB", + "Translog Size": "1.3 kB", + "Open File Descriptors": 224, + "Max File Descriptors": 10240, + "JVM Heap Usage": "24.0%", + "JVM Heap Used": "524.2 MB", + "JVM Heap Max": "2.1 GB", + "JVM Non Heap Used": "148.0 MB", + "JVM Threads": 57, + "Field Data Memory": "12.2 kB", + "Field Data Circuit Breaker Limit": "859.0 MB", + "Field Data Circuit Breaker Estimation": "12.2 kB", + "Request Circuit Breaker Limit": "1.3 GB", + "Request Circuit Breaker Estimation": "0 bytes", + "Query Cache Memory": "0 bytes", + "Request Cache Memory": "0 bytes" + }, + "Search Indexes": { + "Index components - Docs": 852, + "Index components - Shards": 5, + "Index components - Store Size": "451.0 kB", + "Index metadatas - Docs": 17, + "Index metadatas - Shards": 1, + "Index metadatas - Store Size": "34.1 kB", + "Index projectmeasures - Docs": 2722, + "Index projectmeasures - Shards": 5, + "Index projectmeasures - Store Size": "418.7 kB", + "Index rules - Docs": 27155, + "Index rules - Shards": 2, + "Index rules - Store Size": "22.1 MB", + "Index issues - Docs": 190420, + "Index issues - Shards": 5, + "Index issues - Store Size": "43.2 MB", + "Index views - Docs": 48, + "Index views - Shards": 5, + "Index views - Store Size": "75.7 kB", + "Index users - Docs": 262, + "Index users - Shards": 1, + "Index users - Store Size": "605.7 kB" + }, + "ALMs": { + "Github Config": "Alm:github, Url:https://api.github.com, App Id:12345, Client Id:Iv2.12345678910", + "Gitlab Config": "Alm:gitlab, Url:https://gitlab.com/api/v4" + }, + "Server Push Connections": { + "SonarLint Connected Clients": 0 + }, + "Settings": { + "devactivity.status": "D,20120319T12:51:02+0000", + "http.nonProxyHosts": "localhost|127.*|[::1]", + "process.gracefulStopTimeout": "270000", + "process.index": "2", + "process.key": "web", + "process.sharedDir": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/temp", + "projects.default.visibility": "private", + "qualitygate.default": "AWBWEMe2qGAMGEYPjJlm", + "sonar.auth.saml.certificate.secured": "xxxxxxxx", + "sonar.auth.saml.enabled": "true", + "sonar.auth.saml.loginUrl": "http://localhost:8080/auth/realms/realm/protocol/saml", + "sonar.auth.saml.providerId": "http://localhost:8080/auth/realms/realm", + "sonar.auth.saml.providerName": "Keycloak", + "sonar.auth.saml.signature.enabled": "true", + "sonar.auth.saml.sp.certificate.secured": "xxxxxxxx", + "sonar.auth.saml.sp.privateKey.secured": "xxxxxxxx", + "sonar.auth.saml.user.login": "login", + "sonar.auth.saml.user.name": "name", + "sonar.authenticator.ignoreStartupFailure": "false", + "sonar.autoDatabaseUpgrade": "false", + "sonar.blueGreenEnabled": "false", + "sonar.buildbreaker.skip": "true", + "sonar.c.predefinedMacros": "#define MY_MACRO(a) struct a {}", + "sonar.ce.gracefulStopTimeOutInMs": "21600000", + "sonar.ce.javaAdditionalOpts": "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5006", + "sonar.ce.javaOpts": "-Xmx2G -Xms128m -XX:+HeapDumpOnOutOfMemoryError", + "sonar.cluster.enabled": "false", + "sonar.cluster.kubernetes": "false", + "sonar.cluster.name": "sonarqube", + "sonar.cluster.node.name": "sonarqube-391d3cbe-8ca5-420c-9ab1-968e9da8a8fe", + "sonar.cluster.node.port": "9003", + "sonar.cluster.web.startupLeader": "true", + "sonar.core.id": "AAAAAAAA-BBBBBBBBBBBBBBBBBBBB", + "sonar.core.serverBaseURL": "http://localhost:9000", + "sonar.core.startTime": "2022-11-09T11:47:04+0100", + "sonar.core.treemap.colormetric": "violations_density", + "sonar.core.treemap.sizemetric": "ncloc", + "sonar.cpd.cross_project": "false", + "sonar.dbcleaner.branchesToKeepWhenInactive": "master,branch-.*,release-.*", + "sonar.dbcleaner.daysBeforeDeletingInactiveBranchesAndPRs": "7", + "sonar.dbcleaner.monthsBeforeDeletingAllSnapshots": "120", + "sonar.dbcleaner.weeksBeforeDeletingAllSnapshots": "480", + "sonar.dryRun.cache.lastUpdate": "1422957854264", + "sonar.es.port": "65366", + "sonar.forceAuthentication": "false", + "sonar.genericcoverage.suffixes": ".coffee,.less,.hbs", + "sonar.governance.report.view.frequency": "Weekly", + "sonar.java.coveragePlugin": "jacoco", + "sonar.javascript.jQueryObjectAliases": "jQuery, $, $j", + "sonar.jdbc.driverPath": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/lib/jdbc/postgresql/postgresql-42.5.0.jar", + "sonar.jdbc.maxActive": "60", + "sonar.jdbc.maxWait": "8000", + "sonar.jdbc.minIdle": "10", + "sonar.jdbc.password": "xxxxxxxx", + "sonar.jdbc.url": "jdbc:postgresql://localhost:5432/sonarqube", + "sonar.jdbc.username": "sonarqube", + "sonar.lf.enableGravatar": "true", + "sonar.lf.logoWidthPx": "100", + "sonar.log.jsonOutput": "false", + "sonar.organisation": "org", + "sonar.path.data": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/data", + "sonar.path.home": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8", + "sonar.path.logs": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/logs", + "sonar.path.temp": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/temp", + "sonar.path.web": "/Users/foo/dev/core/sonarqube/sonar-application/target/sonarqube-9.8/web", + "sonar.plsql.file.suffixes": "sql,tab,pkb", + "sonar.plugins.risk.consent": "ACCEPTED", + "sonar.preview.excludePlugins": "devcockpit,pdfreport,report,scmactivity,views,jira", + "sonar.report.dashboard.name": "PDF_Report", + "sonar.report.frequency": "7", + "sonar.report.ignoreSslErrors": "true", + "sonar.report.last_date": "2012-10-16", + "sonar.report.last_date.dev_report": "2013-04-15", + "sonar.report.last_date.management_report": "2013-04-17", + "sonar.report.login": "report.login", + "sonar.report.subject": "Source Code Quality Report", + "sonar.reports": "dev_report,management_report,test", + "sonar.scm.disabled": "false", + "sonar.scm.enabled": "true", + "sonar.search.host": "127.0.0.1", + "sonar.search.javaAdditionalOpts": "", + "sonar.search.javaOpts": "-Xmx2G -Xms2G -XX:+HeapDumpOnOutOfMemoryError", + "sonar.search.port": "9001", + "sonar.technicalDebt.ratingGrid": "0.04,0.1,0.2,0.5", + "sonar.telemetry.compression": "true", + "sonar.telemetry.enable": "true", + "sonar.telemetry.frequencyInSeconds": "10800", + "sonar.telemetry.url": "https://telemetry.domain.com", + "sonar.updatecenter.activate": "true", + "sonar.web.gracefulStopTimeOutInMs": "240000", + "sonar.web.javaAdditionalOpts": "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005", + "sonar.web.javaOpts": "-Xmx1G -Xms128m -XX:+HeapDumpOnOutOfMemoryError", + "sonar.web.sso.emailHeader": "X-Forwarded-Email", + "sonar.web.sso.enable": "false", + "sonar.web.sso.groupsHeader": "X-Forwarded-Groups", + "sonar.web.sso.loginHeader": "X-Forwarded-Login", + "sonar.web.sso.nameHeader": "X-Forwarded-Name", + "sonar.web.sso.refreshIntervalInMinutes": "5", + "Default New Code Definition": "PREVIOUS_VERSION" } } -- 2.39.5