]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
7 years agoSONAR-8798 configure log4j to slf4j bridge for transport client
Sébastien Lesaint [Thu, 20 Jul 2017 15:55:45 +0000 (17:55 +0200)]
SONAR-8798 configure log4j to slf4j bridge for transport client

7 years agoSONAR-8798 use TransportClient to check node is operational
Sébastien Lesaint [Thu, 20 Jul 2017 15:06:31 +0000 (17:06 +0200)]
SONAR-8798 use TransportClient to check node is operational

package org.elasticsearch.client:transport and most of its dependencies into sonar-application.jar; do not open Elasticsearch's http port by default

7 years agoSONAR-8798 move default index properties to NewIndex
Sébastien Lesaint [Wed, 19 Jul 2017 14:30:01 +0000 (16:30 +0200)]
SONAR-8798 move default index properties to NewIndex

specifying them as node properties is not supported in ES 5.X and causes failure at startup

7 years agoSONAR-8798 start and monitor ES script from main process
Sébastien Lesaint [Tue, 18 Jul 2017 16:13:06 +0000 (18:13 +0200)]
SONAR-8798 start and monitor ES script from main process

7 years agoSONAR-8798 rename ProcessMonitorImpl to ProcessCommandsProcessMonitor
Sébastien Lesaint [Tue, 18 Jul 2017 14:23:42 +0000 (16:23 +0200)]
SONAR-8798 rename ProcessMonitorImpl to ProcessCommandsProcessMonitor

and extract abstract class AbstractProcessMonitor

7 years agoSONAR-8798 rename JavaCommandFactory to CommandFactory
Sébastien Lesaint [Tue, 18 Jul 2017 14:13:23 +0000 (16:13 +0200)]
SONAR-8798 rename JavaCommandFactory to CommandFactory

7 years agoSONAR-8798 rename JavaProcessLauncher to ProcessLauncher
Sébastien Lesaint [Tue, 18 Jul 2017 14:06:56 +0000 (16:06 +0200)]
SONAR-8798 rename JavaProcessLauncher to ProcessLauncher

7 years agoSONAR-8798 extract AbstractCommand from JavaCommand
Sébastien Lesaint [Tue, 18 Jul 2017 14:04:33 +0000 (16:04 +0200)]
SONAR-8798 extract AbstractCommand from JavaCommand

7 years agoSONAR-8798 move confusing inner class JavaProcessLauncher#SystemProcessBuilder
Sébastien Lesaint [Tue, 18 Jul 2017 13:47:57 +0000 (15:47 +0200)]
SONAR-8798 move confusing inner class JavaProcessLauncher#SystemProcessBuilder

7 years agoSONAR-8798 fix quality gate status facet of project measures index
Daniel Schwarz [Wed, 19 Jul 2017 13:54:22 +0000 (15:54 +0200)]
SONAR-8798 fix quality gate status facet of project measures index

7 years agoSONAR-8798 arbitrary types like RuleType cannot be serialized by ES 5
Daniel Schwarz [Wed, 19 Jul 2017 12:36:46 +0000 (14:36 +0200)]
SONAR-8798 arbitrary types like RuleType cannot be serialized by ES 5

7 years agoSONAR-8798 fix unit tests
Daniel Schwarz [Wed, 19 Jul 2017 13:44:57 +0000 (15:44 +0200)]
SONAR-8798 fix unit tests

7 years agoSONAR-8798 update EsTester to support ES 5.X
Daniel Schwarz [Mon, 17 Jul 2017 13:08:46 +0000 (15:08 +0200)]
SONAR-8798 update EsTester to support ES 5.X

7 years agoSONAR-8798 make integration tests run
Daniel Schwarz [Tue, 18 Jul 2017 09:38:48 +0000 (11:38 +0200)]
SONAR-8798 make integration tests run

Elasticsearch http is always enabled, default port is 9010

7 years agoSONAR-8798 term_vector must be enabled for hightlighting on field too
Sébastien Lesaint [Mon, 17 Jul 2017 09:42:10 +0000 (11:42 +0200)]
SONAR-8798 term_vector must be enabled for hightlighting on field too

