]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
7 years agoReenabling tests on cluster
Eric Hartmann [Mon, 27 Feb 2017 08:36:05 +0000 (09:36 +0100)]
Reenabling tests on cluster

7 years agoDisabling cluster tests until fixed
Eric Hartmann [Mon, 27 Feb 2017 07:50:49 +0000 (08:50 +0100)]
Disabling cluster tests until fixed

7 years agoAutomatic merge from branch-6.3
ssjenka [Mon, 27 Feb 2017 07:01:54 +0000 (08:01 +0100)]
Automatic merge from branch-6.3

* origin/branch-6.3:
  BUILD-384 Replace usage of groovy-maven-plugin (not compliant with Maven paraller execution) by beanshell-maven-plugin

7 years agoDrop unused Dialect#getActiveRecordDialectCode()
Simon Brandhof [Sun, 26 Feb 2017 20:04:47 +0000 (21:04 +0100)]
Drop unused Dialect#getActiveRecordDialectCode()

because Ruby on Rails has been dropped.

7 years agoSONAR-8818 Add Hazelcast and its configuration (#1699)
Eric Hartmann [Sun, 26 Feb 2017 13:47:10 +0000 (14:47 +0100)]
SONAR-8818 Add Hazelcast and its configuration (#1699)

* SONAR-8818 Introduce Hazelcast

7 years agoFix test
Simon Brandhof [Sun, 26 Feb 2017 06:56:37 +0000 (07:56 +0100)]
Fix test

7 years agoUse project build dir as temporary dir for tests
Simon Brandhof [Sat, 25 Feb 2017 14:07:47 +0000 (15:07 +0100)]
Use project build dir as temporary dir for tests

7 years agoFix quality flaws
Simon Brandhof [Sat, 25 Feb 2017 07:41:25 +0000 (08:41 +0100)]
Fix quality flaws

7 years agoDrop usages of MyBatis#openSession()
Simon Brandhof [Fri, 24 Feb 2017 15:46:37 +0000 (16:46 +0100)]
Drop usages of MyBatis#openSession()

in favor of DbClient#openSession()

7 years agoMyBatis implements Startable
Simon Brandhof [Thu, 23 Feb 2017 22:11:37 +0000 (23:11 +0100)]
MyBatis implements Startable

7 years agoDeprecate MyBatis#closeQuietly(DbSession)
Simon Brandhof [Thu, 23 Feb 2017 22:08:13 +0000 (23:08 +0100)]
Deprecate MyBatis#closeQuietly(DbSession)

7 years agoReplace usage of MyBatis SqlSession by DbSession
Simon Brandhof [Thu, 23 Feb 2017 22:07:35 +0000 (23:07 +0100)]
Replace usage of MyBatis SqlSession by DbSession

7 years agoClean-up class MyBatis
Simon Brandhof [Thu, 23 Feb 2017 21:50:04 +0000 (22:50 +0100)]
Clean-up class MyBatis

7 years agoReplace DbClient#closeSession(DbSession) by try-with-resources
Simon Brandhof [Thu, 23 Feb 2017 21:49:29 +0000 (22:49 +0100)]
Replace DbClient#closeSession(DbSession) by try-with-resources

7 years agoSONAR-8092 do not use thread pools for es indexing anymore (#1709)
Daniel Schwarz [Sat, 25 Feb 2017 15:06:07 +0000 (16:06 +0100)]
SONAR-8092 do not use thread pools for es indexing anymore (#1709)

SONAR-8092 do not use thread pools for es indexing anymore

7 years agoSONAR-8837 create log line, as soon as indexing is done
Daniel Schwarz [Fri, 24 Feb 2017 15:22:44 +0000 (16:22 +0100)]
SONAR-8837 create log line, as soon as indexing is done

7 years agoSONAR-7937 restart reloads sonar.properties 1707/head
Sébastien Lesaint [Thu, 23 Feb 2017 17:32:30 +0000 (18:32 +0100)]
SONAR-7937 restart reloads sonar.properties

but changes of FileSystem related properties are not supported and will make restart fail

7 years agoSONAR-7937 extract JavaCommandFactory from App
Sébastien Lesaint [Thu, 23 Feb 2017 10:40:30 +0000 (11:40 +0100)]
SONAR-7937 extract JavaCommandFactory from App

and fix missing coverage on this part

7 years agoSONAR-7937 Monitor reloads JavaCommand to execute on restart
Sébastien Lesaint [Thu, 23 Feb 2017 09:20:28 +0000 (10:20 +0100)]
SONAR-7937 Monitor reloads JavaCommand to execute on restart

7 years agoSONAR-8435 add info message saying WebServer is operational to web.log 1690/head
Sébastien Lesaint [Fri, 24 Feb 2017 12:53:54 +0000 (13:53 +0100)]
SONAR-8435 add info message saying WebServer is operational to web.log

and modify message in Compute Engine to be "is operational" instead of "is up" for consistency

7 years agoSONAR-8435 fix WS of Level4 available before going out of SafeMode
Sébastien Lesaint [Fri, 24 Feb 2017 12:28:23 +0000 (13:28 +0100)]
SONAR-8435 fix WS of Level4 available before going out of SafeMode

7 years agoSONAR-8435 log "SonarQube is up" if all processes are operational
Sébastien Lesaint [Tue, 21 Feb 2017 13:51:34 +0000 (14:51 +0100)]
SONAR-8435 log "SonarQube is up" if all processes are operational

which implies:
1/ to distinguish from Monitored#getStatus() = UP and OPERATIONAL
2/ to have an option of Monitor to wait on process's status to be OPERATIONAL
3/ every Monitored implementation must return OPERATIONAL rather than UP if then don't make a distinction between the two

7 years agoSONAR-8435 fix safemode on non startup-leader failing at startup
Sébastien Lesaint [Tue, 21 Feb 2017 13:48:21 +0000 (14:48 +0100)]
SONAR-8435 fix safemode on non startup-leader failing at startup

because of unresolved dependency DatabaseMigration and that now safemode can occur even non startup-leader nodes

7 years agoSONAR-8435 add abort exit points to AutoStarter when shutdown while running
Sébastien Lesaint [Tue, 21 Feb 2017 11:24:07 +0000 (12:24 +0100)]
SONAR-8435 add abort exit points to AutoStarter when shutdown while running

7 years agoSONAR-8435 run level3, 4 and startup in background thread in safemode
Sébastien Lesaint [Mon, 20 Feb 2017 15:33:09 +0000 (16:33 +0100)]
SONAR-8435 run level3, 4 and startup in background thread in safemode

7 years agoSONAR-7485 suppress logs from Tomcat's ContainerBase and StandardContext
Sébastien Lesaint [Mon, 20 Feb 2017 17:41:12 +0000 (18:41 +0100)]
SONAR-7485 suppress logs from Tomcat's ContainerBase and StandardContext

they produce error logs which do not provide any relevant information

7 years agoSONAR-7485 don't let exceptions go up to Tomcat
Sébastien Lesaint [Mon, 20 Feb 2017 17:39:28 +0000 (18:39 +0100)]
SONAR-7485 don't let exceptions go up to Tomcat

instead, they are logged in PlatformServletContextListener but a dedicated exception is thrown to make Tomcat's startup fail

7 years agoSONAR-7485 specifically handle MessageException in PlatformServletContextListener
Sébastien Lesaint [Mon, 20 Feb 2017 17:36:54 +0000 (18:36 +0100)]
SONAR-7485 specifically handle MessageException in PlatformServletContextListener

no printStackTrace is done on MessageException, instead the exception's message is displayed inline

7 years agoSONAR-7500 TomcatAccessLog must log at DEBUG level
Sébastien Lesaint [Mon, 20 Feb 2017 17:27:42 +0000 (18:27 +0100)]
SONAR-7500 TomcatAccessLog must log at DEBUG level

the information that the web server is started/stopped is already logged by other classes with logger name more relevant to the labels of the logs

7 years agoSONAR-7500 remove useless Monitored WARN log when web fails to start
Sébastien Lesaint [Mon, 20 Feb 2017 16:55:57 +0000 (17:55 +0100)]
SONAR-7500 remove useless Monitored WARN log when web fails to start

by replacing Monitored#isUp() by Monitored#getStatus()

7 years agofix quality flaw: missing package-info.java
Sébastien Lesaint [Tue, 21 Feb 2017 10:04:10 +0000 (11:04 +0100)]
fix quality flaw: missing package-info.java

7 years agoDelete .sonarsource.properties
Evgeny Mandrikov [Fri, 24 Feb 2017 17:37:23 +0000 (18:37 +0100)]
Delete .sonarsource.properties

7 years agoSOANR-8092 make BulkIndexer size an enum for better readability
Daniel Schwarz [Fri, 24 Feb 2017 13:55:02 +0000 (14:55 +0100)]
SOANR-8092 make BulkIndexer size an enum for better readability

7 years agoSONAR-8092 on startup, create es replicas, after all indexing is done
Daniel Schwarz [Fri, 24 Feb 2017 13:32:10 +0000 (14:32 +0100)]
SONAR-8092 on startup, create es replicas, after all indexing is done

7 years agoSONAR-8092 only index empty types (not all types of an empty index)
Daniel Schwarz [Fri, 24 Feb 2017 12:27:54 +0000 (13:27 +0100)]
SONAR-8092 only index empty types (not all types of an empty index)

Old behaviour: If one of the types of an Indexer is empty, reindex all of its types. New behaviour: Reindex all empty types.

7 years agoSONAR-8390 when altering users, only reindex touched users
Daniel Schwarz [Thu, 23 Feb 2017 15:07:28 +0000 (16:07 +0100)]
SONAR-8390 when altering users, only reindex touched users

7 years agoSONAR-8092 index issues when changed in the db, ignore updatedAt
Daniel Schwarz [Wed, 22 Feb 2017 09:52:46 +0000 (10:52 +0100)]
SONAR-8092 index issues when changed in the db, ignore updatedAt

7 years agoSONAR-8092 do not rely on updated-timestamp for indexing anymore
Daniel Schwarz [Tue, 21 Feb 2017 16:49:27 +0000 (17:49 +0100)]
SONAR-8092 do not rely on updated-timestamp for indexing anymore

7 years agoSONAR-8092 use the same kind of log message for all startup-indexers
Daniel Schwarz [Tue, 21 Feb 2017 15:43:50 +0000 (16:43 +0100)]
SONAR-8092 use the same kind of log message for all startup-indexers

7 years agoSONAR-8092 only reindex es indices, that contain at least one empty type
Daniel Schwarz [Tue, 21 Feb 2017 15:15:07 +0000 (16:15 +0100)]
SONAR-8092 only reindex es indices, that contain at least one empty type

7 years agoSONAR-8092 combine es index name and es type name into IndexTypeId
Daniel Schwarz [Tue, 21 Feb 2017 12:51:47 +0000 (13:51 +0100)]
SONAR-8092 combine es index name and es type name into IndexTypeId

7 years agoSONAR-8092 generalise startup of es indexers
Daniel Schwarz [Mon, 20 Feb 2017 16:57:27 +0000 (17:57 +0100)]
SONAR-8092 generalise startup of es indexers

7 years agoset embedded database timeout to 30s for slow build machines
Daniel Schwarz [Fri, 24 Feb 2017 15:48:26 +0000 (16:48 +0100)]
set embedded database timeout to 30s for slow build machines

7 years agoBUILD-384 Replace usage of groovy-maven-plugin (not compliant with Maven paraller...
David Rautureau [Thu, 23 Feb 2017 08:47:42 +0000 (09:47 +0100)]
BUILD-384 Replace usage of groovy-maven-plugin (not compliant with Maven paraller execution) by beanshell-maven-plugin

7 years agofix indentation
Stas Vilchik [Thu, 23 Feb 2017 21:05:14 +0000 (22:05 +0100)]
fix indentation

7 years agofix indentation
Stas Vilchik [Wed, 22 Feb 2017 08:32:55 +0000 (09:32 +0100)]
fix indentation

7 years agoLog as debug when sources are defined but missing in non-leaf
Janos Gyerik [Thu, 23 Feb 2017 10:49:27 +0000 (11:49 +0100)]
Log as debug when sources are defined but missing in non-leaf

7 years agoSONAR-6724 : support analyzing root pom in multi-modules projects
Loïc B [Thu, 23 Feb 2017 09:24:43 +0000 (10:24 +0100)]
SONAR-6724 : support analyzing root pom in multi-modules projects

7 years agoAnalyze non-leaf modules
Janos Gyerik [Tue, 14 Feb 2017 15:45:09 +0000 (16:45 +0100)]
Analyze non-leaf modules

7 years agoMerge remote-tracking branch 'origin/branch-6.3'
Simon Brandhof [Thu, 23 Feb 2017 08:24:57 +0000 (09:24 +0100)]
Merge remote-tracking branch 'origin/branch-6.3'

7 years agoSONAR-8775 Deprecate component uuid in parameters and responses for components and... 1684/head
Teryk Bellahsene [Wed, 22 Feb 2017 16:38:47 +0000 (17:38 +0100)]
SONAR-8775 Deprecate component uuid in parameters and responses for components and projects WS

7 years agoSONAR-8408 WS update_key and bulk_update_key use the same parameters to update a...
Teryk Bellahsene [Wed, 22 Feb 2017 16:20:42 +0000 (17:20 +0100)]
SONAR-8408 WS update_key and bulk_update_key use the same parameters to update a project key

7 years agoSONAR-8773 Move WS Reroute WS update_key and bulk_update_key to api/projects
Teryk Bellahsene [Wed, 22 Feb 2017 15:15:28 +0000 (16:15 +0100)]
SONAR-8773 Move WS Reroute WS update_key and bulk_update_key to api/projects

7 years agoSONAR-8773 Call api/projects/update_key and bulk_update_key in UI
Teryk Bellahsene [Mon, 20 Feb 2017 15:11:46 +0000 (16:11 +0100)]
SONAR-8773 Call api/projects/update_key and bulk_update_key in UI

7 years agoSONAR-8773 Move WS update_key and bulk_update_key to api/projects
Teryk Bellahsene [Thu, 16 Feb 2017 16:10:48 +0000 (17:10 +0100)]
SONAR-8773 Move WS update_key and bulk_update_key to api/projects

7 years agoRename RoutesFilter to RedirectFilter
Teryk Bellahsene [Fri, 17 Feb 2017 16:38:57 +0000 (17:38 +0100)]
Rename RoutesFilter to RedirectFilter

7 years agoImprove readability of RoutesFilter
Teryk Bellahsene [Fri, 17 Feb 2017 16:24:44 +0000 (17:24 +0100)]
Improve readability of RoutesFilter

7 years agoSONAR-8402 Purge should delete queued task when deleting a project
Simon Brandhof [Tue, 21 Feb 2017 20:23:04 +0000 (21:23 +0100)]
SONAR-8402 Purge should delete queued task when deleting a project

7 years agoSONAR-6962 restrict ES issues request to a subset of shards when possible
Simon Brandhof [Wed, 22 Feb 2017 10:50:56 +0000 (11:50 +0100)]
SONAR-6962 restrict ES issues request to a subset of shards when possible

7 years agoDrop dead code
Simon Brandhof [Wed, 22 Feb 2017 10:50:12 +0000 (11:50 +0100)]
Drop dead code

7 years agoMove PurgeCeActivitiesTest in correct package
Simon Brandhof [Wed, 22 Feb 2017 10:49:38 +0000 (11:49 +0100)]
Move PurgeCeActivitiesTest in correct package

7 years agoSONAR-8795 Add description on text query filter
Julien Lancelot [Wed, 22 Feb 2017 15:30:25 +0000 (16:30 +0100)]
SONAR-8795 Add description on text query filter

7 years agoAlways public artifacts with full build version 6.3.0.18800
Simon Brandhof [Wed, 22 Feb 2017 15:04:12 +0000 (16:04 +0100)]
Always public artifacts with full build version

7 years agoSet version 6.3-SNAPSHOT
Simon Brandhof [Wed, 22 Feb 2017 15:03:28 +0000 (16:03 +0100)]
Set version 6.3-SNAPSHOT

7 years agoSONAR-8795 Search by text query 1696/head
Julien Lancelot [Tue, 21 Feb 2017 09:01:15 +0000 (10:01 +0100)]
SONAR-8795 Search by text query

7 years agoSONAR-8795 Extract text search feature in a dedicated class
Julien Lancelot [Tue, 21 Feb 2017 10:38:19 +0000 (11:38 +0100)]
SONAR-8795 Extract text search feature in a dedicated class

7 years agoSONAR-8290 Add unit test
Julien Lancelot [Wed, 22 Feb 2017 10:56:37 +0000 (11:56 +0100)]
SONAR-8290 Add unit test

7 years agoSONAR-8790 Add last analysis date on api/components/search_projects WS 1698/head
Julien Lancelot [Tue, 21 Feb 2017 15:01:54 +0000 (16:01 +0100)]
SONAR-8790 Add last analysis date on api/components/search_projects WS

7 years agoSONAR-8790 Add last analysis date on api/components/show WS
Julien Lancelot [Tue, 21 Feb 2017 14:15:54 +0000 (15:15 +0100)]
SONAR-8790 Add last analysis date on api/components/show WS

7 years agoAdd OrganizationPermission#all()
Simon Brandhof [Wed, 22 Feb 2017 12:57:05 +0000 (13:57 +0100)]
Add OrganizationPermission#all()

7 years agoDeprecate GlobalPermissions
Simon Brandhof [Tue, 21 Feb 2017 14:43:32 +0000 (15:43 +0100)]
Deprecate GlobalPermissions

in favor of enum OrganizationPermission

7 years agoSupport OrganizationPermission in UserDbTester
Simon Brandhof [Tue, 21 Feb 2017 14:42:20 +0000 (15:42 +0100)]
Support OrganizationPermission in UserDbTester

7 years agoMove OrganizationPermission to sonar-db-dao
Simon Brandhof [Tue, 21 Feb 2017 13:49:42 +0000 (14:49 +0100)]
Move OrganizationPermission to sonar-db-dao

7 years agoDrop unused methods in UserDbTester
Simon Brandhof [Tue, 21 Feb 2017 11:13:17 +0000 (12:13 +0100)]
Drop unused methods in UserDbTester

7 years agoDrop methods UserSession#xxxOrganizationPermission()
Simon Brandhof [Tue, 21 Feb 2017 10:43:39 +0000 (11:43 +0100)]
Drop methods UserSession#xxxOrganizationPermission()

7 years agoUse the methods UserSession accepting OrganizationPermission param
Simon Brandhof [Sun, 19 Feb 2017 14:35:37 +0000 (15:35 +0100)]
Use the methods UserSession accepting OrganizationPermission param

7 years agoSupport new enum OrganizationPermission in UserSession
Simon Brandhof [Sun, 19 Feb 2017 14:35:26 +0000 (15:35 +0100)]
Support new enum OrganizationPermission in UserSession

7 years agoFix deployment of RCs
Simon Brandhof [Wed, 22 Feb 2017 12:19:50 +0000 (13:19 +0100)]
Fix deployment of RCs

Technical version of RC must not be replaced by the
build version on 4 fields.

7 years agoPublish version 6.3-RC3
Simon Brandhof [Wed, 22 Feb 2017 11:00:38 +0000 (12:00 +0100)]
Publish version 6.3-RC3

7 years agoSONAR-8831 increase performance of bulk issue storage
Daniel Schwarz [Wed, 22 Feb 2017 10:58:00 +0000 (11:58 +0100)]
SONAR-8831 increase performance of bulk issue storage

7 years agoSONAR-8803 Sort by quality gate status 1691/head
Julien Lancelot [Mon, 20 Feb 2017 16:05:11 +0000 (17:05 +0100)]
SONAR-8803 Sort by quality gate status

7 years agoSONAR-8803 Index quality gate status as integer
Julien Lancelot [Fri, 17 Feb 2017 14:14:10 +0000 (15:14 +0100)]
SONAR-8803 Index quality gate status as integer

In order to be able to sort by quality gate status, an integer is required

7 years agoSONAR-8803 Rename qualityGate to qualityGateStatus in project measures index
Julien Lancelot [Fri, 17 Feb 2017 13:35:56 +0000 (14:35 +0100)]
SONAR-8803 Rename qualityGate to qualityGateStatus in project measures index

7 years agoSONAR-8290 Filter by language in api/components/search_projects
Julien Lancelot [Mon, 20 Feb 2017 13:20:08 +0000 (14:20 +0100)]
SONAR-8290 Filter by language in api/components/search_projects

7 years agoSONAR-8290 Filter by language in project measures index
Julien Lancelot [Mon, 20 Feb 2017 12:47:50 +0000 (13:47 +0100)]
SONAR-8290 Filter by language in project measures index

7 years agoSONAR-8290 Improve filter to accept multiple values
Julien Lancelot [Mon, 20 Feb 2017 12:44:56 +0000 (13:44 +0100)]
SONAR-8290 Improve filter to accept multiple values

7 years agoSONAR-8290 Extract filter parsing in a dedicated class
Julien Lancelot [Mon, 20 Feb 2017 11:53:59 +0000 (12:53 +0100)]
SONAR-8290 Extract filter parsing in a dedicated class

7 years agoSONAR-8231 Return language distribution facet
Julien Lancelot [Fri, 17 Feb 2017 16:33:07 +0000 (17:33 +0100)]
SONAR-8231 Return language distribution facet

7 years agoSONAR-8231 Add language distribution in project measures index
Julien Lancelot [Thu, 16 Feb 2017 11:14:17 +0000 (12:14 +0100)]
SONAR-8231 Add language distribution in project measures index

7 years agoSONAR-8704 allow roots to see all projects and measures 1697/head
Simon Brandhof [Tue, 21 Feb 2017 13:29:40 +0000 (14:29 +0100)]
SONAR-8704 allow roots to see all projects and measures

even if they don't have the expected permissions

7 years agoSONAR-8704 update indices authorization if browse permission is fully removed
Simon Brandhof [Tue, 21 Feb 2017 13:29:40 +0000 (14:29 +0100)]
SONAR-8704 update indices authorization if browse permission is fully removed

The types "authorization" of ES indices should be updated when all
the groups and users loose the projet permission "browse". Currently
this change was silently ignored and old permissions were still used.

7 years agoSONAR-8523 make it visible, that there is one es subfield per analyzer
Daniel Schwarz [Tue, 21 Feb 2017 13:06:37 +0000 (14:06 +0100)]
SONAR-8523 make it visible, that there is one es subfield per analyzer

7 years agoSONAR-8523 refactor the user index to comply to index conventions
Daniel Schwarz [Tue, 31 Jan 2017 11:43:14 +0000 (12:43 +0100)]
SONAR-8523 refactor the user index to comply to index conventions

7 years agoFix install of maven 3.3.9 on Travis
Simon Brandhof [Tue, 21 Feb 2017 11:02:54 +0000 (12:02 +0100)]
Fix install of maven 3.3.9 on Travis

7 years agoRemove unused maven-release-plugin
Simon Brandhof [Tue, 21 Feb 2017 09:46:06 +0000 (10:46 +0100)]
Remove unused maven-release-plugin

7 years agoRemove unused Maven enforcer about Java 8
Simon Brandhof [Tue, 21 Feb 2017 09:44:18 +0000 (10:44 +0100)]
Remove unused Maven enforcer about Java 8

7 years agoUpgrade JDK and Maven on Travis
Simon Brandhof [Tue, 21 Feb 2017 09:17:15 +0000 (10:17 +0100)]
Upgrade JDK and Maven on Travis

 * JDK 1.8.0_121
 * Maven 3.3.9

7 years agoSONAR-8809 always update component index, instead of drop+reindex
Daniel Schwarz [Tue, 21 Feb 2017 10:09:35 +0000 (11:09 +0100)]
SONAR-8809 always update component index, instead of drop+reindex

7 years agoAutomatic merge from branch-6.3
ssjenka [Tue, 21 Feb 2017 09:47:04 +0000 (10:47 +0100)]
Automatic merge from branch-6.3

* origin/branch-6.3:
  SONAR-8823 Deprecate API org.sonar.api.web.Footer

7 years agoSONAR-8823 Deprecate API org.sonar.api.web.Footer
Teryk Bellahsene [Tue, 21 Feb 2017 09:27:37 +0000 (10:27 +0100)]
SONAR-8823 Deprecate API org.sonar.api.web.Footer