From b9b56985aee9afec82150e80f7cefe3be03bce72 Mon Sep 17 00:00:00 2001 From: Pierre Date: Wed, 14 Jun 2023 10:39:52 +0200 Subject: [PATCH] SONAR-19346-undeprecate-ce-task --- .../src/main/java/org/sonar/server/ce/ws/TaskAction.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/ce/ws/TaskAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/ce/ws/TaskAction.java index f8b87d5e22f..a6e20362242 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/ce/ws/TaskAction.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/ce/ws/TaskAction.java @@ -68,18 +68,15 @@ public class TaskAction implements CeWsAction { @Override public void define(WebService.NewController controller) { WebService.NewAction action = controller.createAction(ACTION) - .setDescription("The endpoint is now deprecated; `/api/ce/activity` should be used instead.

" - + "Give Compute Engine task details such as type, status, duration and associated component.
" + + .setDescription("Give Compute Engine task details such as type, status, duration and associated component.
" + "Requires 'Administer System' or 'Execute Analysis' permission.
" + "Since 6.1, field \"logs\" is deprecated and its value is always false.") .setResponseExample(getClass().getResource("task-example.json")) .setSince("5.2") - .setDeprecatedSince("10.1") .setChangelog( new Change("6.6", "fields \"branch\" and \"branchType\" added"), new Change("10.1", "Warnings field will be now always be filled (it is not necessary to mention it explicitly in 'additionalFields'). " - + "'additionalFields' value `warning' is deprecated."), - new Change("10.1", "The endpoint is now deprecated; `/api/ce/activity` should be used instead.") + + "'additionalFields' value `warning' is deprecated.") ) .setHandler(this); -- 2.39.5