and not only on searcheable subfields

7 years agoSONAR-8798 support both text and keyword string field types
Sébastien Lesaint [Mon, 17 Jul 2017 09:40:49 +0000 (11:40 +0200)]
SONAR-8798 support both text and keyword string field types

in addition, support fielddata for text type to allow sorting/aggregation/value retrieval

7 years agoSONAR-8798 make MetaIndex.value stored to be able to retrieve it
Sébastien Lesaint [Thu, 13 Jul 2017 14:01:33 +0000 (16:01 +0200)]
SONAR-8798 make MetaIndex.value stored to be able to retrieve it

7 years agoSONAR-8798 term_vector only an analyzed keyword fields
Sébastien Lesaint [Thu, 13 Jul 2017 13:47:00 +0000 (15:47 +0200)]
SONAR-8798 term_vector only an analyzed keyword fields

7 years agoSONAR-8798 SearchServer starts external ES 5 process
Daniel Schwarz [Thu, 29 Jun 2017 12:17:10 +0000 (14:17 +0200)]
SONAR-8798 SearchServer starts external ES 5 process

This includes to package Elasticsearch 5.0.2 in the SonarQube application

This change is required, because Elasticsearch versions later 5 do not provide support for running Elasticsearch “embedded” anymore.

7 years agoSONAR-8798 property node.rack_id renamed to node.attr.rack_id
Daniel Schwarz [Thu, 29 Jun 2017 09:29:03 +0000 (11:29 +0200)]
SONAR-8798 property node.rack_id renamed to node.attr.rack_id

7 years agoSONAR-8798 do not set obsolete discovery.zen.ping.multicast.enabled
Daniel Schwarz [Thu, 29 Jun 2017 08:56:08 +0000 (10:56 +0200)]
SONAR-8798 do not set obsolete discovery.zen.ping.multicast.enabled

Multicast is now a plugin in ES 2 and 5 and does not have to be disabled anymore

7 years agoSONAR-8798 drop Xmx limitation in quick-build.sh
Sébastien Lesaint [Thu, 29 Jun 2017 07:55:03 +0000 (09:55 +0200)]
SONAR-8798 drop Xmx limitation in quick-build.sh

7 years agoSONAR-8798 compile with ES 5.0.0
Sébastien Lesaint [Thu, 13 Jul 2017 08:43:51 +0000 (10:43 +0200)]
SONAR-8798 compile with ES 5.0.0

7 years agoSONAR-8798 don't store _id in document bodies anymore
Sébastien Lesaint [Thu, 13 Jul 2017 15:43:22 +0000 (17:43 +0200)]
SONAR-8798 don't store _id in document bodies anymore

* don't store uuid in _id for projectmeasures.projectmeasure
* don't store uuid in _id field for components.component
* don't store id in field _id for Rules.activeRule

7 years agoSONAR-8798 replace any usage of SearchType.SCAN by a scroll query
Daniel Schwarz [Wed, 28 Jun 2017 12:23:32 +0000 (14:23 +0200)]
SONAR-8798 replace any usage of SearchType.SCAN by a scroll query

7 years agoSONAR-8798 remove (anyways ignored) sorting for RuleIndex.searchAll
Daniel Schwarz [Wed, 28 Jun 2017 11:57:29 +0000 (13:57 +0200)]
SONAR-8798 remove (anyways ignored) sorting for RuleIndex.searchAll

because it is a "scan" query, that ignores sorting

7 years agoSONAR-8798 prepare for setRefresh replaced by setRefreshPolicy
Sébastien Lesaint [Wed, 28 Jun 2017 09:34:02 +0000 (11:34 +0200)]
SONAR-8798 prepare for setRefresh replaced by setRefreshPolicy

7 years agoSONAR-8798 prepare for type change of ES property "norms"
Sébastien Lesaint [Wed, 28 Jun 2017 08:58:19 +0000 (10:58 +0200)]
SONAR-8798 prepare for type change of ES property "norms"

