From: Pierre Date: Thu, 26 Mar 2020 13:22:15 +0000 (+0100) Subject: SONAR-13248 deprecate metric id X-Git-Tag: 8.4.0.35506~202 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aa0c09c78fbee6743c36273d01bd2f28a6c54c17;p=sonarqube.git SONAR-13248 deprecate metric id --- diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/metric/ws/SearchAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/metric/ws/SearchAction.java index f55f9dc7337..c47c36bcf85 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/metric/ws/SearchAction.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/metric/ws/SearchAction.java @@ -64,6 +64,7 @@ public class SearchAction implements MetricsWsAction { .addPagingParams(100, MAX_LIMIT) .setChangelog(new Change("7.7", "The response field 'custom' is deprecated")) + .setChangelog(new Change("8.3", "The response field 'id' is deprecated")) .setHandler(this); action.createFieldsParam(MetricJsonWriter.OPTIONAL_FIELDS)