]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
7 years agoBUILD-495 add incremental analysis and full analysis every 0 ending build
Tom [Fri, 11 Aug 2017 08:17:42 +0000 (10:17 +0200)]
BUILD-495 add incremental analysis and full analysis every 0 ending build

7 years agoAdds vscode to gitignore
Tom [Fri, 11 Aug 2017 08:16:47 +0000 (10:16 +0200)]
Adds vscode to gitignore

7 years agoFix bad merge of SearchActionComponentsTest
Julien Lancelot [Thu, 10 Aug 2017 17:04:38 +0000 (19:04 +0200)]
Fix bad merge of SearchActionComponentsTest

Tests on application has been removed when merging SearchActionComponentsMediumTest to SearchActionComponentsTest

7 years agoSONAR-8798 use SonarQube's current JVM to launch Elasticsearch
Daniel Schwarz [Thu, 10 Aug 2017 10:01:54 +0000 (12:01 +0200)]
SONAR-8798 use SonarQube's current JVM to launch Elasticsearch

7 years agoFix bad use of PropTypes
Grégoire Aubert [Mon, 7 Aug 2017 14:19:33 +0000 (16:19 +0200)]
Fix bad use of PropTypes

7 years agoSONAR-9603 Fix broken browser history after clicking on the project activity preview...
Grégoire Aubert [Mon, 7 Aug 2017 08:20:09 +0000 (10:20 +0200)]
SONAR-9603 Fix broken browser history after clicking on the project activity preview graph

7 years agoShow a message if there is no data to be displayed on the project activity preview...
Grégoire Aubert [Mon, 7 Aug 2017 08:15:38 +0000 (10:15 +0200)]
Show a message if there is no data to be displayed on the project activity preview graph

7 years agoDisplay overview analysis events tooltip on the left
Grégoire Aubert [Fri, 4 Aug 2017 16:03:58 +0000 (18:03 +0200)]
Display overview analysis events tooltip on the left

7 years agoSwitch colors of the overview meta headers and overview analysis
Grégoire Aubert [Fri, 4 Aug 2017 16:01:42 +0000 (18:01 +0200)]
Switch colors of the overview meta headers and overview analysis

7 years agoDo not display separators in the project activity page tooltips if there is no data
Grégoire Aubert [Fri, 4 Aug 2017 15:56:58 +0000 (17:56 +0200)]
Do not display separators in the project activity page tooltips if there is no data

7 years agoSONAR-8798 fix quality flaws
Daniel Schwarz [Tue, 8 Aug 2017 09:30:50 +0000 (11:30 +0200)]
SONAR-8798 fix quality flaws

7 years agoSONAR-8798 reduce ES memory to 512m for integration tests
Daniel Schwarz [Mon, 7 Aug 2017 08:53:18 +0000 (10:53 +0200)]
SONAR-8798 reduce ES memory to 512m for integration tests

Otherwise there were too many false positives in our QA.

7 years agoSONAR-8798 log stderr of subprocesses
Eric Hartmann [Tue, 8 Aug 2017 13:58:32 +0000 (15:58 +0200)]
SONAR-8798 log stderr of subprocesses

7 years agoSONAR-8798 log exit value of terminated sub processes
Daniel Schwarz [Tue, 8 Aug 2017 11:57:09 +0000 (13:57 +0200)]
SONAR-8798 log exit value of terminated sub processes

7 years agoSONAR-8798 make startup time performance test accept 34s (due to ES5)
Daniel Schwarz [Mon, 7 Aug 2017 08:37:14 +0000 (10:37 +0200)]
SONAR-8798 make startup time performance test accept 34s (due to ES5)

7 years agoSONAR-8798 pass sonar.search.javaOpts in a file to ES
Daniel Schwarz [Fri, 4 Aug 2017 12:09:07 +0000 (14:09 +0200)]
SONAR-8798 pass sonar.search.javaOpts in a file to ES

7 years agoSONAR-8798 move listAuthors and listTagsForComponent to AuthorsAction and ComponentTa...
Daniel Schwarz [Fri, 28 Jul 2017 09:35:59 +0000 (11:35 +0200)]
SONAR-8798 move listAuthors and listTagsForComponent to AuthorsAction and ComponentTagsAction

7 years agoSONAR-8798 remove medium tests registration of QualityProfiles and Rules
Daniel Schwarz [Mon, 7 Aug 2017 08:45:46 +0000 (10:45 +0200)]
SONAR-8798 remove medium tests registration of QualityProfiles and Rules

Those tests should be added back as either unit tests or integration tests in the near future.

7 years agoSONAR-8798 convert medium tests to unit tests
Daniel Schwarz [Fri, 28 Jul 2017 13:32:29 +0000 (15:32 +0200)]
SONAR-8798 convert medium tests to unit tests

7 years agoSONAR-8798 reduce Elasticsearch log level to "WARN" for unit tests
Daniel Schwarz [Fri, 28 Jul 2017 08:52:45 +0000 (10:52 +0200)]
SONAR-8798 reduce Elasticsearch log level to "WARN" for unit tests

7 years agoSONAR-8798 fix date histogram bounds
Daniel Schwarz [Fri, 28 Jul 2017 08:11:34 +0000 (10:11 +0200)]
SONAR-8798 fix date histogram bounds

it seems to internally use UTC

7 years agoSONAR-8798 remove setting "index.number_of_replicas"
Daniel Schwarz [Mon, 7 Aug 2017 13:32:41 +0000 (15:32 +0200)]
SONAR-8798 remove setting "index.number_of_replicas"

7 years agoSONAR-8798 removed SearchServer and EsServerHolder
Daniel Schwarz [Mon, 7 Aug 2017 12:51:36 +0000 (14:51 +0200)]
SONAR-8798 removed SearchServer and EsServerHolder

7 years agoSONAR-8798 fix storing rule key in RuleExtensionDoc
Daniel Schwarz [Thu, 27 Jul 2017 14:38:49 +0000 (16:38 +0200)]
SONAR-8798 fix storing rule key in RuleExtensionDoc

7 years agoSONAR-8798 allow "epoch_second" as alternative ES date format
Daniel Schwarz [Thu, 27 Jul 2017 12:50:33 +0000 (14:50 +0200)]
SONAR-8798 allow "epoch_second" as alternative ES date format

7 years agoSONAR-8798 Add parent-join plugin
Daniel Schwarz [Thu, 27 Jul 2017 12:34:06 +0000 (14:34 +0200)]
SONAR-8798 Add parent-join plugin

7 years agoSONAR-8798 do not automatically create indexes, not even in unit tests
Daniel Schwarz [Thu, 27 Jul 2017 12:06:31 +0000 (14:06 +0200)]
SONAR-8798 do not automatically create indexes, not even in unit tests

7 years agoSONAR-8798 apply all breaking changes of ES 5.5
Daniel Schwarz [Thu, 27 Jul 2017 11:32:12 +0000 (13:32 +0200)]
SONAR-8798 apply all breaking changes of ES 5.5

7 years agoSONAR-8798 Upgrade packaged Elasticsearch to 5.5.1
Daniel Schwarz [Thu, 27 Jul 2017 07:45:01 +0000 (09:45 +0200)]
SONAR-8798 Upgrade packaged Elasticsearch to 5.5.1

Update of maven dependency, the packaged Elasticsearch version, add empty plugins subdirectory and minor other changes

7 years agoSONAR-8798 make ES read config files provided by SQ
Sébastien Lesaint [Fri, 21 Jul 2017 14:48:25 +0000 (16:48 +0200)]
SONAR-8798 make ES read config files provided by SQ

rather than those provided by default in distribution

7 years agoSONAR-8798 path.home is useless with ES as an external process
Sébastien Lesaint [Fri, 21 Jul 2017 13:02:08 +0000 (15:02 +0200)]
SONAR-8798 path.home is useless with ES as an external process

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