7 years agoSONAR-8798 prepare changing literal values for es property "index"
Daniel Schwarz [Wed, 28 Jun 2017 08:44:39 +0000 (10:44 +0200)]
SONAR-8798 prepare changing literal values for es property "index"

7 years agoSONAR-8798 prepare move from type STRING to type TEXT or KEYWORD
Sébastien Lesaint [Tue, 27 Jun 2017 14:20:36 +0000 (16:20 +0200)]
SONAR-8798 prepare move from type STRING to type TEXT or KEYWORD

7 years agoSONAR-8798 do not reference non existing field in queries
Daniel Schwarz [Tue, 27 Jun 2017 12:06:33 +0000 (14:06 +0200)]
SONAR-8798 do not reference non existing field in queries

7 years agoSONAR-8798 store index definition hashes in separate es index
Daniel Schwarz [Mon, 26 Jun 2017 15:19:38 +0000 (17:19 +0200)]
SONAR-8798 store index definition hashes in separate es index

7 years agoUse LinkedHashSet to make output order consistent
Julien HENRY [Mon, 7 Aug 2017 16:27:07 +0000 (18:27 +0200)]
Use LinkedHashSet to make output order consistent

7 years agoFix regression introduced during previous scanner hardening
Julien HENRY [Mon, 7 Aug 2017 16:11:58 +0000 (18:11 +0200)]
Fix regression introduced during previous scanner hardening

Module workDir is deleted when cleaning root module work dir when they are nested.

7 years agoSONAR-9576 More simple predicate to skip default status filter
Julien HENRY [Fri, 4 Aug 2017 13:33:05 +0000 (15:33 +0200)]
SONAR-9576 More simple predicate to skip default status filter

7 years agoFix test
Duarte Meneses [Wed, 2 Aug 2017 13:22:25 +0000 (15:22 +0200)]
Fix test

7 years agoOptimize copy of scanner measures
Duarte Meneses [Fri, 28 Jul 2017 15:36:36 +0000 (17:36 +0200)]
Optimize copy of scanner measures

7 years agoFix handling of ScmInfo
Duarte Meneses [Fri, 28 Jul 2017 12:13:40 +0000 (14:13 +0200)]
Fix handling of ScmInfo

7 years agoFix tests and missing components
Duarte Meneses [Fri, 28 Jul 2017 12:13:03 +0000 (14:13 +0200)]
Fix tests and missing components

7 years agoSONAR-9639 Support CE task characteristics
Duarte Meneses [Fri, 28 Jul 2017 08:27:21 +0000 (10:27 +0200)]
SONAR-9639 Support CE task characteristics

7 years agoAdd default measure duplications to container
Duarte Meneses [Thu, 27 Jul 2017 12:02:59 +0000 (14:02 +0200)]
Add default measure duplications to container

7 years agoSONAR-9577 Store incremental analysis flag in database
Duarte Meneses [Thu, 27 Jul 2017 10:43:35 +0000 (12:43 +0200)]
SONAR-9577 Store incremental analysis flag in database

7 years agoValidate incremental plugin
Duarte Meneses [Thu, 27 Jul 2017 08:44:06 +0000 (10:44 +0200)]
Validate incremental plugin

7 years agoSONAR-9576 Add analysis mode in the scanner report
Julien HENRY [Thu, 20 Jul 2017 15:38:19 +0000 (17:38 +0200)]
SONAR-9576 Add analysis mode in the scanner report

7 years agoSONAR-9586 Run incremental task when sonar.incremental=true
Julien HENRY [Thu, 20 Jul 2017 14:33:37 +0000 (16:33 +0200)]
SONAR-9586 Run incremental task when sonar.incremental=true

7 years agoValidate incremental plugin
Duarte Meneses [Thu, 27 Jul 2017 08:44:06 +0000 (10:44 +0200)]
Validate incremental plugin

7 years agoSONAR-9621 Read cpd text blocks from DB in incremental mode
Duarte Meneses [Wed, 26 Jul 2017 13:48:28 +0000 (15:48 +0200)]
SONAR-9621 Read cpd text blocks from DB in incremental mode

