Advertisement
Guest User

sonar.properties

a guest
Feb 5th, 2015
491
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.22 KB | None | 0 0
  1. # This file must contain only ISO 8859-1 characters.
  2. # See http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Properties.html#load(java.io.InputStream)
  3. #
  4. # Property values can:
  5. # - reference an environment variable, for example sonar.jdbc.url= ${env:SONAR_JDBC_URL}
  6. # - be encrypted. See http://redirect.sonarsource.com/doc/settings-encryption.html
  7.  
  8.  
  9. #--------------------------------------------------------------------------------------------------
  10. # DATABASE
  11. #
  12. # IMPORTANT: the embedded H2 database is used by default. It is recommended for tests but not for
  13. # production use. Supported databases are MySQL, Oracle, PostgreSQL and Microsoft SQLServer.
  14.  
  15. # User credentials.
  16. # Permissions to create tables, indices and triggers must be granted to JDBC user.
  17. # The schema must be created first.
  18. sonar.jdbc.username=sonar
  19. sonar.jdbc.password=sonar
  20.  
  21. #----- Embedded Database (default)
  22. # It does not accept connections from remote hosts, so the
  23. # server and the analyzers must be executed on the same host.
  24. #sonar.jdbc.url=jdbc:h2:tcp://localhost:9092/sonar
  25.  
  26. # H2 embedded database server listening port, defaults to 9092
  27. #sonar.embeddedDatabase.port=9092
  28.  
  29.  
  30. #----- MySQL 5.x
  31. sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance
  32.  
  33.  
  34. #----- Oracle 10g/11g
  35. # - Only thin client is supported
  36. # - Only versions 11.2.* of Oracle JDBC driver are supported, even if connecting to lower Oracle versions.
  37. # - The JDBC driver must be copied into the directory extensions/jdbc-driver/oracle/
  38. # - If you need to set the schema, please refer to http://jira.codehaus.org/browse/SONAR-5000
  39. #sonar.jdbc.url=jdbc:oracle:thin:@localhost/XE
  40.  
  41.  
  42. #----- PostgreSQL 8.x/9.x
  43. # If you don't use the schema named "public", please refer to http://jira.codehaus.org/browse/SONAR-5000
  44. #sonar.jdbc.url=jdbc:postgresql://localhost/sonar
  45.  
  46.  
  47. #----- Microsoft SQLServer 2005/2008
  48. # Only the distributed jTDS driver is supported.
  49. #sonar.jdbc.url=jdbc:jtds:sqlserver://localhost/sonar;SelectMethod=Cursor
  50.  
  51.  
  52. #----- Connection pool settings
  53. # The maximum number of active connections that can be allocated
  54. # at the same time, or negative for no limit.
  55. #sonar.jdbc.maxActive=50
  56.  
  57. # The maximum number of connections that can remain idle in the
  58. # pool, without extra ones being released, or negative for no limit.
  59. #sonar.jdbc.maxIdle=5
  60.  
  61. # The minimum number of connections that can remain idle in the pool,
  62. # without extra ones being created, or zero to create none.
  63. #sonar.jdbc.minIdle=2
  64.  
  65. # The maximum number of milliseconds that the pool will wait (when there
  66. # are no available connections) for a connection to be returned before
  67. # throwing an exception, or <= 0 to wait indefinitely.
  68. #sonar.jdbc.maxWait=5000
  69.  
  70. #sonar.jdbc.minEvictableIdleTimeMillis=600000
  71. #sonar.jdbc.timeBetweenEvictionRunsMillis=30000
  72.  
  73.  
  74.  
  75. #--------------------------------------------------------------------------------------------------
  76. # WEB SERVER
  77.  
  78. # Web server is executed in a dedicated Java process. By default heap size is 768Mb.
  79. # Use the following property to customize JVM options.
  80. # Recommendations:
  81. #
  82. # The HotSpot Server VM is recommended. The property -server should be added if server mode
  83. # is not enabled by default on your environment: http://docs.oracle.com/javase/7/docs/technotes/guides/vm/server-class.html
  84. #
  85. # Set min and max memory (respectively -Xms and -Xmx) to the same value to prevent heap
  86. # from resizing at runtime.
  87. #
  88. #sonar.web.javaOpts=-Xmx768m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError
  89.  
  90. # Same as previous property, but allows to not repeat all other settings like -Xmx
  91. #sonar.web.javaAdditionalOpts=
  92.  
  93. # Binding IP address. For servers with more than one IP address, this property specifies which
  94. # address will be used for listening on the specified ports.
  95. # By default, ports will be used on all IP addresses associated with the server.
  96. # sonar.web.host=[REDACTED]
  97.  
  98.  
  99. # Web context. When set, it must start with forward slash (for example /sonarqube).
  100. # The default value is root context (empty value).
  101. #sonar.web.context=
  102.  
  103. # TCP port for incoming HTTP connections. Disabled when value is -1.
  104. # sonar.web.port=9000
  105.  
  106. # TCP port for incoming HTTPS connections. Disabled when value is -1 (default).
  107. #sonar.web.https.port=9000
  108.  
  109. # HTTPS - the alias used to for the server certificate in the keystore.
  110. # If not specified the first key read in the keystore is used.
  111. #sonar.web.https.keyAlias=
  112.  
  113. # HTTPS - the password used to access the server certificate from the
  114. # specified keystore file. The default value is "changeit".
  115. #sonar.web.https.keyPass=changeit
  116.  
  117. # HTTPS - the pathname of the keystore file where is stored the server certificate.
  118. # By default, the pathname is the file ".keystore" in the user home.
  119. # If keystoreType doesn't need a file use empty value.
  120. #sonar.web.https.keystoreFile=
  121.  
  122. # HTTPS - the password used to access the specified keystore file. The default
  123. # value is the value of sonar.web.https.keyPass.
  124. #sonar.web.https.keystorePass=
  125.  
  126. # HTTPS - the type of keystore file to be used for the server certificate.
  127. # The default value is JKS (Java KeyStore).
  128. #sonar.web.https.keystoreType=JKS
  129.  
  130. # HTTPS - the name of the keystore provider to be used for the server certificate.
  131. # If not specified, the list of registered providers is traversed in preference order
  132. # and the first provider that supports the keystore type is used (see sonar.web.https.keystoreType).
  133. #sonar.web.https.keystoreProvider=
  134.  
  135. # HTTPS - the pathname of the truststore file which contains trusted certificate authorities.
  136. # By default, this would be the cacerts file in your JRE.
  137. # If truststoreFile doesn't need a file use empty value.
  138. #sonar.web.https.truststoreFile=
  139.  
  140. # HTTPS - the password used to access the specified truststore file.
  141. #sonar.web.https.truststorePass=
  142.  
  143. # HTTPS - the type of truststore file to be used.
  144. # The default value is JKS (Java KeyStore).
  145. #sonar.web.https.truststoreType=JKS
  146.  
  147. # HTTPS - the name of the truststore provider to be used for the server certificate.
  148. # If not specified, the list of registered providers is traversed in preference order
  149. # and the first provider that supports the truststore type is used (see sonar.web.https.truststoreType).
  150. #sonar.web.https.truststoreProvider=
  151.  
  152. # HTTPS - whether to enable client certificate authentication.
  153. # The default is false (client certificates disabled).
  154. # Other possible values are 'want' (certificates will be requested, but not required),
  155. # and 'true' (certificates are required).
  156. #sonar.web.https.clientAuth=false
  157.  
  158. # The maximum number of connections that the server will accept and process at any given time.
  159. # When this number has been reached, the server will not accept any more connections until
  160. # the number of connections falls below this value. The operating system may still accept connections
  161. # based on the sonar.web.connections.acceptCount property. The default value is 50 for each
  162. # enabled connector.
  163. #sonar.web.http.maxThreads=50
  164. #sonar.web.https.maxThreads=50
  165.  
  166. # The minimum number of threads always kept running. The default value is 5 for each
  167. # enabled connector.
  168. #sonar.web.http.minThreads=5
  169. #sonar.web.https.minThreads=5
  170.  
  171. # The maximum queue length for incoming connection requests when all possible request processing
  172. # threads are in use. Any requests received when the queue is full will be refused.
  173. # The default value is 25 for each enabled connector.
  174. #sonar.web.http.acceptCount=25
  175. #sonar.web.https.acceptCount=25
  176.  
  177. # Access logs are generated in the file logs/access.log. This file is rolled over when it's 5Mb.
  178. # An archive of 3 files is kept in the same directory.
  179. # Access logs are enabled by default.
  180. #sonar.web.accessLogs.enable=true
  181.  
  182. # TCP port for incoming AJP connections. Disabled if value is -1. Disabled by default.
  183. #sonar.ajp.port=-1
  184.  
  185.  
  186. #--------------------------------------------------------------------------------------------------
  187. # ELASTICSEARCH
  188. # Elasticsearch is used to facilitate fast and accurate information retrieval.
  189. # It is executed in a dedicated Java process.
  190.  
  191. # JVM options of Elasticsearch process
  192. # Recommendations:
  193. #
  194. # Use HotSpot Server VM. The property -server should be added if server mode
  195. # is not enabled by default on your environment: http://docs.oracle.com/javase/7/docs/technotes/guides/vm/server-class.html
  196. #
  197. # Set min and max memory (respectively -Xms and -Xmx) to the same value to prevent heap
  198. # from resizing at runtime.
  199. #
  200. #sonar.search.javaOpts=-Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true \
  201. # -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 \
  202. # -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError
  203.  
  204. # Same as previous property, but allows to not repeat all other settings like -Xmx
  205. #sonar.search.javaAdditionalOpts=
  206.  
  207. # Elasticsearch port. Default is 9001. Use 0 to get a free port.
  208. # This port must be private and must not be exposed to the Internet.
  209. #sonar.search.port=9001
  210.  
  211.  
  212. #--------------------------------------------------------------------------------------------------
  213. # UPDATE CENTER
  214.  
  215. # Update Center requires an internet connection to request http://update.sonarsource.org
  216. # It is enabled by default.
  217. #sonar.updatecenter.activate=true
  218.  
  219. # HTTP proxy (default none)
  220. #http.proxyHost=
  221. #http.proxyPort=
  222.  
  223. # NT domain name if NTLM proxy is used
  224. #http.auth.ntlm.domain=
  225.  
  226. # SOCKS proxy (default none)
  227. #socksProxyHost=
  228. #socksProxyPort=
  229.  
  230. # proxy authentication. The 2 following properties are used for HTTP and SOCKS proxies.
  231. #http.proxyUser=
  232. #http.proxyPassword=
  233.  
  234.  
  235. #--------------------------------------------------------------------------------------------------
  236. # LOGGING
  237.  
  238. # Level of information displayed in the logs: NONE (default), BASIC (functional information)
  239. # and FULL (functional and technical details)
  240. #sonar.log.profilingLevel=NONE
  241.  
  242. # Path to log files. Can be absolute or relative to installation directory.
  243. # Default is <installation home>/logs
  244. #sonar.path.logs=logs
  245.  
  246.  
  247. #--------------------------------------------------------------------------------------------------
  248. # OTHERS
  249.  
  250. # Delay in seconds between processing of notification queue. Default is 60 seconds.
  251. #sonar.notifications.delay=60
  252.  
  253. # Paths to persistent data files (embedded database and search index) and temporary files.
  254. # Can be absolute or relative to installation directory.
  255. # Defaults are respectively <installation home>/data and <installation home>/temp
  256. #sonar.path.data=data
  257. #sonar.path.temp=temp
  258.  
  259.  
  260. #--------------------------------------------------------------------------------------------------
  261. # DEVELOPMENT - only for developers
  262. # The following properties MUST NOT be used in production environments.
  263.  
  264. # Dev mode allows to reload web sources on changes and to restart server when new versions
  265. # of plugins are deployed.
  266. #sonar.web.dev=false
  267.  
  268. # Path to webapp sources for hot-reloading of Ruby on Rails, JS and CSS (only core,
  269. # plugins not supported).
  270. #sonar.web.dev.sources=/path/to/server/sonar-web/src/main/webapp
  271.  
  272. # Uncomment to enable the Elasticsearch HTTP connector, so that ES can be directly requested through
  273. # http://lmenezes.com/elasticsearch-kopf/?location=http://localhost:9010
  274. #sonar.search.httpPort=9010
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement