Commit Graph

302 Commits

Author SHA1 Message Date
Thomas Vérin
29a84111f6 [maven-release-plugin] prepare release 5.3-RC2 2015-12-17 17:02:01 +01:00
Jenkins CI
5c75034675 Automatic merge from branch-5.3
* origin/branch-5.3:
  open file in the workspace when click on the bubble
  SONAR-7126 Scanner on Java 7 must support TLS 1.2 when connecting to SonarQube HTTPS server
  Add unit test for Java CPD Engine
2015-12-17 08:01:22 +01:00
Simon Brandhof
53170bebb5 SONAR-7126 Scanner on Java 7 must support TLS 1.2 when connecting to SonarQube HTTPS server 2015-12-16 16:46:52 +01:00
Eric Hartmann
1342b253ed Upgrade version to 5.4-SNAPSHOT 2015-12-09 13:32:03 +01:00
Teryk Bellahsene
0a5e742023 SONAR-6900 New WS api/qualitygates/project_status quality gate details of an analysis 2015-12-08 00:27:39 +01:00
Sébastien Lesaint
68c809b943 SONAR-6947 add missing coverage on PermissionsServiceTest 2015-12-07 15:36:40 +01:00
Sébastien Lesaint
d516de1841 SONAR-6947 add missing coverage of SearchWsRequest 2015-12-07 15:36:40 +01:00
simonbrandhof
4a403cd455 SONAR-6905 replace analysis-details.json by report-task.txt 2015-12-04 17:42:53 +01:00
Simon Brandhof
92b68fdb6b ws-client should not throw HttpException by default 2015-12-02 14:16:49 +01:00
Simon Brandhof
bba16edb77 SONAR-7054 use ws-client in batch 2015-11-30 19:01:45 +01:00
Teryk Bellahsene
0a8a13500a SONAR-6892 WS permissions/search_project_permissions filter by qualifier 2015-11-30 14:04:40 +01:00
Teryk Bellahsene
6990f9043c Replace checkNotNull by requireNonNull in sonar-ws 2015-11-27 09:14:50 +01:00
Teryk Bellahsene
598d9e8a08 SONAR-7048 WS user_tokens/search list access tokens of a user 2015-11-26 14:13:28 +01:00
Teryk Bellahsene
93e81b2c3c SONAR-7042 WS user_tokens/revoke revoke an access token 2015-11-26 14:12:36 +01:00
Teryk Bellahsene
7fb14c3d55 SONAR-7039 Generate user tokens 2015-11-23 17:26:29 +01:00
Teryk Bellahsene
760d4ab222 Fix quality flaws 2015-11-18 09:43:48 +01:00
Teryk Bellahsene
678d27506f SONAR-6947 api/issues/search use issue.SearchWsRequest 2015-11-18 08:11:09 +01:00
Teryk Bellahsene
08d3297f4a SONAR-6947 Add tests and bug fixes 2015-11-17 13:41:34 +01:00
Teryk Bellahsene
1da240b653 SONAR-6947 Add package-info for quality profiles 2015-11-17 13:41:26 +01:00
Teryk Bellahsene
1de32aa479 SONAR-6947 api/components/search use SearchWsRequest 2015-11-17 13:41:25 +01:00
Teryk Bellahsene
0444203efd SONAR-6947 api/qualityprofiles/search use SearchWsRequest 2015-11-17 13:41:04 +01:00
Teryk Bellahsene
40cf347e9a SONAR-6947 api/permissions/users use UsersWsRequest 2015-11-17 13:41:04 +01:00
Teryk Bellahsene
ad4cf4fb0a SONAR-6947 api/permissions/update_template use UpdateTemplateWsRequest 2015-11-17 13:41:04 +01:00
Teryk Bellahsene
5c82c160f7 SONAR-6947 api/permissions/set_default_template use SetDefaultTemplateWsRequest 2015-11-17 13:41:03 +01:00
Teryk Bellahsene
563fbccfaf SONAR-6947 api/permissions/search_templates use SearchTemplatesWsRequest 2015-11-17 13:41:03 +01:00
Teryk Bellahsene
c40eb47f54 SONAR-6947 Fix paging in GroupsWsRequest and SearchProjectPermissionsWsRequest 2015-11-17 13:41:03 +01:00
Teryk Bellahsene
3ae50c1508 SONAR-6947 Add package-info.java well formatted 2015-11-17 13:41:03 +01:00
Teryk Bellahsene
665e52be0b SONAR-6947 api/permissions/search_project_permissions use SearchProjectPermissionsWsRequest 2015-11-17 13:41:02 +01:00
Teryk Bellahsene
c47c94c4ed SONAR-6947 add api/permissions/search_global_permissions to PermissionsWsClient 2015-11-17 13:41:02 +01:00
Teryk Bellahsene
3682b11b67 SONAR-6947 api/permissions/remove_user_from_template use RemoveUserFromTemplateWsRequest 2015-11-17 13:41:02 +01:00
Teryk Bellahsene
f0f35839eb SONAR-6947 api/permissions/remove_user use RemoveUserWsRequest 2015-11-17 13:41:01 +01:00
Teryk Bellahsene
a000d18795 SONAR-6947 api/permissions/remove_group_from_template use RemoveGroupFromTemplateWsRequest 2015-11-17 13:41:01 +01:00
Teryk Bellahsene
4b6363011a SONAR-6947 api/permissions/remove_group use RemoveGroupWsRequest 2015-11-17 13:41:01 +01:00
Teryk Bellahsene
326133c4a0 SONAR-6947 api/permissions/delete_template use DeleteTemplateWsRequest 2015-11-17 13:41:01 +01:00
Teryk Bellahsene
f4d255703d SONAR-6947 Create and use CreateTemplateWsRequest 2015-11-17 13:41:00 +01:00
Teryk Bellahsene
31f6f53074 SONAR-6947 Create and use ApplyTemplateWsRequest 2015-11-17 13:41:00 +01:00
Teryk Bellahsene
50f694232d SONAR-6947 Create AddUserToTemplateWsRequest and use it 2015-11-17 13:41:00 +01:00
Teryk Bellahsene
3c3d60d4e5 SONAR-6947 Improve XXXWsRequest contracts 2015-11-17 13:40:59 +01:00
Teryk Bellahsene
614a649687 SONAR-6947 Create and use AddUserWsRequest 2015-11-17 13:40:59 +01:00
Teryk Bellahsene
a5426fe36e SONAR-6947 PermissionsWsParameters in sonar-ws 2015-11-17 13:40:59 +01:00
Teryk Bellahsene
7f4ae2a63f SONAR-6947 Create and use AddGroupToTemplateWsRequest 2015-11-17 13:40:59 +01:00
Teryk Bellahsene
e0d34a5e31 SONAR-6947 Add and use AddGroupWsRequest 2015-11-17 13:40:58 +01:00
Teryk Bellahsene
1a0fdb1c93 SONAR-6947 api/permissions/groups use GroupsWsRequest 2015-11-17 13:40:18 +01:00
Teryk Bellahsene
a3aa1505a1 SONAR-6947 New WsClient 2015-11-17 13:40:18 +01:00
Teryk Bellahsene
e754b60234 SONAR-6947 Move and rename MimeTypes to sonar-ws package 2015-11-17 12:00:22 +01:00
Teryk Bellahsene
5b20e68798 Remove manually generated protobuf file WsTests.java 2015-11-05 10:15:18 +01:00
Evgeny Mandrikov
d7d20c58c7 Execute Protocol Buffer compiler during build
Dependency for compiler selected based on platform. Supported platforms
are Windows/Linux x86/64 and Mac OS. Configuration in root POM to avoid
duplication.