7 years agoSONAR-9619 Reuse issues from last analysis for unmodified files
Duarte Meneses [Tue, 25 Jul 2017 11:31:15 +0000 (13:31 +0200)]
SONAR-9619 Reuse issues from last analysis for unmodified files

7 years agoSONAR-9620 Read scanner and duplication measures with incremental plugin
Duarte Meneses [Mon, 24 Jul 2017 14:33:17 +0000 (16:33 +0200)]
SONAR-9620 Read scanner and duplication measures with incremental plugin

7 years agoSONAR-9602 Don't persist sources of unchanged files
Duarte Meneses [Mon, 24 Jul 2017 14:32:53 +0000 (16:32 +0200)]
SONAR-9602 Don't persist sources of unchanged files

7 years agoAdd CPD text blocks to report viewer
Duarte Meneses [Mon, 24 Jul 2017 14:10:22 +0000 (16:10 +0200)]
Add CPD text blocks to report viewer

7 years agoSONAR-9601 Read analysis incremental flag and file status from report
Duarte Meneses [Mon, 24 Jul 2017 14:09:49 +0000 (16:09 +0200)]
SONAR-9601 Read analysis incremental flag and file status from report

7 years agoSONAR-9607 Do not copy unchanged source files in scanner report
Julien HENRY [Tue, 25 Jul 2017 15:48:43 +0000 (17:48 +0200)]
SONAR-9607 Do not copy unchanged source files in scanner report

7 years agoSONAR-9575 Add incremental plugin to privileged plugins
Julien HENRY [Tue, 25 Jul 2017 08:00:57 +0000 (10:00 +0200)]
SONAR-9575 Add incremental plugin to privileged plugins

7 years agoSONAR-9600 Disable "force coverage to zero" in incremental mode
Julien HENRY [Mon, 24 Jul 2017 14:03:02 +0000 (16:03 +0200)]
SONAR-9600 Disable "force coverage to zero" in incremental mode

7 years agoSONAR-9575 Allow to replace ProjectRepositoriesProvider core implementation
Julien HENRY [Mon, 24 Jul 2017 10:08:00 +0000 (12:08 +0200)]
SONAR-9575 Allow to replace ProjectRepositoriesProvider core implementation

7 years agoSONAR-9576 Add component status in the scanner report
Julien HENRY [Fri, 21 Jul 2017 15:51:29 +0000 (17:51 +0200)]
SONAR-9576 Add component status in the scanner report

7 years agoSONAR-9576 Add analysis mode in the scanner report
Julien HENRY [Thu, 20 Jul 2017 15:38:19 +0000 (17:38 +0200)]
SONAR-9576 Add analysis mode in the scanner report

7 years agoSONAR-9586 Run incremental task when sonar.incremental=true
Julien HENRY [Thu, 20 Jul 2017 14:33:37 +0000 (16:33 +0200)]
SONAR-9586 Run incremental task when sonar.incremental=true

7 years agoSONAR-9576 Add incremental mode flag and file status in scanner report
Julien HENRY [Wed, 19 Jul 2017 15:27:29 +0000 (17:27 +0200)]
SONAR-9576 Add incremental mode flag and file status in scanner report

7 years agoFix quality flaws
Julien HENRY [Wed, 2 Aug 2017 12:13:40 +0000 (14:13 +0200)]
Fix quality flaws

7 years agoDon't change PathResolver methods to static
Julien HENRY [Wed, 2 Aug 2017 11:51:17 +0000 (13:51 +0200)]
Don't change PathResolver methods to static

This is an API breaking change

7 years agoFix quality flaws
Julien HENRY [Wed, 2 Aug 2017 09:06:20 +0000 (11:06 +0200)]
Fix quality flaws

7 years agoRemove unused files
Julien HENRY [Tue, 1 Aug 2017 14:58:17 +0000 (16:58 +0200)]
Remove unused files

7 years agoSONAR-9574 Same file indexed in different modules
Julien HENRY [Tue, 1 Aug 2017 14:31:07 +0000 (16:31 +0200)]
SONAR-9574 Same file indexed in different modules

7 years agoStore project relative path inside DefaultIndexedFile
Julien HENRY [Tue, 1 Aug 2017 12:43:55 +0000 (14:43 +0200)]
Store project relative path inside DefaultIndexedFile

7 years agoSONAR-9641 Add URIPredicate
Julien HENRY [Tue, 1 Aug 2017 09:37:13 +0000 (11:37 +0200)]
SONAR-9641 Add URIPredicate

7 years agoSONAR-9561 File inclusions/exclusions should be applied before language detection
Julien HENRY [Mon, 31 Jul 2017 16:44:48 +0000 (18:44 +0200)]
SONAR-9561 File inclusions/exclusions should be applied before language detection

7 years agoSONAR-9528 Deprecate Initializer extension point
Julien HENRY [Mon, 31 Jul 2017 14:28:14 +0000 (16:28 +0200)]
SONAR-9528 Deprecate Initializer extension point

7 years agoSONAR-9557 Fix coverage exclusions for global sensors
Julien HENRY [Mon, 31 Jul 2017 14:15:44 +0000 (16:15 +0200)]
SONAR-9557 Fix coverage exclusions for global sensors

7 years agoRework file indexing
Julien HENRY [Mon, 31 Jul 2017 11:12:10 +0000 (13:12 +0200)]
Rework file indexing

  * Drop cycle ModuleFileSystem -> FileIndexer -> ModuleFileSystem
  * Ensure basedir is initialized once
  * Drop useless FileSystemLogger, and log in ModuleFileSystemInitializer

7 years agoSONAR-9641 Introduce InputFile:uri()
Julien HENRY [Mon, 31 Jul 2017 08:37:53 +0000 (10:37 +0200)]
SONAR-9641 Introduce InputFile:uri()