This also makes version of compiler consistent with version of library.
Previously it was 3.0.0-a3 and 3.0.0-beta-1 respectively, now both are
3.0.0-beta-1. And removes all existing auto generated files and scripts
for their creation as well as their traces (such as comments and
exclusions for SonarQube).
2015-10-29 16:12:28 +01:00
Stas Vilchik
c37f61652a Merge remote-tracking branch 'origin/branch-5.2' 2015-10-22 10:18:58 +02:00
Simon Brandhof
24c4856b33 SONAR-6416 add field "id" to response of api/tests/covered_files
Refactoring: use protobuf to generate response
2015-10-21 14:07:34 +02:00
Simon Brandhof
64857ae7f4 SONAR-6416 apply naming conventions to response of api/tests/list 2015-10-21 14:07:34 +02:00
Thomas Vérin
5945ad454b [maven-release-plugin] prepare for next development iteration 2015-10-20 15:47:34 +02:00
Thomas Vérin
ef358b0023 [maven-release-plugin] prepare release 5.2-RC3 2015-10-20 15:47:33 +02:00
Teryk Bellahsene
5600171592 Clean http dependencies in sonar-ws pom.xml 2015-10-15 14:22:25 +02:00
Teryk Bellahsene
62dd54d41a Fix quality flaws 2015-10-15 09:44:03 +02:00
Teryk Bellahsene
fce2babd26 Create new WsClient to request WS 2015-10-14 17:29:26 +02:00
Thomas Vérin
5454b43be7 Upgrade version to 5.3-SNAPSHOT 2015-10-13 13:54:26 +02:00
Thomas Vérin
bc488dae24 [maven-release-plugin] prepare for next development iteration 2015-10-13 12:06:23 +02:00
Thomas Vérin
3d2b3bbd08 [maven-release-plugin] prepare release 5.2-RC2 2015-10-13 12:06:23 +02:00
Thomas Vérin
448f166e5f [maven-release-plugin] prepare for next development iteration 2015-10-12 17:58:42 +02:00
Thomas Vérin
d5dd7720eb [maven-release-plugin] prepare release 5.2-RC1 2015-10-12 17:58:42 +02:00
Simon Brandhof
e2517f4266 Replace groupIds org.codehaus by org.sonarsource 2015-10-09 16:41:29 +02:00
Simon Brandhof
102cf59cf5 SONAR-6834 add qualifier to tasks of WS api/ce responses 2015-10-05 10:11:50 +02:00
Teryk Bellahsene
c9eccbdea6 SONAR-6857 WS components/search search for components 2015-10-02 09:23:02 +02:00
Teryk Bellahsene
a23a7ec4f4 Revert "SONAR-6864 Rename WS batch/* to scanner/*"
This reverts commit a515be7cbe641e21805d9fa945bf13afc66c810c.
2015-09-30 16:28:08 +02:00
Teryk Bellahsene
df84203cdf Fix typo in ws-scanner.proto 2015-09-30 16:27:12 +02:00
Teryk Bellahsene
8587775dbe SONAR-6864 Rename WS batch/* to scanner/* 2015-09-30 16:27:12 +02:00
Teryk Bellahsene
5af4d8ed1f SONAR-6823 WS batch/project with protobuf and new behaviors 2015-09-30 16:27:12 +02:00
Simon Brandhof
a4d652253d SONAR-6834 Rename column CE_ACTIVITY.FINISHED_AT to EXECUTED_AT 2015-09-30 13:05:46 +02:00
Teryk Bellahsene
2634b3b9ed SONAR-6854 WS permissions/template_groups search for groups in a specific permission template for a given permission 2015-09-28 16:35:02 +02:00
Teryk Bellahsene
b69446d9a9 SONAR-6853 WS permissions/template_users list users of one template and permission 2015-09-28 16:35:01 +02:00
Simon Brandhof
7ed36fc7a3 SONAR-6799 SONAR-6232 compute engine logs
- add WS api/ce/logs
- add boolean field 'logs' to the responses of the WS that return tasks
- purge log files (max nb of files per project can be configured)
2015-09-27 12:29:27 +02:00
Simon Brandhof
6827d4ca07 SONAR-5770 add WS api/ce/project 2015-09-22 17:12:52 +02:00
Simon Brandhof
6e713f166b SONAR-6834 New WS GET api/ce/queue 2015-09-18 23:48:48 +02:00
Simon Brandhof
024672b883 Replace table ANALYSIS_REPORTS by CE_QUEUE and CE_ACTIVITY 2015-09-18 23:48:48 +02:00
Teryk Bellahsene
e7b45f77f1 SONAR-6822 WS rules/search from json to protobuf 2015-09-17 11:36:12 +02:00
Simon Brandhof
0eb9c54172 Add missing file 2015-09-17 11:36:11 +02:00
Simon Brandhof
15005289f5 Improve protobuf to json converter
- replace bool field *PresentIfEmpty by a wrapper of repeated fields
- support arrays/maps in map values
2015-09-17 11:36:10 +02:00
Teryk Bellahsene
aaf2651b94 SONAR-6821 WS qualityprofiles/search use protocol buffers to build response 2015-09-17 09:30:51 +02:00
Simon Brandhof
5381dd3a8d Exclude generated protobuf codebase from analysis 2015-09-11 11:44:21 +02:00
Simon Brandhof
33a216e207 Upgrade protobuf lib to 3.0.0-beta-1 2015-09-11 11:44:21 +02:00
Simon Brandhof
d000d02bf5 SONAR-6052 Drop secondary locations from db/ws 2015-09-10 16:24:35 +02:00
Teryk Bellahsene
a973701504 SONAR-6495 WS permissions/search_templates add default templates 2015-09-04 16:16:54 +02:00
Teryk Bellahsene
2a44995355 Prefix web service protobuf messages with 'Ws' 2015-09-04 16:16:16 +02:00
Teryk Bellahsene
e1aade556d SONAR-6495 WS permissions/search_templates search for permission templates 2015-09-04 16:10:57 +02:00
Teryk Bellahsene
4d08ae84be SONAR-6496 SONAR-6497 Rename template key by template id and projectPattern by projectKeyPattern 2015-08-27 16:52:33 +02:00
Teryk Bellahsene
a6fc7f9884 SONAR-6485 WS permissions/search_project_permissions replace uuid by id in response 2015-08-27 16:52:32 +02:00
Teryk Bellahsene
4c32331288 Paging as first element in WS responses of the permission domain 2015-08-27 16:52:32 +02:00
Teryk Bellahsene
534f06f131 SONAR-6497 WS permissions/update/template update a permission template 2015-08-27 09:50:00 +02:00
Teryk Bellahsene
61050e0245 SONAR-6496 WS permissions/create_template create a permission template 2015-08-27 09:45:49 +02:00
Teryk Bellahsene
bd80840c36 SONAR-6479 WS permissions/users display email in response 2015-08-24 14:38:21 +02:00
Teryk Bellahsene
64ac081cdf SONAR-6485 WS permissions/search_project_permissions search for project permissions 2015-08-19 14:17:59 +02:00
Teryk Bellahsene
c644a4df6c SONAR-6478 WS permissions/search_global_permissions search for global permissions 2015-08-10 09:16:08 +02:00
Teryk Bellahsene
966ceab832 SONAR-6482 WS permissions/groups list permission's groups 2015-08-06 12:16:40 +02:00
Teryk Bellahsene
b4e4af1373 SONAR-6479 WS permissions/users search users with a specific permission 2015-08-06 09:05:46 +02:00
Simon Brandhof
e518e7cde4 Do not allow componentId nor msg on primary location 2015-08-05 19:32:14 +02:00
Simon Brandhof
12324c45ba Store issues locations in DB and return in WS 2015-08-05 19:32:13 +02:00
Simon Brandhof
0c439af3ef Improve compatibility of api/issues/search2 2015-08-05 19:32:12 +02:00
Simon Brandhof
31b625fdf1 Improve response of POST api/issues/assign
Return the same format as for api/issues/search, except that:
- field "issues" is replaced by "issue"
- of course there are no facets nor paging
- field "languages" is not present (that should be dropped from api/issues/search too)
2015-08-05 19:32:12 +02:00
Simon Brandhof
a3c98b7bf6 Draft of WS api/issues/search2
- protobuf specification of response
- do not rely on ES docs to return data (will allow to remove _source
   from ES index)
- sanitize response format
- sanitize request parameters (no more 'hideXXX' and 'f')
2015-08-05 19:32:10 +02:00
Simon Brandhof
ca7396b9e6 Add name to api/rules/list 2015-07-30 15:58:16 +02:00
Duarte Meneses
68f92a7ff9 SONAR-6750 Support new SQ Runner API for retrieving issues 2015-07-30 13:18:19 +02:00
Simon Brandhof
8f5b86c9ec Move protobuf specs of WS into new module sonar-ws 2015-07-30 11:43:17 +02:00