7 years agofix quality profile project selection (#2316)
Stas Vilchik [Fri, 4 Aug 2017 07:14:23 +0000 (09:14 +0200)]
fix quality profile project selection (#2316)

7 years agofix activity page for applications (#2315)
Stas Vilchik [Fri, 4 Aug 2017 07:14:12 +0000 (09:14 +0200)]
fix activity page for applications (#2315)

7 years agodo not break if navigator.language is undefined (#2263)
Thomas Weißschuh [Wed, 2 Aug 2017 09:51:06 +0000 (11:51 +0200)]
do not break if navigator.language is undefined (#2263)

7 years agoAutomatic merge from branch-6.5
ssjenka [Wed, 2 Aug 2017 06:02:38 +0000 (08:02 +0200)]
Automatic merge from branch-6.5

* origin/branch-6.5:
  Prepare for next development iteration
  Release 6.5

7 years agoRename ComponentDto#getKey to ComponentDto#getDbKey
Julien Lancelot [Tue, 1 Aug 2017 12:39:41 +0000 (14:39 +0200)]
Rename ComponentDto#getKey to ComponentDto#getDbKey

Preparing component key that will contains branch key

7 years agoComponentDto does not inherit anymore from Component
Julien Lancelot [Tue, 1 Aug 2017 11:59:26 +0000 (13:59 +0200)]
ComponentDto does not inherit anymore from Component

7 years agoPrepare for next development iteration branch-6.5
Simon Brandhof [Tue, 1 Aug 2017 12:04:21 +0000 (14:04 +0200)]
Prepare for next development iteration

7 years agoRelease 6.5 6.5
Simon Brandhof [Tue, 1 Aug 2017 11:58:54 +0000 (13:58 +0200)]
Release 6.5

7 years agoBUILD-478 Set TRAVIS_BUILD_DIR in ramdisk
David Rautureau [Tue, 1 Aug 2017 11:51:37 +0000 (13:51 +0200)]
BUILD-478 Set TRAVIS_BUILD_DIR in ramdisk

7 years agoAutomatic merge from branch-6.5
ssjenka [Tue, 1 Aug 2017 07:51:27 +0000 (09:51 +0200)]
Automatic merge from branch-6.5

* origin/branch-6.5:
  SONAR-9648 upgrade SVN plugin to 1.5

7 years agoSONAR-9648 upgrade SVN plugin to 1.5
Simon Brandhof [Tue, 1 Aug 2017 07:38:05 +0000 (09:38 +0200)]
SONAR-9648 upgrade SVN plugin to 1.5

7 years agoFix javadoc of Plugin API
Simon Brandhof [Tue, 1 Aug 2017 07:11:17 +0000 (09:11 +0200)]
Fix javadoc of Plugin API

7 years agoMerge remote-tracking branch 'origin/branch-6.5'
Julien Lancelot [Tue, 1 Aug 2017 06:18:53 +0000 (08:18 +0200)]
Merge remote-tracking branch 'origin/branch-6.5'

7 years agoAdd "clean package" goals before analysing project
Julien Lancelot [Tue, 1 Aug 2017 05:30:20 +0000 (07:30 +0200)]
Add "clean package" goals before analysing project

The Java plugin now requires compiled classes

7 years agoSONAR-9648 Upgrade bundled plugins to latest released versions
Julien Lancelot [Mon, 31 Jul 2017 15:27:39 +0000 (17:27 +0200)]
SONAR-9648 Upgrade bundled plugins to latest released versions

7 years agoAutomatic merge from branch-6.5
ssjenka [Mon, 31 Jul 2017 14:02:47 +0000 (16:02 +0200)]
Automatic merge from branch-6.5

* origin/branch-6.5:
  SONAR-8550 Update function to group analyses by version

7 years agoSONAR-8550 Update function to group analyses by version
Grégoire Aubert [Mon, 31 Jul 2017 08:30:55 +0000 (10:30 +0200)]
SONAR-8550 Update function to group analyses by version

7 years agoAdd test on searching issues on view without project
Julien Lancelot [Thu, 27 Jul 2017 15:31:47 +0000 (17:31 +0200)]
Add test on searching issues on view without project

7 years agoSONAR-9531 Fix computation of variation when value is 0
Julien Lancelot [Thu, 27 Jul 2017 09:22:51 +0000 (11:22 +0200)]
SONAR-9531 Fix computation of variation when value is 0

Also remove default value behavior as it's not used anymore by GOV

7 years agoSONAR-9551 WS api/issues/search search by application
Teryk Bellahsene [Wed, 26 Jul 2017 12:47:18 +0000 (14:47 +0200)]
SONAR-9551 WS api/issues/search search by application

7 years agoSONAR-9551 Allow searching issues by creation dates and projects
Julien Lancelot [Wed, 26 Jul 2017 09:22:50 +0000 (11:22 +0200)]
SONAR-9551 Allow searching issues by creation dates and projects

7 years agoSONAR-9551 Index applications when indexing views
Teryk Bellahsene [Thu, 27 Jul 2017 08:06:19 +0000 (10:06 +0200)]
SONAR-9551 Index applications when indexing views

7 years agoapply applications feedback (#2297)
Stas Vilchik [Thu, 27 Jul 2017 07:13:54 +0000 (09:13 +0200)]
apply applications feedback (#2297)

7 years agofix analysis message
Stas Vilchik [Wed, 26 Jul 2017 09:25:08 +0000 (11:25 +0200)]
fix analysis message

7 years agofix display of application quality gate
Stas Vilchik [Wed, 26 Jul 2017 09:03:35 +0000 (11:03 +0200)]
fix display of application quality gate

7 years agosupport NONE value in Level component
Stas Vilchik [Wed, 26 Jul 2017 08:54:32 +0000 (10:54 +0200)]
support NONE value in Level component

7 years agoReturn leak period date when retrieving snapshot from tech project
Julien Lancelot [Tue, 25 Jul 2017 10:05:07 +0000 (12:05 +0200)]
Return leak period date when retrieving snapshot from tech project

7 years agoSONAR-9531 Change the application space
Stas Vilchik [Mon, 24 Jul 2017 14:12:39 +0000 (16:12 +0200)]
SONAR-9531 Change the application space